diff options
| author | 2020-01-28 19:49:05 +0000 | |
|---|---|---|
| committer | 2020-01-28 19:49:05 +0000 | |
| commit | 5e0dbe4e3e39e82f74a88cc55d823e10e3b85b62 (patch) | |
| tree | 280cc65a0fdb72274aab2534ef70873c15216c8f /java/builder.go | |
| parent | 76fde9212a5d671dc4ff638c7d30603ce5432225 (diff) | |
| parent | 8ea054a81e3249d33ef29672c8a67025d90b4551 (diff) | |
Merge "Add support for experimentally enabling RBE support on specific rules."
Diffstat (limited to 'java/builder.go')
| -rw-r--r-- | java/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/builder.go b/java/builder.go index 26a49ea53..f9b53674d 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.AndroidRemoteStaticRule("javac", android.SUPPORTS_GOMA, + javac = pctx.AndroidRemoteStaticRule("javac", android.RemoteRuleSupports{Goma: true, 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 && ` + |