Index: chrome_elf/BUILD.gn |
diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn |
index 3de5fb3e83b1697adbb900f5bf83f7cecbad59a4..d389a809cefd7df9d0fa09abb09b2171e769b39e 100644 |
--- a/chrome_elf/BUILD.gn |
+++ b/chrome_elf/BUILD.gn |
@@ -223,6 +223,7 @@ test("chrome_elf_unittests") { |
} |
shared_library("blacklist_test_main_dll") { |
+ testonly = true |
sources = [ |
"blacklist/test/blacklist_test_main_dll.cc", |
"blacklist/test/blacklist_test_main_dll.def", |
@@ -237,6 +238,7 @@ shared_library("blacklist_test_main_dll") { |
} |
loadable_module("blacklist_test_dll_1") { |
+ testonly = true |
sources = [ |
"blacklist/test/blacklist_test_dll_1.cc", |
"blacklist/test/blacklist_test_dll_1.def", |
@@ -247,6 +249,7 @@ loadable_module("blacklist_test_dll_1") { |
} |
loadable_module("blacklist_test_dll_2") { |
+ testonly = true |
sources = [ |
"blacklist/test/blacklist_test_dll_2.cc", |
"blacklist/test/blacklist_test_dll_2.def", |
@@ -262,6 +265,7 @@ loadable_module("blacklist_test_dll_2") { |
# which does), Ninja would get confused and always rebuild this target because |
# it sees a declared output file but that file doesn't exist on disk. |
loadable_module("blacklist_test_dll_3") { |
+ testonly = true |
sources = [ |
"blacklist/test/blacklist_test_dll_3.cc", |
] |
@@ -271,6 +275,7 @@ loadable_module("blacklist_test_dll_3") { |
} |
shared_library("hook_util_test_dll") { |
+ testonly = true |
sources = [ |
"hook_util/test/hook_util_test_dll.cc", |
"hook_util/test/hook_util_test_dll.h", |