OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', | 8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', |
9 }, | 9 }, |
10 'includes': [ | 10 'includes': [ |
11 '../build/win_precompile.gypi', | 11 '../build/win_precompile.gypi', |
12 'content_shell.gypi', | 12 'content_shell.gypi', |
13 'content_tests.gypi', | 13 'content_tests.gypi', |
14 ], | 14 ], |
15 'target_defaults': { | 15 'target_defaults': { |
16 'defines': ['CONTENT_IMPLEMENTATION'], | 16 'defines': ['CONTENT_IMPLEMENTATION'], |
17 }, | 17 }, |
18 'conditions': [ | 18 'conditions': [ |
19 # In component mode, we build all of content as a single DLL. | 19 # In component mode, we build all of content as a single DLL. |
20 # However, in the static mode, we need to build content as multiple | 20 # However, in the static mode, we need to build content as multiple |
21 # targets in order to prevent dependencies from getting introduced | 21 # targets in order to prevent dependencies from getting introduced |
22 # upstream unnecessarily (e.g., content_renderer depends on allocator | 22 # upstream unnecessarily (e.g., content_renderer depends on allocator |
23 # and chrome_exe depends on content_common but we don't want | 23 # and chrome_exe depends on content_common but we don't want |
24 # chrome_exe to have to depend on allocator). | 24 # chrome_exe to have to depend on allocator). |
25 ['component=="static_library" or incremental_chrome_dll==1', { | 25 ['component=="static_library"', { |
26 'target_defines': [ | 26 'target_defines': [ |
27 'COMPILE_CONTENT_STATICALLY', | 27 'COMPILE_CONTENT_STATICALLY', |
28 ], | 28 ], |
29 'targets': [ | 29 'targets': [ |
30 {'target_name': 'content', | 30 {'target_name': 'content', |
31 'type': 'none', | 31 'type': 'none', |
32 'dependencies': [ | 32 'dependencies': [ |
33 'content_app', | 33 'content_app', |
34 'content_browser', | 34 'content_browser', |
35 'content_common', | 35 'content_common', |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 }, | 192 }, |
193 {'target_name': 'content_worker', | 193 {'target_name': 'content_worker', |
194 'type': 'none', | 194 'type': 'none', |
195 'dependencies': ['content'], | 195 'dependencies': ['content'], |
196 }, | 196 }, |
197 ], | 197 ], |
198 }, | 198 }, |
199 ], | 199 ], |
200 ], | 200 ], |
201 } | 201 } |
OLD | NEW |