Index: chrome_elf/BUILD.gn |
diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn |
index 8d859f0fbb775332a935692f3e207544313dc8c7..a3ba1b4269f0da8b68f9819fd6f990c135427952 100644 |
--- a/chrome_elf/BUILD.gn |
+++ b/chrome_elf/BUILD.gn |
@@ -148,6 +148,7 @@ test("chrome_elf_unittests") { |
"blacklist/test/blacklist_test.cc", |
"chrome_elf_util_unittest.cc", |
"elf_imports_unittest.cc", |
+ "run_all_unittests.cc", |
] |
include_dirs = [ "$target_gen_dir" ] |
deps = [ |
@@ -155,7 +156,6 @@ test("chrome_elf_unittests") { |
":blacklist_test_main_dll", |
":common", |
"//base", |
- "//base/test:run_all_unittests", |
"//base/test:test_support", |
"//chrome", |
"//chrome/common:version_header", |
@@ -177,6 +177,18 @@ test("chrome_elf_unittests") { |
":blacklist_test_dll_3", |
":chrome_elf", |
] |
+ ldflags = [ |
+ "/DELAYLOAD:dbghelp.dll", |
+ "/DELAYLOAD:ole32.dll", |
+ "/DELAYLOAD:psapi.dll", |
+ "/DELAYLOAD:rpcrt4.dll", |
+ "/DELAYLOAD:shell32.dll", |
+ "/DELAYLOAD:shlwapi.dll", |
+ "/DELAYLOAD:user32.dll", |
+ "/DELAYLOAD:winhttp.dll", |
+ "/DELAYLOAD:winmm.dll", |
+ "/DELAYLOAD:ws2_32.dll", |
+ ] |
} |
shared_library("blacklist_test_main_dll") { |