diff options
author | jam <jam@chromium.org> | 2015-05-05 13:39:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-05 20:40:33 +0000 |
commit | 7080a81857e6a5be8eed11942ead222e98e5b34f (patch) | |
tree | ac9f831459fdd8ebe78c2453044756b71c5c83cb /third_party | |
parent | 79d43d320b702dfa457741d5321774dd0a22e2b9 (diff) | |
download | chromium_src-7080a81857e6a5be8eed11942ead222e98e5b34f.zip chromium_src-7080a81857e6a5be8eed11942ead222e98e5b34f.tar.gz chromium_src-7080a81857e6a5be8eed11942ead222e98e5b34f.tar.bz2 |
Fix ASAN build in GN.
Also add missing dependency in mandoline.
Review URL: https://codereview.chromium.org/1126703005
Cr-Commit-Position: refs/heads/master@{#328396}
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/yasm/BUILD.gn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn index 9ed8e46..f911767 100644 --- a/third_party/yasm/BUILD.gn +++ b/third_party/yasm/BUILD.gn @@ -55,6 +55,9 @@ if (current_toolchain == host_toolchain) { ":yasm_config", "//build/config/compiler:no_chromium_code", ] + deps = [ + "//build/config/sanitizers:deps", + ] } executable("genmodule") { @@ -66,6 +69,9 @@ if (current_toolchain == host_toolchain) { ":yasm_config", "//build/config/compiler:no_chromium_code", ] + deps = [ + "//build/config/sanitizers:deps", + ] } executable("genperf") { @@ -82,6 +88,7 @@ if (current_toolchain == host_toolchain) { deps = [ ":yasm_utils", + "//build/config/sanitizers:deps", ] } @@ -109,6 +116,9 @@ if (current_toolchain == host_toolchain) { ":yasm_config", "//build/config/compiler:no_chromium_code", ] + deps = [ + "//build/config/sanitizers:deps", + ] } executable("genversion") { @@ -120,6 +130,9 @@ if (current_toolchain == host_toolchain) { ":yasm_config", "//build/config/compiler:no_chromium_code", ] + deps = [ + "//build/config/sanitizers:deps", + ] } executable("re2c") { @@ -145,6 +158,9 @@ if (current_toolchain == host_toolchain) { if (is_posix) { cflags = [ "-Wno-switch" ] } + deps = [ + "//build/config/sanitizers:deps", + ] } executable("yasm") { @@ -267,6 +283,7 @@ if (current_toolchain == host_toolchain) { ":generate_module", ":generate_version", ":yasm_utils", + "//build/config/sanitizers:deps", ] } |