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/util/version.gypi', | 9 '../build/util/version.gypi', |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 22 matching lines...) Expand all Loading... |
33 # Set /SUBSYSTEM:WINDOWS. | 33 # Set /SUBSYSTEM:WINDOWS. |
34 'SubSystem': '2', | 34 'SubSystem': '2', |
35 'AdditionalDependencies!': [ | 35 'AdditionalDependencies!': [ |
36 'user32.lib', | 36 'user32.lib', |
37 ], | 37 ], |
38 'IgnoreDefaultLibraryNames': [ | 38 'IgnoreDefaultLibraryNames': [ |
39 'user32.lib', | 39 'user32.lib', |
40 ], | 40 ], |
41 }, | 41 }, |
42 }, | 42 }, |
| 43 'conditions': [ |
| 44 ['component=="shared_library"', { |
| 45 # In component builds, all targets depend on chrome_redirects by |
| 46 # default. Remove it here to avoid a circular dependency. |
| 47 'dependencies!': [ |
| 48 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 49 ], |
| 50 }], |
| 51 ], |
43 }, | 52 }, |
44 { | 53 { |
45 'target_name': 'chrome_elf_unittests_exe', | 54 'target_name': 'chrome_elf_unittests_exe', |
46 'product_name': 'chrome_elf_unittests', | 55 'product_name': 'chrome_elf_unittests', |
47 'type': 'executable', | 56 'type': 'executable', |
48 'sources': [ | 57 'sources': [ |
49 'blacklist/test/blacklist_test.cc', | 58 'blacklist/test/blacklist_test.cc', |
50 'chrome_elf_util_unittest.cc', | 59 'chrome_elf_util_unittest.cc', |
51 'create_file/chrome_create_file_unittest.cc', | 60 'create_file/chrome_create_file_unittest.cc', |
52 'elf_imports_unittest.cc', | 61 'elf_imports_unittest.cc', |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 ['component=="shared_library"', { | 170 ['component=="shared_library"', { |
162 'targets': [ | 171 'targets': [ |
163 { | 172 { |
164 'target_name': 'chrome_redirects', | 173 'target_name': 'chrome_redirects', |
165 'type': 'shared_library', | 174 'type': 'shared_library', |
166 'include_dirs': [ | 175 'include_dirs': [ |
167 '..', | 176 '..', |
168 ], | 177 ], |
169 'sources': [ | 178 'sources': [ |
170 'chrome_redirects.def', | 179 'chrome_redirects.def', |
| 180 'chrome_redirects_main.cc', |
171 ], | 181 ], |
172 'dependencies': [ | 182 'dependencies': [ |
173 'chrome_elf_lib', | 183 'chrome_elf_lib', |
174 ], | 184 ], |
175 'msvs_settings': { | 185 'msvs_settings': { |
176 'VCLinkerTool': { | 186 'VCLinkerTool': { |
177 'BaseAddress': '0x01c10000', | 187 'BaseAddress': '0x01c10000', |
178 # Set /SUBSYSTEM:WINDOWS. | 188 # Set /SUBSYSTEM:WINDOWS. |
179 'SubSystem': '2', | 189 'SubSystem': '2', |
180 }, | 190 }, |
181 }, | 191 }, |
182 'conditions': [ | 192 'conditions': [ |
183 ['component=="shared_library"', { | 193 ['component=="shared_library"', { |
184 # In component builds, all targets depend on chrome_redirects by | 194 # In component builds, all targets depend on chrome_redirects by |
185 # default. Remove it here to avoid a circular dependency. | 195 # default. Remove it here to avoid a circular dependency. |
186 'dependencies!': [ | 196 'dependencies!': [ |
187 '../chrome_elf/chrome_elf.gyp:chrome_redirects', | 197 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
188 ], | 198 ], |
189 }], | 199 }], |
190 ], | 200 ], |
191 }, | 201 }, |
192 ], | 202 ], |
193 }], | 203 }], |
194 ], | 204 ], |
195 } | 205 } |
196 | 206 |
OLD | NEW |