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

Unified Diff: media/media_options.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: 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: media/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index c2b470930784a99c50d4efe48b7f642365d3c39f..de802ae65330a4f7a09ac91f7ba4aeecf55074f6 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -49,6 +49,13 @@ declare_args() {
# the typical PPAPI based CDM is not available.
enable_browser_cdms = is_android
+ # Widevine CDM is enabled by default for Chrome builds, and is a platform
+ # feature on Android.
+ enable_widevine = is_chrome_branded || is_android
+
+ # Widevine is distributed as a component for Mac and Win.
+ widevine_cdm_is_component = is_mac || is_win
ddorwin 2014/12/02 23:31:56 ditto
+
# TODO(GYP): This should be a platform define.
is_openbsd = false
}

Powered by Google App Engine
This is Rietveld 408576698