[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:
parent
f5d6ace664
commit
1c218f406a
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user