| 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 }], |
| 8 ['OS == "android" or OS == "ios"', { | 13 ['OS == "android" or OS == "ios"', { |
| 9 # Android and iOS don't use ffmpeg. | 14 # Android and iOS don't use ffmpeg. |
| 10 'use_ffmpeg%': 0, | 15 'use_ffmpeg%': 0, |
| 11 }, { # 'OS != "android" and OS != "ios"' | 16 }, { # 'OS != "android" and OS != "ios"' |
| 12 'use_ffmpeg%': 1, | 17 'use_ffmpeg%': 1, |
| 13 }], | 18 }], |
| 14 ], | 19 ], |
| 15 # Set |use_fake_video_decoder| to 1 to ignore input frames in |clearkeycdm|, | 20 # Set |use_fake_video_decoder| to 1 to ignore input frames in |clearkeycdm|, |
| 16 # and produce video frames filled with a solid color instead. | 21 # and produce video frames filled with a solid color instead. |
| 17 'use_fake_video_decoder%': 0, | 22 'use_fake_video_decoder%': 0, |
| 18 # Set |use_libvpx| to 1 to use libvpx for VP8 decoding in |clearkeycdm|. | 23 # Set |use_libvpx| to 1 to use libvpx for VP8 decoding in |clearkeycdm|. |
| 19 'use_libvpx%': 0, | 24 'use_libvpx%': 0, |
| 20 }, | 25 }, |
| 21 'targets': [ | 26 'targets': [ |
| 22 { | 27 { |
| 23 'target_name': 'webkit_media', | 28 'target_name': 'webkit_media', |
| 24 'type': 'static_library', | 29 'type': 'static_library', |
| 25 'variables': { 'enable_wexit_time_destructors': 1, }, | 30 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 26 'include_dirs': [ | 31 'include_dirs': [ |
| 27 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems.cc. | 32 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems.cc. |
| 28 ], | 33 ], |
| 29 'dependencies': [ | 34 'dependencies': [ |
| 30 '<(DEPTH)/base/base.gyp:base', | 35 '<(DEPTH)/base/base.gyp:base', |
| 31 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 36 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 32 '<(DEPTH)/media/media.gyp:shared_memory_support', | 37 '<(DEPTH)/media/media.gyp:shared_memory_support', |
| 33 '<(DEPTH)/media/media.gyp:yuv_convert', | 38 '<(DEPTH)/media/media.gyp:yuv_convert', |
| 34 '<(DEPTH)/skia/skia.gyp:skia', | 39 '<(DEPTH)/skia/skia.gyp:skia', |
| 35 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version
_h', | 40 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version
_h', |
| 41 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 36 ], | 42 ], |
| 37 'sources': [ | 43 'sources': [ |
| 38 'android/audio_decoder_android.cc', | 44 'android/audio_decoder_android.cc', |
| 39 'android/media_player_bridge_manager_impl.cc', | 45 'android/media_player_bridge_manager_impl.cc', |
| 40 'android/media_player_bridge_manager_impl.h', | 46 'android/media_player_bridge_manager_impl.h', |
| 41 'android/stream_texture_factory_android.h', | 47 'android/stream_texture_factory_android.h', |
| 42 'android/webmediaplayer_android.cc', | 48 'android/webmediaplayer_android.cc', |
| 43 'android/webmediaplayer_android.h', | 49 'android/webmediaplayer_android.h', |
| 44 'android/webmediaplayer_impl_android.cc', | 50 'android/webmediaplayer_impl_android.cc', |
| 45 'android/webmediaplayer_impl_android.h', | 51 'android/webmediaplayer_impl_android.h', |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 # Not to strip important symbols by -Wl,-dead_strip. | 215 # Not to strip important symbols by -Wl,-dead_strip. |
| 210 '-Wl,-exported_symbol,_PPP_GetInterface', | 216 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 211 '-Wl,-exported_symbol,_PPP_InitializeModule', | 217 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 212 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 218 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 213 ]}, | 219 ]}, |
| 214 }], | 220 }], |
| 215 ], | 221 ], |
| 216 } | 222 } |
| 217 ], | 223 ], |
| 218 } | 224 } |
| OLD | NEW |