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 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e ngine. | 8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e ngine. |
9 'directxsdk_exists': '<!pymod_do_main(dir_exists ../third_party/directxsdk)' , | 9 'directxsdk_exists': '<!pymod_do_main(dir_exists ../third_party/directxsdk)' , |
10 }, | 10 }, |
11 'target_defaults': { | 11 'target_defaults': { |
12 'defines': ['CONTENT_IMPLEMENTATION'], | 12 'defines': ['CONTENT_IMPLEMENTATION'], |
13 'conditions': [ | 13 'conditions': [ |
14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. | 14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. |
15 ['OS=="win" and target_arch=="x64"', { | 15 ['OS=="win" and target_arch=="x64"', { |
16 'msvs_settings': { | 16 'msvs_settings': { |
17 'VCCLCompilerTool': { | 17 'VCCLCompilerTool': { |
18 'AdditionalOptions': ['/bigobj'], | 18 'AdditionalOptions': ['/bigobj'], |
19 }, | 19 }, |
20 }, | 20 }, |
21 }], | 21 }], |
22 ], | 22 ], |
23 }, | 23 }, |
24 'includes': [ | |
25 'content_common_mojo_bindings.gypi', | |
26 ], | |
24 'conditions': [ | 27 'conditions': [ |
25 ['OS != "ios"', { | 28 ['OS != "ios"', { |
26 'includes': [ | 29 'includes': [ |
27 '../build/win_precompile.gypi', | 30 '../build/win_precompile.gypi', |
28 'content_common_mojo_bindings.gypi', | |
29 'content_resources.gypi', | 31 'content_resources.gypi', |
30 ], | 32 ], |
31 }], | 33 }], |
32 ['OS == "win"', { | 34 ['OS == "win"', { |
33 'targets': [ | 35 'targets': [ |
34 { | 36 { |
35 'target_name': 'content_startup_helper_win', | 37 'target_name': 'content_startup_helper_win', |
36 'type': 'static_library', | 38 'type': 'static_library', |
37 'include_dirs': [ | 39 'include_dirs': [ |
38 '..', | 40 '..', |
(...skipping 29 matching lines...) Expand all Loading... | |
68 'content_browser', | 70 'content_browser', |
69 'content_common', | 71 'content_common', |
70 ], | 72 ], |
71 'export_dependent_settings': [ | 73 'export_dependent_settings': [ |
72 'content_common', | 74 'content_common', |
73 ], | 75 ], |
74 'conditions': [ | 76 'conditions': [ |
75 ['OS != "ios"', { | 77 ['OS != "ios"', { |
76 'dependencies': [ | 78 'dependencies': [ |
77 'content_child', | 79 'content_child', |
78 'content_common_mojo_bindings', | |
79 'content_gpu', | 80 'content_gpu', |
80 'content_plugin', | 81 'content_plugin', |
81 'content_ppapi_plugin', | 82 'content_ppapi_plugin', |
82 'content_renderer', | 83 'content_renderer', |
83 'content_utility', | 84 'content_utility', |
84 ], | 85 ], |
85 }], | 86 }], |
86 ], | 87 ], |
87 }, | 88 }, |
88 { | 89 { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 ] | 169 ] |
169 }], | 170 }], |
170 ['OS=="android"', { | 171 ['OS=="android"', { |
171 'dependencies': [ | 172 'dependencies': [ |
172 'content_gpu', | 173 'content_gpu', |
173 'content_utility', | 174 'content_utility', |
174 ], | 175 ], |
175 }], | 176 }], |
176 ['OS != "ios"', { | 177 ['OS != "ios"', { |
177 'dependencies': [ | 178 'dependencies': [ |
178 'content_common_mojo_bindings', | |
179 'content_resources', | 179 'content_resources', |
180 ], | 180 ], |
181 }], | 181 }], |
182 ], | 182 ], |
183 }, | 183 }, |
184 { | 184 { |
185 # GN version: //content/common and //content/public/common | 185 # GN version: //content/common and //content/public/common |
186 'target_name': 'content_common', | 186 'target_name': 'content_common', |
187 'type': 'static_library', | 187 'type': 'static_library', |
188 'variables': { 'enable_wexit_time_destructors': 1, }, | 188 'variables': { 'enable_wexit_time_destructors': 1, }, |
189 'includes': [ | 189 'includes': [ |
190 'content_common.gypi', | 190 'content_common.gypi', |
191 ], | 191 ], |
192 'dependencies': [ | |
193 'content_common_mojo_bindings', | |
194 ], | |
195 'export_dependent_settings': [ | |
196 'content_common_mojo_bindings', | |
blundell
2014/12/04 12:21:44
This isn't technically correct, since no code unde
timvolodine
2014/12/04 12:58:01
my rationale was that:
permission_service.mojom an
| |
197 ], | |
192 'conditions': [ | 198 'conditions': [ |
193 ['OS != "ios"', { | 199 ['OS != "ios"', { |
194 'dependencies': [ | 200 'dependencies': [ |
195 'content_common_mojo_bindings', | |
196 'content_resources', | 201 'content_resources', |
197 ], | 202 ], |
198 }], | 203 }], |
199 ], | 204 ], |
200 # Disable c4267 warnings until we fix size_t to int truncations. | 205 # Disable c4267 warnings until we fix size_t to int truncations. |
201 'msvs_disabled_warnings': [ 4267, ], | 206 'msvs_disabled_warnings': [ 4267, ], |
202 }, | 207 }, |
203 ], | 208 ], |
204 'conditions': [ | 209 'conditions': [ |
205 ['OS != "ios"', { | 210 ['OS != "ios"', { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
297 ], | 302 ], |
298 }, | 303 }, |
299 { # component != static_library | 304 { # component != static_library |
300 'targets': [ | 305 'targets': [ |
301 { | 306 { |
302 # GN version: //content | 307 # GN version: //content |
303 'target_name': 'content', | 308 'target_name': 'content', |
304 'type': 'shared_library', | 309 'type': 'shared_library', |
305 'variables': { 'enable_wexit_time_destructors': 1, }, | 310 'variables': { 'enable_wexit_time_destructors': 1, }, |
306 'dependencies': [ | 311 'dependencies': [ |
312 'content_common_mojo_bindings', | |
307 'content_resources', | 313 'content_resources', |
308 ], | 314 ], |
309 'conditions': [ | 315 'conditions': [ |
310 ['chromium_enable_vtune_jit_for_v8==1', { | 316 ['chromium_enable_vtune_jit_for_v8==1', { |
311 'dependencies': [ | 317 'dependencies': [ |
312 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | 318 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
313 ], | 319 ], |
314 }], | 320 }], |
315 ['OS != "ios"', { | |
316 'dependencies': [ | |
317 'content_common_mojo_bindings', | |
318 ] | |
319 }] | |
320 ], | 321 ], |
321 'includes': [ | 322 'includes': [ |
322 'content_app.gypi', | 323 'content_app.gypi', |
323 'content_browser.gypi', | 324 'content_browser.gypi', |
324 'content_child.gypi', | 325 'content_child.gypi', |
325 'content_common.gypi', | 326 'content_common.gypi', |
326 'content_gpu.gypi', | 327 'content_gpu.gypi', |
327 'content_plugin.gypi', | 328 'content_plugin.gypi', |
328 'content_ppapi_plugin.gypi', | 329 'content_ppapi_plugin.gypi', |
329 'content_renderer.gypi', | 330 'content_renderer.gypi', |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
596 ], | 597 ], |
597 }, | 598 }, |
598 ], | 599 ], |
599 }], | 600 }], |
600 ], | 601 ], |
601 }, | 602 }, |
602 ], | 603 ], |
603 }], # OS == "android" | 604 }], # OS == "android" |
604 ], | 605 ], |
605 } | 606 } |
OLD | NEW |