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

Unified Diff: chrome/common/features.gni

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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: chrome/common/features.gni
diff --git a/chrome/common/features.gni b/chrome/common/features.gni
index 2e92745ca3b5ae136b5ec6bc9eaa1ee73abd98a1..3188c6c6244fb32fe5ef09c73d004f68ff0247d5 100644
--- a/chrome/common/features.gni
+++ b/chrome/common/features.gni
@@ -7,6 +7,12 @@
declare_args() {
enable_google_now = !is_ios && !is_android
+
+ # Whether the Java UI is being used (Java infobars and popups, Java native
+ # settings and first run experience, sign-in etc.).
+ # Default to true if compiling for android, but allow this being overriden
+ # through the environment.
+ android_java_ui = is_android
}
chrome_grit_defines = [ "enable_google_now=$enable_google_now" ]

Powered by Google App Engine
This is Rietveld 408576698