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 'blacklist.gypi', | 11 'blacklist.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'chrome_elf', | 15 'target_name': 'chrome_elf', |
16 'type': 'shared_library', | 16 'type': 'shared_library', |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '..', | 18 '..', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'chrome_elf.def', | 21 'chrome_elf.def', |
22 'chrome_elf_main.cc', | 22 'chrome_elf_main.cc', |
23 'chrome_elf_main.h', | 23 'chrome_elf_main.h', |
24 ], | 24 ], |
25 'dependencies': [ | 25 'dependencies': [ |
26 'blacklist', | 26 'blacklist', |
| 27 'chrome_elf_breakpad', |
27 'chrome_elf_lib', | 28 'chrome_elf_lib', |
28 ], | 29 ], |
29 'msvs_settings': { | 30 'msvs_settings': { |
30 'VCLinkerTool': { | 31 'VCLinkerTool': { |
31 'BaseAddress': '0x01c20000', | 32 'BaseAddress': '0x01c20000', |
32 # Set /SUBSYSTEM:WINDOWS. | 33 # Set /SUBSYSTEM:WINDOWS. |
33 'SubSystem': '2', | 34 'SubSystem': '2', |
34 'AdditionalDependencies!': [ | 35 'AdditionalDependencies!': [ |
35 'user32.lib', | 36 'user32.lib', |
36 ], | 37 ], |
37 'IgnoreDefaultLibraryNames': [ | 38 'IgnoreDefaultLibraryNames': [ |
38 'user32.lib', | 39 'user32.lib', |
39 ], | 40 ], |
40 }, | 41 }, |
41 }, | 42 }, |
42 }, | 43 }, |
43 { | 44 { |
44 'target_name': 'chrome_elf_unittests_exe', | 45 'target_name': 'chrome_elf_unittests_exe', |
45 'product_name': 'chrome_elf_unittests', | 46 'product_name': 'chrome_elf_unittests', |
46 'type': 'executable', | 47 'type': 'executable', |
47 'sources': [ | 48 'sources': [ |
48 'blacklist/test/blacklist_test.cc', | 49 'blacklist/test/blacklist_test.cc', |
| 50 'chrome_elf_util_unittest.cc', |
49 'create_file/chrome_create_file_unittest.cc', | 51 'create_file/chrome_create_file_unittest.cc', |
50 'elf_imports_unittest.cc', | 52 'elf_imports_unittest.cc', |
51 'ntdll_cache_unittest.cc', | 53 'ntdll_cache_unittest.cc', |
52 ], | 54 ], |
53 'include_dirs': [ | 55 'include_dirs': [ |
54 '..', | 56 '..', |
55 '<(SHARED_INTERMEDIATE_DIR)', | 57 '<(SHARED_INTERMEDIATE_DIR)', |
56 ], | 58 ], |
57 'dependencies': [ | 59 'dependencies': [ |
58 'chrome_elf_lib', | 60 'chrome_elf_lib', |
(...skipping 21 matching lines...) Expand all Loading... |
80 'chrome_elf_unittests_exe', | 82 'chrome_elf_unittests_exe', |
81 ], | 83 ], |
82 }, | 84 }, |
83 { | 85 { |
84 'target_name': 'chrome_elf_lib', | 86 'target_name': 'chrome_elf_lib', |
85 'type': 'static_library', | 87 'type': 'static_library', |
86 'include_dirs': [ | 88 'include_dirs': [ |
87 '..', | 89 '..', |
88 ], | 90 ], |
89 'sources': [ | 91 'sources': [ |
| 92 'create_file/chrome_create_file.cc', |
| 93 'create_file/chrome_create_file.h', |
| 94 'ntdll_cache.cc', |
| 95 'ntdll_cache.h', |
| 96 ], |
| 97 'dependencies': [ |
| 98 'chrome_elf_common', |
| 99 ], |
| 100 }, |
| 101 { |
| 102 'target_name': 'chrome_elf_common', |
| 103 'type': 'static_library', |
| 104 'include_dirs': [ |
| 105 '..', |
| 106 ], |
| 107 'sources': [ |
90 'chrome_elf_constants.cc', | 108 'chrome_elf_constants.cc', |
91 'chrome_elf_constants.h', | 109 'chrome_elf_constants.h', |
92 'chrome_elf_types.h', | 110 'chrome_elf_types.h', |
93 'create_file/chrome_create_file.cc', | 111 'chrome_elf_util.cc', |
94 'create_file/chrome_create_file.h', | 112 'chrome_elf_util.h', |
95 'ntdll_cache.cc', | 113 ], |
96 'ntdll_cache.h', | 114 }, |
| 115 { |
| 116 'target_name': 'chrome_elf_breakpad', |
| 117 'type': 'static_library', |
| 118 'include_dirs': [ |
| 119 '..', |
| 120 '<(SHARED_INTERMEDIATE_DIR)', |
| 121 ], |
| 122 'sources': [ |
| 123 'breakpad.cc', |
| 124 'breakpad.h', |
| 125 ], |
| 126 'dependencies': [ |
| 127 'chrome_elf_common', |
| 128 '../breakpad/breakpad.gyp:breakpad_handler', |
| 129 '../chrome/chrome.gyp:chrome_version_header', |
97 ], | 130 ], |
98 }, | 131 }, |
99 ], # targets | 132 ], # targets |
100 'conditions': [ | 133 'conditions': [ |
101 ['component=="shared_library"', { | 134 ['component=="shared_library"', { |
102 'targets': [ | 135 'targets': [ |
103 { | 136 { |
104 'target_name': 'chrome_redirects', | 137 'target_name': 'chrome_redirects', |
105 'type': 'shared_library', | 138 'type': 'shared_library', |
106 'include_dirs': [ | 139 'include_dirs': [ |
(...skipping 11 matching lines...) Expand all Loading... |
118 # Set /SUBSYSTEM:WINDOWS. | 151 # Set /SUBSYSTEM:WINDOWS. |
119 'SubSystem': '2', | 152 'SubSystem': '2', |
120 }, | 153 }, |
121 }, | 154 }, |
122 }, | 155 }, |
123 ], | 156 ], |
124 }], | 157 }], |
125 ], | 158 ], |
126 } | 159 } |
127 | 160 |
OLD | NEW |