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

Unified Diff: build/config/android/config.gni

Issue 2031033002: Adding option for Proguard jar to be switched. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed single newline Created 4 years, 6 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 | « base/android/java/templates/BuildConfig.template ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/config.gni
diff --git a/build/config/android/config.gni b/build/config/android/config.gni
index 30e73e47ec9a0f493b5cf821db560d05fd256b7e..300402a57dd1b640efdf58354ea68bd00d60a651 100644
--- a/build/config/android/config.gni
+++ b/build/config/android/config.gni
@@ -96,6 +96,11 @@ if (is_android) {
# Enables verbose proguard output (summaries and unfiltered output).
proguard_verbose = false
+ # Java debug on Android. Having this on enables multidexing, and turning it
+ # off will enable proguard. To access this flag from within Java code, look
+ # at BuildConfig.IS_DEBUG, which is wired to this arg.
+ is_java_debug = is_debug
+
# Set to true to enable the Errorprone compiler
use_errorprone_java_compiler = false
@@ -116,7 +121,7 @@ if (is_android) {
enable_incremental_javac = false
# Speed up dexing using dx --incremental.
- enable_incremental_dx = is_debug
+ enable_incremental_dx = is_java_debug
# Neither of these should ever be used for release builds since they are
# somewhat experimental and dx --incremental is known to not produce
« no previous file with comments | « base/android/java/templates/BuildConfig.template ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698