Enable the worker strategy for Javac in Bazel during bootstrap.
Bazel builds 4x faster than before, which also speeds up CI and running the test suite.
--
MOS_MIGRATED_REVID=107067655
diff --git a/scripts/bootstrap/bootstrap.sh b/scripts/bootstrap/bootstrap.sh
index b153bad..11debd8 100755
--- a/scripts/bootstrap/bootstrap.sh
+++ b/scripts/bootstrap/bootstrap.sh
@@ -33,7 +33,8 @@
: ${BAZEL_ARGS="--singlejar_top=//src/java_tools/singlejar:bootstrap_deploy.jar \
--javabuilder_top=//src/java_tools/buildjar:bootstrap_deploy.jar \
--genclass_top=//src/java_tools/buildjar:bootstrap_genclass_deploy.jar \
- --ijar_top=//third_party/ijar"}
+ --ijar_top=//third_party/ijar \
+ --strategy=Javac=worker --worker_quit_after_build"}
function bazel_bootstrap() {
local mode=${3:-"0644"}