diff options
author | Derek Mauro <dmauro@google.com> | 2024-02-21 19:05:22 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-02-21 19:06:13 (GMT) |
commit | db38b59fa0194e4b701793ee50d28a9ee319d20c (patch) | |
tree | c1768895d8ff8dc50f19b4d9ad58141d038f8064 | |
parent | 5df0241ea4880e5a846775d3efc8b873f7b36c31 (diff) | |
download | googletest-db38b59fa0194e4b701793ee50d28a9ee319d20c.zip googletest-db38b59fa0194e4b701793ee50d28a9ee319d20c.tar.gz googletest-db38b59fa0194e4b701793ee50d28a9ee319d20c.tar.bz2 |
Rollback https://github.com/google/googletest/commit/9756ee7cbaef1b6652065616ab832810a6032bbf
The commit breaks some bazel commands without @fuchsia_sdk being listed as a dependency.
Fixes #4472
PiperOrigin-RevId: 609057667
Change-Id: I32ea8237862d7c10add55304ecc4547a7304ce36
-rw-r--r-- | BUILD.bazel | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index e407ae2..b1e3b7f 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -56,12 +56,6 @@ config_setting( constraint_values = ["@platforms//os:openbsd"], ) -# NOTE: Fuchsia is not an officially supported platform. -config_setting( - name = "fuchsia", - constraint_values = ["@platforms//os:fuchsia"], -) - config_setting( name = "msvc_compiler", flag_values = { @@ -153,17 +147,6 @@ cc_library( "@com_googlesource_code_re2//:re2", ], "//conditions:default": [], - }) + select({ - # `gtest-death-test.cc` has `EXPECT_DEATH` that spawns a process, - # expects it to crash and inspects its logs with the given matcher, - # so that's why these libraries are needed. - # Otherwise, builds targeting Fuchsia would fail to compile. - ":fuchsia": [ - "@fuchsia_sdk//pkg/fdio", - "@fuchsia_sdk//pkg/syslog", - "@fuchsia_sdk//pkg/zx", - ], - "//conditions:default": [], }), ) |