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

Unified Diff: build/config/features.gni

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: Switch to enable_widevine_cdm. 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: build/config/features.gni
diff --git a/build/config/features.gni b/build/config/features.gni
index ac48896601a78e999142b392c24dd3f77cf1b201..d89800c9f57007f6cfd4c1dd93a4359c88949238 100644
--- a/build/config/features.gni
+++ b/build/config/features.gni
@@ -39,6 +39,13 @@ declare_args() {
# Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3.
proprietary_codecs = false
+
+ # The Widevine CDM is enabled by default for Chrome builds, and is a platform
+ # feature on Android.
+ enable_widevine_cdm = is_chrome_branded || is_android
+
+ # Widevine is distributed as a component for Mac and Windows.
+ widevine_cdm_is_component = is_mac || is_win
ddorwin 2014/12/15 18:31:06 ditto on && chrome
sandersd (OOO until July 31) 2014/12/15 21:51:22 Done.
}
# Additional dependent variables -----------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698