Reland 9756ee7cba
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
This commit is contained in:
committed by
Copybara-Service
parent
814ba36338
commit
3b6d48e8d5
@@ -1,6 +1,7 @@
|
||||
"""Load dependencies needed to use the googletest library as a 3rd-party consumer."""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
load("//:fake_fuchsia_sdk.bzl", "fake_fuchsia_sdk")
|
||||
|
||||
def googletest_deps():
|
||||
"""Loads common dependencies needed to use the googletest library."""
|
||||
@@ -20,3 +21,8 @@ def googletest_deps():
|
||||
strip_prefix = "abseil-cpp-20240116.0",
|
||||
urls = ["https://github.com/abseil/abseil-cpp/releases/download/20240116.0/abseil-cpp-20240116.0.tar.gz"],
|
||||
)
|
||||
|
||||
if not native.existing_rule("fuchsia_sdk"):
|
||||
fake_fuchsia_sdk(
|
||||
name = "fuchsia_sdk",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user