| 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 'conditions': [ | 7 'conditions': [ |
| 8 ['inside_chromium_build==0', { | |
| 9 'webkit_src_dir': '../../../../..', | |
| 10 },{ | |
| 11 'webkit_src_dir': '../../third_party/WebKit', | |
| 12 }], | |
| 13 ['OS == "android" or OS == "ios"', { | 8 ['OS == "android" or OS == "ios"', { |
| 14 # Android and iOS don't use ffmpeg. | 9 # Android and iOS don't use ffmpeg. |
| 15 'use_ffmpeg%': 0, | 10 'use_ffmpeg%': 0, |
| 16 }, { # 'OS != "android" and OS != "ios"' | 11 }, { # 'OS != "android" and OS != "ios"' |
| 17 'use_ffmpeg%': 1, | 12 'use_ffmpeg%': 1, |
| 18 }], | 13 }], |
| 19 ], | 14 ], |
| 20 # Set |use_fake_video_decoder| to 1 to ignore input frames in |clearkeycdm|, | 15 # Set |use_fake_video_decoder| to 1 to ignore input frames in |clearkeycdm|, |
| 21 # and produce video frames filled with a solid color instead. | 16 # and produce video frames filled with a solid color instead. |
| 22 'use_fake_video_decoder%': 0, | 17 'use_fake_video_decoder%': 0, |
| 23 # Set |use_libvpx| to 1 to use libvpx for VP8 decoding in |clearkeycdm|. | 18 # Set |use_libvpx| to 1 to use libvpx for VP8 decoding in |clearkeycdm|. |
| 24 'use_libvpx%': 0, | 19 'use_libvpx%': 0, |
| 25 }, | 20 }, |
| 26 'targets': [ | 21 'targets': [ |
| 27 { | 22 { |
| 28 'target_name': 'webkit_media', | 23 'target_name': 'webkit_media', |
| 29 'type': 'static_library', | 24 'type': 'static_library', |
| 30 'variables': { 'enable_wexit_time_destructors': 1, }, | 25 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 31 'include_dirs': [ | 26 'include_dirs': [ |
| 32 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_info.cc. | 27 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_info.cc. |
| 33 ], | 28 ], |
| 34 'dependencies': [ | 29 'dependencies': [ |
| 35 '<(DEPTH)/base/base.gyp:base', | 30 '<(DEPTH)/base/base.gyp:base', |
| 36 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 31 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 37 '<(DEPTH)/cc/cc.gyp:cc', | 32 '<(DEPTH)/cc/cc.gyp:cc', |
| 38 '<(DEPTH)/media/media.gyp:media', | 33 '<(DEPTH)/media/media.gyp:media', |
| 39 '<(DEPTH)/media/media.gyp:shared_memory_support', | 34 '<(DEPTH)/media/media.gyp:shared_memory_support', |
| 40 '<(DEPTH)/media/media.gyp:yuv_convert', | 35 '<(DEPTH)/media/media.gyp:yuv_convert', |
| 41 '<(DEPTH)/skia/skia.gyp:skia', | 36 '<(DEPTH)/skia/skia.gyp:skia', |
| 37 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 42 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version
_h', | 38 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version
_h', |
| 43 '<(DEPTH)/webkit/compositor_bindings/compositor_bindings.gyp:webkit_comp
ositor_bindings', | 39 '<(DEPTH)/webkit/compositor_bindings/compositor_bindings.gyp:webkit_comp
ositor_bindings', |
| 44 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 45 ], | 40 ], |
| 46 'sources': [ | 41 'sources': [ |
| 47 'android/audio_decoder_android.cc', | 42 'android/audio_decoder_android.cc', |
| 48 'android/stream_texture_factory_android.h', | 43 'android/stream_texture_factory_android.h', |
| 49 'android/webmediaplayer_android.cc', | 44 'android/webmediaplayer_android.cc', |
| 50 'android/webmediaplayer_android.h', | 45 'android/webmediaplayer_android.h', |
| 51 'android/webmediaplayer_manager_android.cc', | 46 'android/webmediaplayer_manager_android.cc', |
| 52 'android/webmediaplayer_manager_android.h', | 47 'android/webmediaplayer_manager_android.h', |
| 53 'android/webmediaplayer_proxy_android.cc', | 48 'android/webmediaplayer_proxy_android.cc', |
| 54 'android/webmediaplayer_proxy_android.h', | 49 'android/webmediaplayer_proxy_android.h', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 'webmediaplayer_params.cc', | 85 'webmediaplayer_params.cc', |
| 91 'webmediaplayer_params.h', | 86 'webmediaplayer_params.h', |
| 92 'webmediaplayer_util.cc', | 87 'webmediaplayer_util.cc', |
| 93 'webmediaplayer_util.h', | 88 'webmediaplayer_util.h', |
| 94 'webmediasourceclient_impl.cc', | 89 'webmediasourceclient_impl.cc', |
| 95 'webmediasourceclient_impl.h', | 90 'webmediasourceclient_impl.h', |
| 96 'websourcebuffer_impl.cc', | 91 'websourcebuffer_impl.cc', |
| 97 'websourcebuffer_impl.h', | 92 'websourcebuffer_impl.h', |
| 98 ], | 93 ], |
| 99 'conditions': [ | 94 'conditions': [ |
| 100 ['inside_chromium_build == 0', { | |
| 101 'dependencies': [ | |
| 102 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | |
| 103 ], | |
| 104 }], | |
| 105 ['OS == "android"', { | 95 ['OS == "android"', { |
| 106 'sources!': [ | 96 'sources!': [ |
| 107 'audio_decoder.cc', | 97 'audio_decoder.cc', |
| 108 'audio_decoder.h', | 98 'audio_decoder.h', |
| 109 'filter_helpers.cc', | 99 'filter_helpers.cc', |
| 110 'filter_helpers.h', | 100 'filter_helpers.h', |
| 111 'webmediaplayer_impl.cc', | 101 'webmediaplayer_impl.cc', |
| 112 'webmediaplayer_impl.h', | 102 'webmediaplayer_impl.h', |
| 113 'webmediaplayer_proxy.cc', | 103 'webmediaplayer_proxy.cc', |
| 114 'webmediaplayer_proxy.h', | 104 'webmediaplayer_proxy.h', |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 '-Wl,-exported_symbol,_PPP_InitializeModule', | 231 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 242 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 232 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 243 ], | 233 ], |
| 244 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 234 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
| 245 }, | 235 }, |
| 246 }], | 236 }], |
| 247 ], | 237 ], |
| 248 } | 238 } |
| 249 ], | 239 ], |
| 250 } | 240 } |
| OLD | NEW |