From db38b59fa0194e4b701793ee50d28a9ee319d20c Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Wed, 21 Feb 2024 11:05:22 -0800 Subject: 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 --- BUILD.bazel | 17 ----------------- 1 file changed, 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": [], }), ) -- cgit v1.1