|
2 | 2 | # To use Bzlmod, you need to specify --enable_bzlmod to the Bazel command or modify .bazelrc.
|
3 | 3 | module(name = "mozc")
|
4 | 4 |
|
5 |
| -# absl-cpp: 2025-02-04 |
6 |
| -# https://github.com/abseil/abseil-cpp |
| 5 | +# abseil-cpp with patches for Bazel 8.0.0 is used instead of the local Abseil in third_party/. |
| 6 | +# Otherwise, `bazel fetch` will fail with the error: "cc_configure_extension no longer available". |
| 7 | +# References |
| 8 | +# * https://github.com/bazelbuild/bazel/issues/24426 |
| 9 | +# * https://github.com/bazelbuild/bazel-central-registry/pull/3320 |
| 10 | +# Also we cannot switch to 20250127.0 until the protobuf team fixes the following issue. |
| 11 | +# * https://github.com/protocolbuffers/protobuf/issues/20331 |
7 | 12 | bazel_dep(
|
8 | 13 | name = "abseil-cpp",
|
9 |
| - version = "20250127.0", |
| 14 | + version = "20240722.0.bcr.2", |
| 15 | + # TODO: Remove this max_compatibility_level when the above protobuf issue is addressed. |
| 16 | + max_compatibility_level = 1, |
10 | 17 | repo_name = "com_google_absl",
|
11 | 18 | )
|
12 | 19 |
|
13 |
| -# protobuf: 30.0-rc1 2025-02-05 |
| 20 | +# This is also workaround for the above issue bazel/issues/24426. |
| 21 | +# This bazel_dep should be removed after the issue is fixed. |
| 22 | +bazel_dep( |
| 23 | + name = "re2", |
| 24 | + version = "2024-07-02.bcr.1", |
| 25 | +) |
| 26 | + |
| 27 | +# protobuf: 29.3 2025-01-09 |
14 | 28 | # https://github.com/protocolbuffers/protobuf
|
15 |
| -# Use 30.0-rc1 since 29.x is not buildable with Abseil 20250127.0. |
| 29 | +# We cannot switch to 30.x until the protobuf team fixes the following issue. |
| 30 | +# * https://github.com/protocolbuffers/protobuf/issues/20331 |
16 | 31 | bazel_dep(
|
17 | 32 | name = "protobuf",
|
18 |
| - version = "30.0-rc1", |
| 33 | + version = "29.3", |
19 | 34 | repo_name = "com_google_protobuf",
|
20 | 35 | )
|
21 | 36 |
|
22 |
| -# googletest: 1.16.0 2025-02-08 |
| 37 | +# googletest: 1.15.2 2024-07-31 |
23 | 38 | # https://github.com/google/googletest
|
| 39 | +# We cannot switch to 1.16.0 until the protobuf team fixes the following issue. |
| 40 | +# * https://github.com/protocolbuffers/protobuf/issues/20331 |
24 | 41 | bazel_dep(
|
25 | 42 | name = "googletest",
|
26 |
| - version = "1.16.0", |
| 43 | + version = "1.15.2", |
27 | 44 | repo_name = "com_google_googletest",
|
28 | 45 | )
|
29 | 46 |
|
|
0 commit comments