Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/yasm/BUILD.gn

Issue 1126703005: Fix ASAN build in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mandoline/ui/aura/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/yasm/BUILD.gn
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
index 9ed8e46d68ac25db90008e716bc9efb1a24039b2..f9117670026ddf443d12bd43021c3e25e08b2fba 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",
]
}
« no previous file with comments | « mandoline/ui/aura/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698