OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # | 25 # TODO(dpranke): Uncomment: ['component == "static_library"', { |
26 # TODO(dpranke): Remove the mac conditional once the circular | 26 ['1 == 1', { |
27 # dependencies in WebKit.gyp are fixed. | |
28 # See https://bugs.webkit.org/show_bug.cgi?id=68463 | |
29 ['OS == "mac" or component == "static_library"', { | |
30 'targets': [ | 27 'targets': [ |
31 {'target_name': 'content', | 28 {'target_name': 'content', |
32 'type': 'none', | 29 'type': 'none', |
33 'dependencies': [ | 30 'dependencies': [ |
34 'content_app', | 31 'content_app', |
35 'content_browser', | 32 'content_browser', |
36 'content_common', | 33 'content_common', |
37 'content_gpu', | 34 'content_gpu', |
38 'content_plugin', | 35 'content_plugin', |
39 'content_ppapi_plugin', | 36 'content_ppapi_plugin', |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 }, | 241 }, |
245 {'target_name': 'content_worker', | 242 {'target_name': 'content_worker', |
246 'type': 'none', | 243 'type': 'none', |
247 'dependencies': ['content'], | 244 'dependencies': ['content'], |
248 }, | 245 }, |
249 ], | 246 ], |
250 }, | 247 }, |
251 ], | 248 ], |
252 ], | 249 ], |
253 } | 250 } |
OLD | NEW |