| 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 'targets': [ | 24 'targets': [ |
| 25 { | 25 { |
| 26 # GN version: //content/public/common:common_features | 26 # GN version: //content/renderer:renderer_features |
| 27 'target_name': 'common_features', | 27 'target_name': 'renderer_features', |
| 28 'includes': [ | 28 'includes': [ |
| 29 '../build/buildflag_header.gypi', | 29 '../build/buildflag_header.gypi', |
| 30 '../third_party/webrtc/build/common.gypi', | 30 '../third_party/webrtc/build/common.gypi', |
| 31 ], | 31 ], |
| 32 'conditions': [ | 32 'conditions': [ |
| 33 # This conditional looks insane, but without it |rtc_use_h264| is not | 33 # This conditional looks insane, but without it |rtc_use_h264| is not |
| 34 # recognized as defined. Might have something to do with scopes. Moving | 34 # recognized as defined. Might have something to do with scopes. Moving |
| 35 # the inclusion of third_party/webrtc/build/common.gypi to outside of | 35 # the inclusion of third_party/webrtc/build/common.gypi to outside of |
| 36 # 'targets' is not an option, then we get compile errors. | 36 # 'targets' is not an option, then we get compile errors. |
| 37 # TODO(hbos): crbug.com/584219 | 37 # TODO(hbos): crbug.com/584219 |
| 38 ['1==1', { | 38 ['1==1', { |
| 39 'variables': { | 39 'variables': { |
| 40 'buildflag_header_path': 'content/public/common/common_features.h', | 40 'buildflag_header_path': 'content/renderer/renderer_features.h', |
| 41 'buildflag_flags': [ | 41 'buildflag_flags': [ |
| 42 'RTC_USE_H264=<(rtc_use_h264)', | 42 'RTC_USE_H264=<(rtc_use_h264)', |
| 43 ], | 43 ], |
| 44 }, | 44 }, |
| 45 }], | 45 }], |
| 46 ], | 46 ], |
| 47 }, | 47 }, |
| 48 { | |
| 49 # GN version: //content/public/common:feature_h264_with_openh264_ffmpeg | |
| 50 'target_name': 'feature_h264_with_openh264_ffmpeg', | |
| 51 'type': 'static_library', | |
| 52 'include_dirs': [ '<@(DEPTH)' ], | |
| 53 'deps': [ | |
| 54 ':common_features', | |
| 55 ], | |
| 56 'sources': [ | |
| 57 'public/common/feature_h264_with_openh264_ffmpeg.cc', | |
| 58 'public/common/feature_h264_with_openh264_ffmpeg.h', | |
| 59 ], | |
| 60 }, | |
| 61 ], | 48 ], |
| 62 'conditions': [ | 49 'conditions': [ |
| 63 ['OS != "ios"', { | 50 ['OS != "ios"', { |
| 64 'includes': [ | 51 'includes': [ |
| 65 '../build/win_precompile.gypi', | 52 '../build/win_precompile.gypi', |
| 66 'content_resources.gypi', | 53 'content_resources.gypi', |
| 67 ], | 54 ], |
| 68 }], | 55 }], |
| 69 ['OS == "win"', { | 56 ['OS == "win"', { |
| 70 'targets': [ | 57 'targets': [ |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 { | 278 { |
| 292 # GN version: //content/renderer and //content/public/renderer | 279 # GN version: //content/renderer and //content/public/renderer |
| 293 'target_name': 'content_renderer', | 280 'target_name': 'content_renderer', |
| 294 'type': 'static_library', | 281 'type': 'static_library', |
| 295 'variables': { 'enable_wexit_time_destructors': 1, }, | 282 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 296 'includes': [ | 283 'includes': [ |
| 297 'content_renderer.gypi', | 284 'content_renderer.gypi', |
| 298 ], | 285 ], |
| 299 'dependencies': [ | 286 'dependencies': [ |
| 300 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', | 287 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', |
| 301 'common_features', | |
| 302 'content_child', | 288 'content_child', |
| 303 'content_common', | 289 'content_common', |
| 304 'content_resources', | 290 'content_resources', |
| 291 'renderer_features', |
| 305 ], | 292 ], |
| 306 'export_dependent_settings': [ | 293 'export_dependent_settings': [ |
| 307 'content_common', | 294 'content_common', |
| 308 ], | 295 ], |
| 309 'conditions': [ | 296 'conditions': [ |
| 310 ['chromium_enable_vtune_jit_for_v8==1', { | 297 ['chromium_enable_vtune_jit_for_v8==1', { |
| 311 'dependencies': [ | 298 'dependencies': [ |
| 312 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | 299 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
| 313 ], | 300 ], |
| 314 }], | 301 }], |
| (...skipping 19 matching lines...) Expand all Loading... |
| 334 }, | 321 }, |
| 335 { # component != static_library | 322 { # component != static_library |
| 336 'targets': [ | 323 'targets': [ |
| 337 { | 324 { |
| 338 # GN version: //content | 325 # GN version: //content |
| 339 'target_name': 'content', | 326 'target_name': 'content', |
| 340 'type': 'shared_library', | 327 'type': 'shared_library', |
| 341 'variables': { 'enable_wexit_time_destructors': 1, }, | 328 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 342 'dependencies': [ | 329 'dependencies': [ |
| 343 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', | 330 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', |
| 344 'common_features', | |
| 345 'content_resources', | 331 'content_resources', |
| 332 'renderer_features', |
| 346 ], | 333 ], |
| 347 'conditions': [ | 334 'conditions': [ |
| 348 ['chromium_enable_vtune_jit_for_v8==1', { | 335 ['chromium_enable_vtune_jit_for_v8==1', { |
| 349 'dependencies': [ | 336 'dependencies': [ |
| 350 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | 337 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
| 351 ], | 338 ], |
| 352 }], | 339 }], |
| 353 ], | 340 ], |
| 354 'includes': [ | 341 'includes': [ |
| 355 'content_app.gypi', | 342 'content_app.gypi', |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 }, | 677 }, |
| 691 'includes': [ | 678 'includes': [ |
| 692 '../build/android/copy_ex.gypi', | 679 '../build/android/copy_ex.gypi', |
| 693 '../build/android/v8_external_startup_data_arch_suffix.gypi', | 680 '../build/android/v8_external_startup_data_arch_suffix.gypi', |
| 694 ], | 681 ], |
| 695 }, | 682 }, |
| 696 ], | 683 ], |
| 697 }], # OS == "android" | 684 }], # OS == "android" |
| 698 ], | 685 ], |
| 699 } | 686 } |
| OLD | NEW |