Index: third_party/widevine/cdm/widevine_cdm.gyp |
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp |
index 2ace05fef402f7ca0d346364c5a84571af7fd47b..0dd7ab26f0bdaceef4ea0fb66924b96ae313674b 100644 |
--- a/third_party/widevine/cdm/widevine_cdm.gyp |
+++ b/third_party/widevine/cdm/widevine_cdm.gyp |
@@ -7,7 +7,7 @@ |
'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', |
'widevine_cdm_binary_files%': [], |
'conditions': [ |
- [ 'branding == "Chrome"', { |
+ [ 'enable_widevine == 1', { |
'conditions': [ |
[ 'chromeos == 1', { |
'widevine_cdm_version_h_file%': |
@@ -38,12 +38,12 @@ |
'win/<(target_arch)/widevinecdm.dll.lib', |
], |
}], |
+ [ 'OS == "android"', { |
+ 'widevine_cdm_version_h_file%': |
+ 'android/widevine_cdm_version.h', |
+ }], |
], |
}], |
- [ 'OS == "android"', { |
- 'widevine_cdm_version_h_file%': |
- 'android/widevine_cdm_version.h', |
- }], |
], |
}, |
'includes': [ |