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

Unified Diff: build/config/features.gni

Issue 1419103010: Aura on Android: Compile extensions gn target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compile_extensions_browser
Patch Set: Updated the comment. Created 5 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 | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/browser/extensions/component_loader.cc » ('J')
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 c31c7cb6eba7bd617d9e227674313dbc6295b8ad..4500ef7b947891fb42af6073b82a75bf97b44fa8 100644
--- a/build/config/features.gni
+++ b/build/config/features.gni
@@ -24,7 +24,11 @@ declare_args() {
# Multicast DNS.
enable_mdns = is_win || is_linux
- enable_plugins = (!is_android && !is_ios) || is_chromecast
+ # We enable plugins on android if use_aura has been explicitly set to true.
+ # use_aura is assigned a value in ui.gni, so it will be undefined here unless
brettw 2015/11/12 18:56:27 The fact that build args are set globally is a bug
Hadi 2015/11/17 16:49:58 Removed the changes to features.gni per internal d
+ # it was explicitly provided in the build arguments.
+ enable_plugins = (!is_android && !is_ios) || is_chromecast ||
+ (defined(use_aura) && use_aura)
enable_pdf = !is_android && !is_ios && !is_chromecast
# Enables Native Client support.
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/browser/extensions/component_loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698