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 import("//chrome/version.gni") | 5 import("//chrome/version.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 process_version("chrome_elf_resources") { | 8 process_version("chrome_elf_resources") { |
9 source = "//chrome/app/chrome_version.rc.version" | 9 sources = [ |
10 "chrome_elf.ver", | |
11 ] | |
Dirk Pranke
2015/02/25 00:23:19
nit: is this formatted properly?
| |
10 output = "$target_gen_dir/chrome_elf_version.rc" | 12 output = "$target_gen_dir/chrome_elf_version.rc" |
11 extra_args = [ | |
12 "-f", | |
13 rebase_path("chrome_elf.ver"), | |
14 ] | |
15 } | 13 } |
16 | 14 |
17 shared_library("chrome_elf") { | 15 shared_library("chrome_elf") { |
18 sources = [ | 16 sources = [ |
19 "chrome_elf_main.cc", | 17 "chrome_elf_main.cc", |
20 "chrome_elf_main.h", | 18 "chrome_elf_main.h", |
21 "$target_gen_dir/chrome_elf_version.rc", | 19 "$target_gen_dir/chrome_elf_version.rc", |
22 ] | 20 ] |
23 deps = [ | 21 deps = [ |
24 ":blacklist", | 22 ":blacklist", |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
196 ] | 194 ] |
197 ldflags = [ "/DEF:" + rebase_path("blacklist/test/blacklist_test_dll_2.def", | 195 ldflags = [ "/DEF:" + rebase_path("blacklist/test/blacklist_test_dll_2.def", |
198 root_build_dir) ] | 196 root_build_dir) ] |
199 } | 197 } |
200 | 198 |
201 shared_library("blacklist_test_dll_3") { | 199 shared_library("blacklist_test_dll_3") { |
202 sources = [ | 200 sources = [ |
203 "blacklist/test/blacklist_test_dll_3.cc", | 201 "blacklist/test/blacklist_test_dll_3.cc", |
204 ] | 202 ] |
205 } | 203 } |
OLD | NEW |