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

Unified Diff: ppapi/features/features.gni

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 years, 1 month 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 | « ppapi/features/BUILD.gn ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/features/features.gni
diff --git a/ppapi/features/features.gni b/ppapi/features/features.gni
index b28feac0fdf00acc0179731028e0d6be442b06a6..559373e9794b8f2f4e1ce7acc535f4e656af8b57 100644
--- a/ppapi/features/features.gni
+++ b/ppapi/features/features.gni
@@ -2,8 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/chromecast_build.gni")
import("//build/config/features.gni")
+declare_args() {
+ enable_plugins = (!is_android && !is_ios) || is_chromecast
+}
+
# Enables the use of CDMs in pepper plugins.
#
# This is available as a buildflag for C++ preprocessor, see
« no previous file with comments | « ppapi/features/BUILD.gn ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698