summaryrefslogtreecommitdiffstats
path: root/third_party/widevine/cdm
diff options
context:
space:
mode:
authorddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 01:25:25 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 01:25:25 +0000
commit346bedcfce9f487c99147f63a131d06a4621f4dc (patch)
tree31660d303d3b9b475507578894383dd4d45587a1 /third_party/widevine/cdm
parent0d520268c517e86bc48a5caebde23ca631fa3032 (diff)
downloadchromium_src-346bedcfce9f487c99147f63a131d06a4621f4dc.zip
chromium_src-346bedcfce9f487c99147f63a131d06a4621f4dc.tar.gz
chromium_src-346bedcfce9f487c99147f63a131d06a4621f4dc.tar.bz2
Build the CDM adapter on Mac and include it in the Chrome bundle.
BUG=180260,237636 R=xhwang@chromium.org Review URL: https://codereview.chromium.org/14732006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/widevine/cdm')
-rw-r--r--third_party/widevine/cdm/widevine_cdm.gyp9
1 files changed, 6 insertions, 3 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp
index 0172ea8..67efd99 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -73,19 +73,22 @@
[ 'OS == "win" and 0', {
'type': 'shared_library',
}],
- [ 'OS == "mac" and 0', {
+ [ 'OS == "mac"', {
'type': 'loadable_module',
'product_extension': 'plugin',
'libraries': [
# Copied by widevine_cdm_binaries.
- '<(PRODUCT_DIR)/libwidevinecdm.dylib',
+ # See http://crbug.com/237636.
+ #'<(PRODUCT_DIR)/libwidevinecdm.dylib',
],
'xcode_settings': {
'OTHER_LDFLAGS': [
# Not to strip important symbols by -Wl,-dead_strip.
'-Wl,-exported_symbol,_PPP_GetInterface',
'-Wl,-exported_symbol,_PPP_InitializeModule',
- '-Wl,-exported_symbol,_PPP_ShutdownModule'
+ '-Wl,-exported_symbol,_PPP_ShutdownModule',
+ # See http://crbug.com/237636.
+ '-Wl,-undefined,dynamic_lookup',
],
'DYLIB_INSTALL_NAME_BASE': '@loader_path',
},