summaryrefslogtreecommitdiff
path: root/java/builder.go
diff options
context:
space:
mode:
author Ramy Medhat <abdelaal@google.com> 2019-11-04 18:16:11 -0500
committer Colin Cross <ccross@android.com> 2019-11-05 22:57:35 +0000
commitdd0418a4d4790252b1b1c13eedbebbf09bd4d76e (patch)
tree20ae046dba7186caf10e51ec29dfa96e25220de2 /java/builder.go
parent1f056cd69d5d6e5e720a028fea345e09e3508ffe (diff)
Run non-RBE supported actions in the local pool when USE_RBE is set.
Bug: 143938974 Test: ran CTS build at -j500 successfully. Change-Id: I55074bd67308cd716972e24fb56a20bc393d5d9d
Diffstat (limited to 'java/builder.go')
-rw-r--r--java/builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/builder.go b/java/builder.go
index 169d85318..3380420f6 100644
--- a/java/builder.go
+++ b/java/builder.go
@@ -38,7 +38,7 @@ var (
// this, all java rules write into separate directories and then are combined into a .jar file
// (if the rule produces .class files) or a .srcjar file (if the rule produces .java files).
// .srcjar files are unzipped into a temporary directory when compiled with javac.
- javac = pctx.AndroidGomaStaticRule("javac",
+ javac = pctx.AndroidRemoteStaticRule("javac", android.SUPPORTS_GOMA,
blueprint.RuleParams{
Command: `rm -rf "$outDir" "$annoDir" "$srcJarDir" && mkdir -p "$outDir" "$annoDir" "$srcJarDir" && ` +
`${config.ZipSyncCmd} -d $srcJarDir -l $srcJarDir/list -f "*.java" $srcJars && ` +