| 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
|
|
|