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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 }, | 174 }, |
175 { | 175 { |
176 'target_name': 'clearkeycdmplugin', | 176 'target_name': 'clearkeycdmplugin', |
177 'type': 'none', | 177 'type': 'none', |
178 'dependencies': [ | 178 'dependencies': [ |
179 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', | 179 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', |
180 'clearkeycdm', | 180 'clearkeycdm', |
181 ], | 181 ], |
182 'sources': [ | 182 'sources': [ |
183 'crypto/ppapi/cdm_wrapper.cc', | 183 'crypto/ppapi/cdm_wrapper.cc', |
184 'crypto/ppapi/content_decryption_module.h', | 184 'crypto/ppapi/cdm/content_decryption_module.h', |
185 'crypto/ppapi/linked_ptr.h', | 185 'crypto/ppapi/linked_ptr.h', |
186 ], | 186 ], |
187 'conditions': [ | 187 'conditions': [ |
188 ['os_posix == 1 and OS != "mac"', { | 188 ['os_posix == 1 and OS != "mac"', { |
189 'cflags': ['-fvisibility=hidden'], | 189 'cflags': ['-fvisibility=hidden'], |
190 'type': 'loadable_module', | 190 'type': 'loadable_module', |
191 # Allow the plugin wrapper to find the CDM in the same directory. | 191 # Allow the plugin wrapper to find the CDM in the same directory. |
192 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], | 192 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], |
193 'libraries': [ | 193 'libraries': [ |
194 # Built by clearkeycdm. | 194 # Built by clearkeycdm. |
(...skipping 12 matching lines...) Expand all Loading... |
207 # Not to strip important symbols by -Wl,-dead_strip. | 207 # Not to strip important symbols by -Wl,-dead_strip. |
208 '-Wl,-exported_symbol,_PPP_GetInterface', | 208 '-Wl,-exported_symbol,_PPP_GetInterface', |
209 '-Wl,-exported_symbol,_PPP_InitializeModule', | 209 '-Wl,-exported_symbol,_PPP_InitializeModule', |
210 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 210 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
211 ]}, | 211 ]}, |
212 }], | 212 }], |
213 ], | 213 ], |
214 } | 214 } |
215 ], | 215 ], |
216 } | 216 } |
OLD | NEW |