aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2016-06-14 16:35:47 +0000
committerGravatar Yue Gan <yueg@google.com>2016-06-15 08:40:23 +0000
commit761fbe61d14db5dd453d412b78a448c12d4acbda (patch)
tree0d8698fa71670320843c1763aa8346464625e6a9 /src
parent455e302228b62fd94320448a9f5d1fc3e65d7adf (diff)
Let Java header compilation run locally when --experimental_persistent_javac is used (otherwise Javac might run locally, but header compilation might use remote execution, which kills performance due to copying files back and forth).
-- MOS_MIGRATED_REVID=124847424
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/worker/WorkerOptions.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/worker/WorkerOptions.java b/src/main/java/com/google/devtools/build/lib/worker/WorkerOptions.java
index bf6fbe015e..73ef0c522b 100644
--- a/src/main/java/com/google/devtools/build/lib/worker/WorkerOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/worker/WorkerOptions.java
@@ -32,7 +32,8 @@ public class WorkerOptions extends OptionsBase {
"--strategy=Javac=worker",
"--strategy=JavaIjar=local",
"--strategy=JavaDeployJar=local",
- "--strategy=JavaSourceJar=local"
+ "--strategy=JavaSourceJar=local",
+ "--strategy=Turbine=local"
}
)
public Void experimentalPersistentJavac;