[build] disable asan on Windows for Torque
An asan bug on Windows breaks the chrome asan bot. This disables asan for the Torque build step as a workaround. Bug: chromium:893437 Change-Id: I4ccc25e7667abb3ea167c3e8af1210685ff06b9e Reviewed-on: https://chromium-review.googlesource.com/c/1273105 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#56523}
This commit is contained in:
parent
8dd93a267f
commit
b38d3f98ec
6
BUILD.gn
6
BUILD.gn
@ -3038,6 +3038,9 @@ v8_source_set("torque_base") {
|
||||
]
|
||||
|
||||
configs = [ ":internal_config" ]
|
||||
if (is_win && is_asan) {
|
||||
remove_configs = [ "//build/config/sanitizers:default_sanitizer_flags" ]
|
||||
}
|
||||
}
|
||||
|
||||
v8_component("v8_libbase") {
|
||||
@ -3384,6 +3387,9 @@ if (current_toolchain == v8_snapshot_toolchain) {
|
||||
]
|
||||
|
||||
configs = [ ":internal_config" ]
|
||||
if (is_win && is_asan) {
|
||||
remove_configs = [ "//build/config/sanitizers:default_sanitizer_flags" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
10
gni/v8.gni
10
gni/v8.gni
@ -143,7 +143,15 @@ template("v8_source_set") {
|
||||
}
|
||||
}
|
||||
target(link_target_type, target_name) {
|
||||
forward_variables_from(invoker, "*", [ "configs" ])
|
||||
forward_variables_from(invoker,
|
||||
"*",
|
||||
[
|
||||
"configs",
|
||||
"remove_configs",
|
||||
])
|
||||
if (defined(invoker.remove_configs)) {
|
||||
configs -= invoker.remove_configs
|
||||
}
|
||||
configs += invoker.configs
|
||||
configs -= v8_remove_configs
|
||||
configs += v8_add_configs
|
||||
|
Loading…
Reference in New Issue
Block a user