aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-08-23 23:07:39 +0000
committerGravatar John Cater <jcater@google.com>2016-08-24 00:54:57 +0000
commitd5e9b3903bc16ef46134adf43ec4c38f0d14f72d (patch)
tree768e927bb9b48aadcdc742c24a5d3af1e2b18ac5 /src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java
parente96c132642d681bdba5be2ad50d11e986ee06f25 (diff)
Optional reuse of classpath from previous compile saved in memory, as it
appears in the jdeps file. These are the minimum inputs needed by the JavaCompileAction to obtain the correct result when classpath order and source files remain unchanged. Uses existing --java_classpath flag to toggle between 'javabuilder' (current released behavior) and new 'experimental_blaze' (minimum classpath and Spawn inputs). Handles failure of minimal action by falling back to existing compilation behavior when needed. The new Spawn does not use a parameter file, but puts all arguments directly on the command line. -- MOS_MIGRATED_REVID=131109163
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java
index c7eec0495f..bbb5432517 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java
@@ -48,7 +48,7 @@ public final class JavaConfiguration extends Fragment {
/** JavaBuilder computes the reduced classpath before invoking javac. */
JAVABUILDER,
/** Blaze computes the reduced classpath before invoking JavaBuilder. */
- BLAZE
+ EXPERIMENTAL_BLAZE
}
/**