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

Unified Diff: breakpad/BUILD.gn

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « base/test/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: breakpad/BUILD.gn
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn
index cf665176ec3f6d7d56e903d6576db9aafedeec40..035ed5bed699ec2c4ca11afa878ad27c13910040 100644
--- a/breakpad/BUILD.gn
+++ b/breakpad/BUILD.gn
@@ -138,6 +138,7 @@ if (current_toolchain == host_toolchain && !is_win) {
deps = [
":stackwalk_common",
+ "//build/config/sanitizers:deps",
]
defines = [ "BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR" ]
@@ -157,6 +158,7 @@ if (current_toolchain == host_toolchain && !is_win) {
deps = [
":stackwalk_common",
+ "//build/config/sanitizers:deps",
]
defines = [ "BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR" ]
@@ -198,6 +200,10 @@ if (current_toolchain == host_toolchain && !is_win) {
# There are some warnings in this code.
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
}
@@ -259,6 +265,10 @@ if (current_toolchain == host_toolchain && is_mac) {
configs -= [ "//build/config/compiler:optimize" ]
cflags += [ "-O0" ]
}
+
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
executable("symupload") {
@@ -273,6 +283,10 @@ if (current_toolchain == host_toolchain && is_mac) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
}
@@ -326,6 +340,7 @@ if (is_mac) {
deps = [
":utilities",
+ "//build/config/sanitizers:deps",
]
}
@@ -383,6 +398,10 @@ if (is_linux) {
configs += [ ":tools_config" ]
libs = [ "dl" ]
+
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
}
@@ -443,6 +462,10 @@ if (is_linux || is_android) {
defines = [ "HAVE_A_OUT_H" ]
include_dirs = [ "src" ]
+
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
}
@@ -628,6 +651,7 @@ if (is_linux) {
]
deps = [
":processor_support",
+ "//build/config/sanitizers:deps",
]
include_dirs = [ "src" ]
@@ -649,6 +673,7 @@ if (is_linux) {
deps = [
":client",
+ "//build/config/sanitizers:deps",
]
include_dirs = [ "src" ]
@@ -668,6 +693,7 @@ if (is_linux) {
deps = [
":client",
+ "//build/config/sanitizers:deps",
]
}
@@ -678,6 +704,7 @@ if (is_linux) {
deps = [
":client",
+ "//build/config/sanitizers:deps",
]
include_dirs = [ "src" ]
« no previous file with comments | « base/test/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698