• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2009 The RE2 Authors.  All Rights Reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4
5# Bazel (http://bazel.build/) MODULE file for RE2.
6
7module(
8    name = "re2",
9    version = "2023-11-01",
10    compatibility_level = 1,
11)
12
13bazel_dep(name = "platforms", version = "0.0.8")
14bazel_dep(name = "rules_cc", version = "0.0.9")
15bazel_dep(name = "abseil-cpp", version = "20230802.0", repo_name = "com_google_absl")
16bazel_dep(name = "rules_python", version = "0.26.0")
17bazel_dep(name = "pybind11_bazel", version = "2.11.1")
18
19python_configure = use_extension("@pybind11_bazel//:python_configure.bzl", "extension")
20python_configure.toolchain(python_version = "3")  # ignored when non-root module
21use_repo(python_configure, "local_config_python", "pybind11")
22
23# These dependencies will be ignored when the `re2` module is not
24# the root module (or when `--ignore_dev_dependency` is enabled).
25bazel_dep(name = "google_benchmark", version = "1.8.3", dev_dependency = True)
26bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True)
27bazel_dep(name = "abseil-py", version = "1.4.0", dev_dependency = True)
28