| 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 ['OS == "android" or OS == "ios"', { | 8 ['OS == "android" or OS == "ios"', { |
| 9 # Android and iOS don't use ffmpeg. | 9 # Android and iOS don't use ffmpeg. |
| 10 'use_ffmpeg%': 0, | 10 'use_ffmpeg%': 0, |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 { | 110 { |
| 111 'target_name': 'clearkeycdm', | 111 'target_name': 'clearkeycdm', |
| 112 'type': 'none', | 112 'type': 'none', |
| 113 'conditions': [ | 113 'conditions': [ |
| 114 ['use_ffmpeg == 1' , { | 114 ['use_ffmpeg == 1' , { |
| 115 'defines': ['CLEAR_KEY_CDM_USE_FFMPEG_DECODER'], | 115 'defines': ['CLEAR_KEY_CDM_USE_FFMPEG_DECODER'], |
| 116 'dependencies': [ | 116 'dependencies': [ |
| 117 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 117 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 118 ], | 118 ], |
| 119 'sources': [ | 119 'sources': [ |
| 120 'crypto/ppapi/ffmpeg_cdm_audio_decoder.cc', |
| 121 'crypto/ppapi/ffmpeg_cdm_audio_decoder.h', |
| 120 'crypto/ppapi/ffmpeg_cdm_video_decoder.cc', | 122 'crypto/ppapi/ffmpeg_cdm_video_decoder.cc', |
| 121 'crypto/ppapi/ffmpeg_cdm_video_decoder.h', | 123 'crypto/ppapi/ffmpeg_cdm_video_decoder.h', |
| 122 ], | 124 ], |
| 123 }], | 125 }], |
| 124 ['os_posix == 1 and OS != "mac"', { | 126 ['os_posix == 1 and OS != "mac"', { |
| 125 'type': 'loadable_module', # Must be in PRODUCT_DIR for ASAN bots. | 127 'type': 'loadable_module', # Must be in PRODUCT_DIR for ASAN bots. |
| 126 }, { # 'os_posix != 1 or OS == "mac"' | 128 }, { # 'os_posix != 1 or OS == "mac"' |
| 127 'type': 'shared_library', | 129 'type': 'shared_library', |
| 128 }], | 130 }], |
| 129 ], | 131 ], |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 # Not to strip important symbols by -Wl,-dead_strip. | 174 # Not to strip important symbols by -Wl,-dead_strip. |
| 173 '-Wl,-exported_symbol,_PPP_GetInterface', | 175 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 174 '-Wl,-exported_symbol,_PPP_InitializeModule', | 176 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 175 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 177 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 176 ]}, | 178 ]}, |
| 177 }], | 179 }], |
| 178 ], | 180 ], |
| 179 } | 181 } |
| 180 ], | 182 ], |
| 181 } | 183 } |
| OLD | NEW |