| 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 'conditions': [ | 24 'conditions': [ |
| 25 ['OS != "ios"', { | 25 ['OS != "ios"', { |
| 26 'includes': [ | 26 'includes': [ |
| 27 '../build/win_precompile.gypi', | 27 '../build/win_precompile.gypi', |
| 28 'content_common_mojo_bindings.gypi', | |
| 29 'content_resources.gypi', | 28 'content_resources.gypi', |
| 30 ], | 29 ], |
| 31 }], | 30 }], |
| 32 ['OS == "win"', { | 31 ['OS == "win"', { |
| 33 'targets': [ | 32 'targets': [ |
| 34 { | 33 { |
| 35 'target_name': 'content_startup_helper_win', | 34 'target_name': 'content_startup_helper_win', |
| 36 'type': 'static_library', | 35 'type': 'static_library', |
| 37 'include_dirs': [ | 36 'include_dirs': [ |
| 38 '..', | 37 '..', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 68 'content_browser', | 67 'content_browser', |
| 69 'content_common', | 68 'content_common', |
| 70 ], | 69 ], |
| 71 'export_dependent_settings': [ | 70 'export_dependent_settings': [ |
| 72 'content_common', | 71 'content_common', |
| 73 ], | 72 ], |
| 74 'conditions': [ | 73 'conditions': [ |
| 75 ['OS != "ios"', { | 74 ['OS != "ios"', { |
| 76 'dependencies': [ | 75 'dependencies': [ |
| 77 'content_child', | 76 'content_child', |
| 78 'content_common_mojo_bindings', | |
| 79 'content_gpu', | 77 'content_gpu', |
| 80 'content_plugin', | 78 'content_plugin', |
| 81 'content_ppapi_plugin', | 79 'content_ppapi_plugin', |
| 82 'content_renderer', | 80 'content_renderer', |
| 83 'content_utility', | 81 'content_utility', |
| 84 ], | 82 ], |
| 85 }], | 83 }], |
| 86 ], | 84 ], |
| 87 }, | 85 }, |
| 88 { | 86 { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 ] | 166 ] |
| 169 }], | 167 }], |
| 170 ['OS=="android"', { | 168 ['OS=="android"', { |
| 171 'dependencies': [ | 169 'dependencies': [ |
| 172 'content_gpu', | 170 'content_gpu', |
| 173 'content_utility', | 171 'content_utility', |
| 174 ], | 172 ], |
| 175 }], | 173 }], |
| 176 ['OS != "ios"', { | 174 ['OS != "ios"', { |
| 177 'dependencies': [ | 175 'dependencies': [ |
| 178 'content_common_mojo_bindings', | |
| 179 'content_resources', | 176 'content_resources', |
| 180 ], | 177 ], |
| 181 }], | 178 }], |
| 182 ], | 179 ], |
| 183 }, | 180 }, |
| 184 { | 181 { |
| 185 # GN version: //content/common and //content/public/common | 182 # GN version: //content/common and //content/public/common |
| 186 'target_name': 'content_common', | 183 'target_name': 'content_common', |
| 187 'type': 'static_library', | 184 'type': 'static_library', |
| 188 'variables': { 'enable_wexit_time_destructors': 1, }, | 185 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 189 'includes': [ | 186 'includes': [ |
| 190 'content_common.gypi', | 187 'content_common.gypi', |
| 191 ], | 188 ], |
| 192 'conditions': [ | 189 'conditions': [ |
| 193 ['OS != "ios"', { | 190 ['OS != "ios"', { |
| 194 'dependencies': [ | 191 'dependencies': [ |
| 195 'content_common_mojo_bindings', | |
| 196 'content_resources', | 192 'content_resources', |
| 197 ], | 193 ], |
| 198 }], | 194 }], |
| 199 ], | 195 ], |
| 200 # Disable c4267 warnings until we fix size_t to int truncations. | 196 # Disable c4267 warnings until we fix size_t to int truncations. |
| 201 'msvs_disabled_warnings': [ 4267, ], | 197 'msvs_disabled_warnings': [ 4267, ], |
| 202 }, | 198 }, |
| 203 ], | 199 ], |
| 204 'conditions': [ | 200 'conditions': [ |
| 205 ['OS != "ios"', { | 201 ['OS != "ios"', { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 'variables': { 'enable_wexit_time_destructors': 1, }, | 301 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 306 'dependencies': [ | 302 'dependencies': [ |
| 307 'content_resources', | 303 'content_resources', |
| 308 ], | 304 ], |
| 309 'conditions': [ | 305 'conditions': [ |
| 310 ['chromium_enable_vtune_jit_for_v8==1', { | 306 ['chromium_enable_vtune_jit_for_v8==1', { |
| 311 'dependencies': [ | 307 'dependencies': [ |
| 312 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | 308 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
| 313 ], | 309 ], |
| 314 }], | 310 }], |
| 315 ['OS != "ios"', { | |
| 316 'dependencies': [ | |
| 317 'content_common_mojo_bindings', | |
| 318 ] | |
| 319 }] | |
| 320 ], | 311 ], |
| 321 'includes': [ | 312 'includes': [ |
| 322 'content_app.gypi', | 313 'content_app.gypi', |
| 323 'content_browser.gypi', | 314 'content_browser.gypi', |
| 324 'content_child.gypi', | 315 'content_child.gypi', |
| 325 'content_common.gypi', | 316 'content_common.gypi', |
| 326 'content_gpu.gypi', | 317 'content_gpu.gypi', |
| 327 'content_plugin.gypi', | 318 'content_plugin.gypi', |
| 328 'content_ppapi_plugin.gypi', | 319 'content_ppapi_plugin.gypi', |
| 329 'content_renderer.gypi', | 320 'content_renderer.gypi', |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 ], | 580 ], |
| 590 }, | 581 }, |
| 591 ], | 582 ], |
| 592 }], | 583 }], |
| 593 ], | 584 ], |
| 594 }, | 585 }, |
| 595 ], | 586 ], |
| 596 }], # OS == "android" | 587 }], # OS == "android" |
| 597 ], | 588 ], |
| 598 } | 589 } |
| OLD | NEW |