Rollback 9756ee7cba
The commit breaks some bazel commands without @fuchsia_sdk being listed as a dependency. Fixes #4472 PiperOrigin-RevId: 609057667 Change-Id: I32ea8237862d7c10add55304ecc4547a7304ce36
This commit is contained in:
parent
5df0241ea4
commit
db38b59fa0
17
BUILD.bazel
17
BUILD.bazel
@ -56,12 +56,6 @@ config_setting(
|
|||||||
constraint_values = ["@platforms//os:openbsd"],
|
constraint_values = ["@platforms//os:openbsd"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# NOTE: Fuchsia is not an officially supported platform.
|
|
||||||
config_setting(
|
|
||||||
name = "fuchsia",
|
|
||||||
constraint_values = ["@platforms//os:fuchsia"],
|
|
||||||
)
|
|
||||||
|
|
||||||
config_setting(
|
config_setting(
|
||||||
name = "msvc_compiler",
|
name = "msvc_compiler",
|
||||||
flag_values = {
|
flag_values = {
|
||||||
@ -153,17 +147,6 @@ cc_library(
|
|||||||
"@com_googlesource_code_re2//:re2",
|
"@com_googlesource_code_re2//:re2",
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//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": [],
|
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user