Files
third_party_re2/MODULE.bazel
T
wang_jun_long 0eb1e27575 upgrade: re2 to 2025-08-12 release
- Replace core source files with upstream 2025-08-12 release
- Remove abseil-cpp dependencies (uses std::optional instead of absl::optional)
- Replace ABSL_FALLTHROUGH_INTENDED with C++17 [[fallthrough]]
- Add NULL pattern handling in re2.cc

关联 Issue: #26
Co-Authored-By: Agent
Signed-off-by: 王俊龙 <wangjunlong8@h-partners.com>
2026-05-11 20:35:48 +08:00

30 lines
1.2 KiB
Python

# Copyright 2009 The RE2 Authors. All Rights Reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Bazel (http://bazel.build/) MODULE file for RE2.
module(
name = "re2",
version = "2025-08-12",
compatibility_level = 1,
)
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "apple_support", version = "1.22.1")
bazel_dep(name = "rules_cc", version = "0.1.4")
bazel_dep(name = "abseil-cpp", version = "20250512.1")
bazel_dep(name = "rules_python", version = "1.5.1")
bazel_dep(name = "pybind11_bazel", version = "2.13.6")
# This is a temporary hack for `x64_x86_windows`.
# TODO(junyer): Remove whenever no longer needed.
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension", dev_dependency = True)
use_repo(cc_configure, "local_config_cc")
# These dependencies will be ignored when the `re2` module is not
# the root module (or when `--ignore_dev_dependency` is enabled).
bazel_dep(name = "google_benchmark", version = "1.9.4", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.17.0", dev_dependency = True)
bazel_dep(name = "abseil-py", version = "2.1.0", dev_dependency = True)