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

Unified Diff: chrome_elf/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 | « chrome/tools/service_discovery_sniffer/BUILD.gn ('k') | chromecast/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/BUILD.gn
diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn
index 2a15a554843878d88fbb8ed7a26ab58d617e9ba8..64f5b7b32f3fc4bca74c5836e04223c14e6e355a 100644
--- a/chrome_elf/BUILD.gn
+++ b/chrome_elf/BUILD.gn
@@ -33,6 +33,7 @@ shared_library("chrome_elf") {
":chrome_elf_manifest",
":lib",
":chrome_elf_resources",
+ "//build/config/sanitizers:deps",
]
configs += [ "//build/config/win:windowed" ]
configs -= [ "//build/config/win:console" ]
@@ -100,6 +101,7 @@ if (is_component_build) {
]
deps = [
":lib",
+ "//build/config/sanitizers:deps",
]
configs += [ "//build/config/win:windowed" ]
ldflags = [ "/DEF:" + rebase_path("chrome_redirects.def") ]
@@ -122,12 +124,13 @@ source_set("dll_hash") {
}
executable("dll_hash_main") {
- deps = [
- ":dll_hash",
- ]
sources = [
"dll_hash/dll_hash_main.cc",
]
+ deps = [
+ ":dll_hash",
+ "//build/config/sanitizers:deps",
+ ]
}
static_library("blacklist") {
@@ -182,8 +185,9 @@ shared_library("blacklist_test_main_dll") {
"blacklist/test/blacklist_test_main_dll.cc",
]
deps = [
- "//base",
":blacklist",
+ "//base",
+ "//build/config/sanitizers:deps",
]
ldflags =
[ "/DEF:" + rebase_path("blacklist/test/blacklist_test_main_dll.def",
@@ -196,6 +200,9 @@ shared_library("blacklist_test_dll_1") {
]
ldflags = [ "/DEF:" + rebase_path("blacklist/test/blacklist_test_dll_1.def",
root_build_dir) ]
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
shared_library("blacklist_test_dll_2") {
@@ -204,10 +211,16 @@ shared_library("blacklist_test_dll_2") {
]
ldflags = [ "/DEF:" + rebase_path("blacklist/test/blacklist_test_dll_2.def",
root_build_dir) ]
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
shared_library("blacklist_test_dll_3") {
sources = [
"blacklist/test/blacklist_test_dll_3.cc",
]
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
}
« no previous file with comments | « chrome/tools/service_discovery_sniffer/BUILD.gn ('k') | chromecast/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698