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

Unified Diff: chrome_elf/BUILD.gn

Issue 2078913005: Add a chrome_elf_unittest ChromeElfLoadSanityTest which validates that loading chrome_elf does not … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove braces Created 4 years, 6 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/installer/util/google_update_util.cc ('k') | chrome_elf/chrome_elf.gyp » ('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 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") {
« no previous file with comments | « chrome/installer/util/google_update_util.cc ('k') | chrome_elf/chrome_elf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698