Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/widevine/cdm/widevine_cdm.gyp

Issue 772043004: Replace WIDEVINE_CDM_AVAILABLE with a gyp define 'enable_widevine_cdm'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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': [

Powered by Google App Engine
This is Rietveld 408576698