summaryrefslogtreecommitdiff
path: root/java/builder.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-03-05 12:43:14 -0800
committer Colin Cross <ccross@android.com> 2020-03-05 20:46:15 +0000
commit1ec3fce9b6c4e2867ec333ce72de8d51a7f1b59e (patch)
treed5c014d9a4899e060b021188b7156dd8a1b0945b /java/builder.go
parent8f20563514e561751ed1dc03e6553c944e3ac6ab (diff)
Disable goma for javac actions in Soong
goma can't handle the --system argument that Android must pass to javac. Bug: b/143658984 Test: treehugger Change-Id: I207668d8baa4ab28160938732a38f696aeac3f44
Diffstat (limited to 'java/builder.go')
-rw-r--r--java/builder.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/builder.go b/java/builder.go
index f9b53674d..3a0247d1e 100644
--- a/java/builder.go
+++ b/java/builder.go
@@ -38,7 +38,8 @@ 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.AndroidRemoteStaticRule("javac", android.RemoteRuleSupports{Goma: true, RBE: true, RBEFlag: android.RBE_JAVAC},
+ // TODO(b/143658984): goma can't handle the --system argument to javac.
+ javac = pctx.AndroidRemoteStaticRule("javac", android.RemoteRuleSupports{Goma: false, RBE: true, RBEFlag: android.RBE_JAVAC},
blueprint.RuleParams{
Command: `rm -rf "$outDir" "$annoDir" "$srcJarDir" && mkdir -p "$outDir" "$annoDir" "$srcJarDir" && ` +
`${config.ZipSyncCmd} -d $srcJarDir -l $srcJarDir/list -f "*.java" $srcJars && ` +