summaryrefslogtreecommitdiffstats
path: root/third_party/widevine
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/widevine')
-rw-r--r--third_party/widevine/cdm/widevine_cdm.gyp22
1 files changed, 10 insertions, 12 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp
index 72da8da..a19500c 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -48,7 +48,7 @@
'target_name': 'widevinecdmadapter',
'type': 'none',
'conditions': [
- [ 'branding == "Chrome"', {
+ [ 'branding == "Chrome" and OS != "android" or OS != "ios"', {
'dependencies': [
'<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp',
'widevine_cdm_version_h',
@@ -65,17 +65,15 @@
'type': 'loadable_module',
# Allow the plugin wrapper to find the CDM in the same directory.
'ldflags': ['-Wl,-rpath=\$$ORIGIN'],
- }],
- [ 'chromeos == 1 and target_arch == "arm"', {
- 'libraries': [
- # Copied by widevine_cdm_binaries.
- '<(PRODUCT_DIR)/libwidevinecdm.so',
- ],
- }],
- [ 'chromeos == 0 and OS == "linux" and target_arch == "x64"', {
- 'libraries': [
- # Copied by widevine_cdm_binaries.
- '<(PRODUCT_DIR)/libwidevinecdm.so',
+ 'conditions': [
+ # We have binaries for Linux ia32 & x64 and Chrome OS ARM. The
+ # build fails if we add the dependency for Chrome OS ia32 & x64.
+ [ 'chromeos == 0 or target_arch == "arm"', {
+ 'libraries': [
+ # Copied by widevine_cdm_binaries.
+ '<(PRODUCT_DIR)/libwidevinecdm.so',
+ ],
+ }],
],
}],
[ 'OS == "win" and 0', {