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/version.gni") | 9 import("//chrome/process_version_rc_template.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
11 | 11 |
12 ##------------------------------------------------------------------------------ | 12 ##------------------------------------------------------------------------------ |
13 ## chrome_elf | 13 ## chrome_elf |
14 ##------------------------------------------------------------------------------ | 14 ##------------------------------------------------------------------------------ |
15 | 15 |
16 process_version("chrome_elf_resources") { | 16 process_version_rc_template("chrome_elf_resources") { |
17 template_file = chrome_version_rc_template | |
18 sources = [ | 17 sources = [ |
19 "chrome_elf.ver", | 18 "chrome_elf.ver", |
20 ] | 19 ] |
21 output = "$target_gen_dir/chrome_elf_version.rc" | 20 output = "$target_gen_dir/chrome_elf_version.rc" |
22 } | 21 } |
23 | 22 |
24 # This manifest matches what GYP produces. It may not even be necessary. | 23 # This manifest matches what GYP produces. It may not even be necessary. |
25 windows_manifest("chrome_elf_manifest") { | 24 windows_manifest("chrome_elf_manifest") { |
26 sources = [ | 25 sources = [ |
27 as_invoker_manifest, | 26 as_invoker_manifest, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 271 |
273 shared_library("hook_util_test_dll") { | 272 shared_library("hook_util_test_dll") { |
274 sources = [ | 273 sources = [ |
275 "hook_util/test/hook_util_test_dll.cc", | 274 "hook_util/test/hook_util_test_dll.cc", |
276 "hook_util/test/hook_util_test_dll.h", | 275 "hook_util/test/hook_util_test_dll.h", |
277 ] | 276 ] |
278 deps = [ | 277 deps = [ |
279 "//build/config/sanitizers:deps", | 278 "//build/config/sanitizers:deps", |
280 ] | 279 ] |
281 } | 280 } |
OLD | NEW |