| 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/win/manifest.gni") | 8 import("//build/config/win/manifest.gni") |
| 9 import("//chrome/process_version_rc_template.gni") | 9 import("//chrome/process_version_rc_template.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 ":crash", | 44 ":crash", |
| 45 ":hook_util", | 45 ":hook_util", |
| 46 ":security", | 46 ":security", |
| 47 "//build/config/sanitizers:deps", | 47 "//build/config/sanitizers:deps", |
| 48 "//chrome/install_static:install_static_util", | 48 "//chrome/install_static:install_static_util", |
| 49 "//chrome_elf/nt_registry:nt_registry", | 49 "//chrome_elf/nt_registry:nt_registry", |
| 50 ] | 50 ] |
| 51 configs += [ "//build/config/win:windowed" ] | 51 configs += [ "//build/config/win:windowed" ] |
| 52 configs -= [ "//build/config/win:console" ] | 52 configs -= [ "//build/config/win:console" ] |
| 53 | 53 |
| 54 # Turn on CFG for this project. |
| 55 configs += [ "//build/config/win:win_msvc_cfg" ] |
| 56 |
| 54 # Delay loads in this list will prevent user32.dll | 57 # Delay loads in this list will prevent user32.dll |
| 55 # from loading too early. | 58 # from loading too early. |
| 56 ldflags = [ | 59 ldflags = [ |
| 57 "/DELAYLOAD:advapi32.dll", | 60 "/DELAYLOAD:advapi32.dll", |
| 58 "/DELAYLOAD:dbghelp.dll", | 61 "/DELAYLOAD:dbghelp.dll", |
| 59 "/DELAYLOAD:rpcrt4.dll", | 62 "/DELAYLOAD:rpcrt4.dll", |
| 60 "/DELAYLOAD:winmm.dll", | 63 "/DELAYLOAD:winmm.dll", |
| 61 ] | 64 ] |
| 62 if (current_cpu == "x86") { | 65 if (current_cpu == "x86") { |
| 63 # Don"t set an x64 base address (to avoid breaking HE-ASLR). | 66 # Don"t set an x64 base address (to avoid breaking HE-ASLR). |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 274 |
| 272 shared_library("hook_util_test_dll") { | 275 shared_library("hook_util_test_dll") { |
| 273 sources = [ | 276 sources = [ |
| 274 "hook_util/test/hook_util_test_dll.cc", | 277 "hook_util/test/hook_util_test_dll.cc", |
| 275 "hook_util/test/hook_util_test_dll.h", | 278 "hook_util/test/hook_util_test_dll.h", |
| 276 ] | 279 ] |
| 277 deps = [ | 280 deps = [ |
| 278 "//build/config/sanitizers:deps", | 281 "//build/config/sanitizers:deps", |
| 279 ] | 282 ] |
| 280 } | 283 } |
| OLD | NEW |