| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 ":hook_util", | 46 ":hook_util", |
| 47 ":nt_registry", | 47 ":nt_registry", |
| 48 ":security", | 48 ":security", |
| 49 "//build/config/sanitizers:deps", | 49 "//build/config/sanitizers:deps", |
| 50 "//chrome/install_static:install_static_util", | 50 "//chrome/install_static:install_static_util", |
| 51 "//chrome/install_static:primary_module", | 51 "//chrome/install_static:primary_module", |
| 52 ] | 52 ] |
| 53 configs += [ "//build/config/win:windowed" ] | 53 configs += [ "//build/config/win:windowed" ] |
| 54 configs -= [ "//build/config/win:console" ] | 54 configs -= [ "//build/config/win:console" ] |
| 55 | 55 |
| 56 # Turn on CFG for this project. | |
| 57 configs += [ "//build/config/win:win_msvc_cfg" ] | |
| 58 | |
| 59 # Delay loads in this list will prevent user32.dll | 56 # Delay loads in this list will prevent user32.dll |
| 60 # from loading too early. | 57 # from loading too early. |
| 61 ldflags = [ | 58 ldflags = [ |
| 62 "/DELAYLOAD:advapi32.dll", | 59 "/DELAYLOAD:advapi32.dll", |
| 63 "/DELAYLOAD:dbghelp.dll", | 60 "/DELAYLOAD:dbghelp.dll", |
| 64 "/DELAYLOAD:rpcrt4.dll", | 61 "/DELAYLOAD:rpcrt4.dll", |
| 65 "/DELAYLOAD:winmm.dll", | 62 "/DELAYLOAD:winmm.dll", |
| 66 ] | 63 ] |
| 67 if (current_cpu == "x86") { | 64 if (current_cpu == "x86") { |
| 68 # Don"t set an x64 base address (to avoid breaking HE-ASLR). | 65 # Don"t set an x64 base address (to avoid breaking HE-ASLR). |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 shared_library("hook_util_test_dll") { | 299 shared_library("hook_util_test_dll") { |
| 303 testonly = true | 300 testonly = true |
| 304 sources = [ | 301 sources = [ |
| 305 "hook_util/test/hook_util_test_dll.cc", | 302 "hook_util/test/hook_util_test_dll.cc", |
| 306 "hook_util/test/hook_util_test_dll.h", | 303 "hook_util/test/hook_util_test_dll.h", |
| 307 ] | 304 ] |
| 308 deps = [ | 305 deps = [ |
| 309 "//build/config/sanitizers:deps", | 306 "//build/config/sanitizers:deps", |
| 310 ] | 307 ] |
| 311 } | 308 } |
| OLD | NEW |