aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-11-17 01:07:56 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-11-17 18:18:25 +0000
commit7270ec4977813c61a6a5784011e6c433d8761763 (patch)
tree2104a9d425825d86d8811cc9608ba31be9cf3fe9 /src/main/java/com
parent047bfddc702a83ad630638f5d5584a164398ff33 (diff)
Respect --incremental_dexing flag in host configuration.
-- MOS_MIGRATED_REVID=139400647
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidConfiguration.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidConfiguration.java
index d819df0f81..cab35ff18d 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidConfiguration.java
@@ -302,12 +302,11 @@ public class AndroidConfiguration extends BuildConfiguration.Fragment {
+ "Jack and Jill.")
public boolean incrementalDexing;
- // Do not use on the command line and instead flip this default globally.
@Option(name = "host_incremental_dexing",
defaultValue = "false",
category = "hidden",
- help = "Does most of the work for dexing separately for each Jar file that's part of an "
- + "Android binary built in host configuration.")
+ help = "This flag is deprecated in favor of applying --incremental_dexing to both host "
+ + "and target configuration. This flag will be removed in a future release.")
public boolean hostIncrementalDexing;
// Do not use on the command line.
@@ -426,7 +425,7 @@ public class AndroidConfiguration extends BuildConfiguration.Fragment {
host.fatApkCpus = ImmutableList.<String>of(); // Fat APK archs don't apply to the host.
host.desugarJava8 = desugarJava8;
- host.incrementalDexing = hostIncrementalDexing;
+ host.incrementalDexing = incrementalDexing;
host.incrementalDexingBinaries = incrementalDexingBinaries;
host.nonIncrementalPerTargetDexopts = nonIncrementalPerTargetDexopts;
host.dexoptsSupportedInIncrementalDexing = dexoptsSupportedInIncrementalDexing;