OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Chrome elf targets (excepting tests) should only link in kernel32. | 5 # Chrome elf targets (excepting tests) should only link in kernel32. |
6 # Please don't add dependencies on any other system libraries. | 6 # Please don't add dependencies on any other system libraries. |
7 | 7 |
8 import("//build/config/compiler/compiler.gni") | 8 import("//build/config/compiler/compiler.gni") |
9 import("//build/config/win/manifest.gni") | 9 import("//build/config/win/manifest.gni") |
10 import("//chrome/process_version_rc_template.gni") | 10 import("//chrome/process_version_rc_template.gni") |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 ":blacklist_test_dll_3", | 236 ":blacklist_test_dll_3", |
237 ":chrome_elf", | 237 ":chrome_elf", |
238 ] | 238 ] |
239 | 239 |
240 # Don't want the test-specific dependencies to affect ChromeElfLoadSanityTest. | 240 # Don't want the test-specific dependencies to affect ChromeElfLoadSanityTest. |
241 # In particular, a few system DLLs cause user32 to be loaded, which is bad. | 241 # In particular, a few system DLLs cause user32 to be loaded, which is bad. |
242 ldflags = [ | 242 ldflags = [ |
243 "/DELAYLOAD:advapi32.dll", | 243 "/DELAYLOAD:advapi32.dll", |
244 "/DELAYLOAD:ole32.dll", | 244 "/DELAYLOAD:ole32.dll", |
245 "/DELAYLOAD:shell32.dll", | 245 "/DELAYLOAD:shell32.dll", |
| 246 "/DELAYLOAD:shlwapi.dll", |
246 "/DELAYLOAD:user32.dll", | 247 "/DELAYLOAD:user32.dll", |
247 "/DELAYLOAD:winmm.dll", | 248 "/DELAYLOAD:winmm.dll", |
248 ] | 249 ] |
249 } | 250 } |
250 | 251 |
251 shared_library("blacklist_test_main_dll") { | 252 shared_library("blacklist_test_main_dll") { |
252 testonly = true | 253 testonly = true |
253 sources = [ | 254 sources = [ |
254 "blacklist/test/blacklist_test_main_dll.cc", | 255 "blacklist/test/blacklist_test_main_dll.cc", |
255 "blacklist/test/blacklist_test_main_dll.def", | 256 "blacklist/test/blacklist_test_main_dll.def", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 shared_library("hook_util_test_dll") { | 305 shared_library("hook_util_test_dll") { |
305 testonly = true | 306 testonly = true |
306 sources = [ | 307 sources = [ |
307 "hook_util/test/hook_util_test_dll.cc", | 308 "hook_util/test/hook_util_test_dll.cc", |
308 "hook_util/test/hook_util_test_dll.h", | 309 "hook_util/test/hook_util_test_dll.h", |
309 ] | 310 ] |
310 deps = [ | 311 deps = [ |
311 "//build/config:exe_and_shlib_deps", | 312 "//build/config:exe_and_shlib_deps", |
312 ] | 313 ] |
313 } | 314 } |
OLD | NEW |