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

Unified Diff: build/config/features.gni

Issue 1266693005: [Chromecast] Allow |enable_pepper_cdms| to be set in gn args. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « no previous file | chromecast/build/args.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/features.gni
diff --git a/build/config/features.gni b/build/config/features.gni
index 50993dfc7d1dd345641269b97f15162fd9d1a2b8..16b5b3be9de14cf225141bb3499836f5ddf26010 100644
--- a/build/config/features.gni
+++ b/build/config/features.gni
@@ -93,6 +93,10 @@ declare_args() {
# (e.g. Android and ChromeCast) that use a browser side CDM.
enable_browser_cdms = is_android
+ # Enables the use of CDMs in pepper plugins. Chromecast requires that this
+ # can be explicitly disabled in gn args.
+ enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win)
+
# Variable safe_browsing is used to control the build time configuration
# for safe browsing feature. Safe browsing can be compiled in 4 different
# levels: 0 disables it, 1 enables it fully, and 2 enables only UI and
@@ -129,8 +133,6 @@ enable_spellcheck = !is_ios
# Use the operating system's spellchecker rather than hunspell.
use_platform_spellchecker = is_android || is_mac
-enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win)
-
# Enable basic printing support and UI.
enable_basic_printing = !is_chromeos
« no previous file with comments | « no previous file | chromecast/build/args.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698