[bazel] Rename config selects

No-Try: true
Change-Id: I1c7c5a05d89605d62973cadeb3b70e56752a27de
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3281930
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77923}
This commit is contained in:
Victor Gomes 2021-11-15 16:35:18 +01:00 committed by V8 LUCI CQ
parent f5d6ace664
commit 1c218f406a

View File

@ -89,7 +89,7 @@ def _default_args():
return struct(
deps = [":define_flags"],
defines = select({
"@v8//bazel/config:is_windows": [
"@config//:is_windows": [
"UNICODE",
"_UNICODE",
"_CRT_RAND_S",
@ -98,7 +98,7 @@ def _default_args():
"//conditions:default": [],
}),
copts = select({
"@v8//bazel/config:is_posix": [
"@config//:is_posix": [
"-fPIC",
"-Werror",
"-Wextra",
@ -115,12 +115,12 @@ def _default_args():
}),
includes = ["include"],
linkopts = select({
"@v8//bazel/config:is_windows": [
"@config//:is_windows": [
"Winmm.lib",
"DbgHelp.lib",
"Advapi32.lib",
],
"@v8//bazel/config:is_macos": ["-pthread"],
"@config//:is_macos": ["-pthread"],
"//conditions:default": ["-Wl,--no-as-needed -ldl -pthread"],
}) + select({
":should_add_rdynamic": ["-rdynamic"],