summaryrefslogtreecommitdiffstats
path: root/MODULE.bazel
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2024-02-27 19:53:48 (GMT)
committerCopybara-Service <copybara-worker@google.com>2024-02-27 19:54:30 (GMT)
commit3b6d48e8d5c1d9b3f9f10ac030a94008bfaf032b (patch)
tree5a16f98160677e830ece5a144aae665d16e365aa /MODULE.bazel
parent814ba36338ae48b6066cd797a4fde84aaeacc4db (diff)
downloadgoogletest-3b6d48e8d5c1d9b3f9f10ac030a94008bfaf032b.zip
googletest-3b6d48e8d5c1d9b3f9f10ac030a94008bfaf032b.tar.gz
googletest-3b6d48e8d5c1d9b3f9f10ac030a94008bfaf032b.tar.bz2
Reland https://github.com/google/googletest/commit/9756ee7cbaef1b6652065616ab832810a6032bbf
Since Fuchsia engineers rarely work within this repo, initialize a lightweight fake @fuchsia_sdk repo rather than distributing the Fuchsia SDK here. Tested locally via `bazel query --[no]enable_bzlmod "deps(set(//googletest/test:gtest_all_test))"` (#4472) PiperOrigin-RevId: 610826859 Change-Id: I7d41b1dbe9e7f133fe535d7337dc5bff5bf97d3a
Diffstat (limited to 'MODULE.bazel')
-rw-r--r--MODULE.bazel4
1 files changed, 4 insertions, 0 deletions
diff --git a/MODULE.bazel b/MODULE.bazel
index d4ad2b3..b81ebf0 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -53,5 +53,9 @@ bazel_dep(name = "re2",
bazel_dep(name = "rules_python",
version = "0.29.0")
+
+fake_fuchsia_sdk = use_repo_rule("//:fake_fuchsia_sdk.bzl", "fake_fuchsia_sdk")
+fake_fuchsia_sdk(name = "fuchsia_sdk")
+
# https://github.com/bazelbuild/rules_python/blob/main/BZLMOD_SUPPORT.md#default-toolchain-is-not-the-local-system-python
register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain")