diff options
Diffstat (limited to 'third_party/widevine/cdm/widevine_cdm.gyp')
-rw-r--r-- | third_party/widevine/cdm/widevine_cdm.gyp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp index 01cd4e5..1d266f7 100644 --- a/third_party/widevine/cdm/widevine_cdm.gyp +++ b/third_party/widevine/cdm/widevine_cdm.gyp @@ -77,6 +77,10 @@ 'type': 'loadable_module', 'mac_bundle': 1, 'product_extension': 'plugin', + 'libraries': [ + # Copied by widevine_cdm_binaries. + '<(PRODUCT_DIR)/libwidevinecdm.dylib', + ], 'xcode_settings': { 'OTHER_LDFLAGS': [ # Not to strip important symbols by -Wl,-dead_strip. @@ -84,6 +88,15 @@ '-Wl,-exported_symbol,_PPP_InitializeModule', '-Wl,-exported_symbol,_PPP_ShutdownModule' ]}, + 'copies': [ + { + 'destination': + '<(PRODUCT_DIR)/widevinecdmadapter.plugin/Contents/MacOS/', + 'files': [ + '<(PRODUCT_DIR)/libwidevinecdm.dylib', + ] + } + ] }], ], }], |