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 = "2024-04-01", 10 compatibility_level = 1, 11) 12 13bazel_dep(name = "platforms", version = "0.0.9") 14bazel_dep(name = "apple_support", version = "1.15.1") 15bazel_dep(name = "rules_cc", version = "0.0.9") 16bazel_dep(name = "abseil-cpp", version = "20240116.2") 17bazel_dep(name = "rules_python", version = "0.31.0") 18bazel_dep(name = "pybind11_bazel", version = "2.12.0") 19 20# This is a temporary hack for `x64_x86_windows`. 21# TODO(junyer): Remove whenever no longer needed. 22cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension") 23use_repo(cc_configure, "local_config_cc") 24 25# These dependencies will be ignored when the `re2` module is not 26# the root module (or when `--ignore_dev_dependency` is enabled). 27bazel_dep(name = "google_benchmark", version = "1.8.3", dev_dependency = True) 28bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True) 29bazel_dep(name = "abseil-py", version = "1.4.0", dev_dependency = True) 30