Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine