mirror of
https://github.com/google/googletest.git
synced 2025-11-08 14:23:46 -05:00
Add rules_cc dependency, required by Bazel going forward
This also adds the dependencies of rules_cc to WORKSPACE. bzlmod automatically pulls in dependencies. skylib is removed as it is pulled in by a deps function. PiperOrigin-RevId: 808659470 Change-Id: Idc41cad7b05019793d4a1898bdb80bc4797da5cf
This commit is contained in:
committed by
Copybara-Service
parent
0934b7e112
commit
50b8600c63
@@ -22,6 +22,22 @@ def googletest_deps():
|
||||
urls = ["https://github.com/abseil/abseil-cpp/releases/download/20250814.0/abseil-cpp-20250814.0.tar.gz"],
|
||||
)
|
||||
|
||||
if not native.existing_rule("bazel_features"):
|
||||
http_archive(
|
||||
name = "bazel_features",
|
||||
sha256 = "9390b391a68d3b24aef7966bce8556d28003fe3f022a5008efc7807e8acaaf1a",
|
||||
strip_prefix = "bazel_features-1.36.0",
|
||||
url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.36.0/bazel_features-v1.36.0.tar.gz",
|
||||
)
|
||||
|
||||
if not native.existing_rule("rules_cc"):
|
||||
http_archive(
|
||||
name = "rules_cc",
|
||||
sha256 = "207ea073dd20a705f9e8bc5ac02f5203e9621fc672774bb1a0935aefab7aebfa",
|
||||
strip_prefix = "rules_cc-0.2.8",
|
||||
url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.8/rules_cc-0.2.8.tar.gz",
|
||||
)
|
||||
|
||||
if not native.existing_rule("fuchsia_sdk"):
|
||||
fake_fuchsia_sdk(
|
||||
name = "fuchsia_sdk",
|
||||
|
||||
Reference in New Issue
Block a user