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', { | 8 ['inside_chromium_build==0', { |
9 'webkit_src_dir': '../../../../..', | 9 'webkit_src_dir': '../../../../..', |
10 },{ | 10 },{ |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 '<(PRODUCT_DIR)/libclearkeycdm.so', | 226 '<(PRODUCT_DIR)/libclearkeycdm.so', |
227 ], | 227 ], |
228 }], | 228 }], |
229 ['OS == "win"', { | 229 ['OS == "win"', { |
230 'type': 'shared_library', | 230 'type': 'shared_library', |
231 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 231 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
232 'msvs_disabled_warnings': [ 4267, ], | 232 'msvs_disabled_warnings': [ 4267, ], |
233 }], | 233 }], |
234 ['OS == "mac"', { | 234 ['OS == "mac"', { |
235 'type': 'loadable_module', | 235 'type': 'loadable_module', |
236 'mac_bundle': 1, | |
237 'product_extension': 'plugin', | 236 'product_extension': 'plugin', |
238 'xcode_settings': { | 237 'xcode_settings': { |
239 'OTHER_LDFLAGS': [ | 238 'OTHER_LDFLAGS': [ |
240 # Not to strip important symbols by -Wl,-dead_strip. | 239 # Not to strip important symbols by -Wl,-dead_strip. |
241 '-Wl,-exported_symbol,_PPP_GetInterface', | 240 '-Wl,-exported_symbol,_PPP_GetInterface', |
242 '-Wl,-exported_symbol,_PPP_InitializeModule', | 241 '-Wl,-exported_symbol,_PPP_InitializeModule', |
243 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 242 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
244 ]}, | 243 ], |
245 'copies': [ | 244 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
246 { | 245 }, |
247 'destination': '<(PRODUCT_DIR)/clearkeycdmadapter.plugin/Contents/
MacOS/', | |
248 'files': [ | |
249 '<(PRODUCT_DIR)/libclearkeycdm.dylib', | |
250 '<(PRODUCT_DIR)/ffmpegsumo.so' | |
251 ] | |
252 } | |
253 ] | |
254 }], | 246 }], |
255 ], | 247 ], |
256 } | 248 } |
257 ], | 249 ], |
258 } | 250 } |
OLD | NEW |