Skip to content

Commit

Permalink
Rollback 9756ee7
Browse files Browse the repository at this point in the history
The commit breaks some bazel commands without @fuchsia_sdk being listed as a dependency.

Fixes #4472

PiperOrigin-RevId: 609057667
Change-Id: I32ea8237862d7c10add55304ecc4547a7304ce36
  • Loading branch information
derekmauro authored and copybara-github committed Feb 21, 2024
1 parent 5df0241 commit db38b59
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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": [],
}),
)

Expand Down

0 comments on commit db38b59

Please sign in to comment.