OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'includes': [ | 8 'includes': [ |
9 '../build/win_precompile.gypi', | 9 '../build/win_precompile.gypi', |
10 '../chrome/version.gypi', | 10 '../chrome/version.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'chrome_elf', | 14 'target_name': 'chrome_elf', |
15 'type': 'shared_library', | 15 'type': 'shared_library', |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 '..', | 17 '..', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 'chrome_elf.def', | 20 'chrome_elf.def', |
21 'chrome_elf_main.cc', | 21 'chrome_elf_main.cc', |
22 'chrome_elf_main.h', | 22 'chrome_elf_main.h', |
23 ], | 23 ], |
24 'dependencies': [ | |
25 'chrome_elf_lib', | |
26 ], | |
27 'msvs_settings': { | 24 'msvs_settings': { |
28 'VCLinkerTool': { | 25 'VCLinkerTool': { |
29 'BaseAddress': '0x01c20000', | 26 'BaseAddress': '0x01c20000', |
30 # Set /SUBSYSTEM:WINDOWS for chrome_elf.dll (for consistency). | 27 # Set /SUBSYSTEM:WINDOWS for chrome_elf.dll (for consistency). |
31 'SubSystem': '2', | 28 'SubSystem': '2', |
32 }, | 29 }, |
33 }, | 30 }, |
34 }, | 31 }, |
35 { | |
36 'target_name': 'chrome_elf_lib', | |
37 'type': 'static_library', | |
38 'include_dirs': [ | |
39 '..', | |
40 ], | |
41 'sources': [ | |
42 'chrome_elf_types.h', | |
43 'ntdll_cache.cc', | |
44 'ntdll_cache.h', | |
45 ], | |
46 }, | |
47 ], | 32 ], |
48 } | 33 } |
OLD | NEW |