diff options
author | 2020-09-10 09:24:17 +0000 | |
---|---|---|
committer | 2020-09-10 09:24:17 +0000 | |
commit | 3e0b9c031caa7f004330d780d9d4631df3ee4bb3 (patch) | |
tree | f8bbc43c0de87044b613ee5a1ccd2e9a75e0ec84 /java/java.go | |
parent | 4f35976c87c24f4584ff8f86298c63c75f063be4 (diff) | |
parent | 16f23a4038d9156286a06ba757eaa9c1c86e562a (diff) |
Merge "Check UseRBE is set before replacing any template with the RE version."
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go index c568ec43d..eb8841732 100644 --- a/java/java.go +++ b/java/java.go @@ -1490,7 +1490,7 @@ func (j *Module) compile(ctx android.ModuleContext, aaptSrcJar android.Path) { args := map[string]string{ "jarArgs": "-P META-INF/services/ " + strings.Join(proptools.NinjaAndShellEscapeList(zipargs), " "), } - if ctx.Config().IsEnvTrue("RBE_ZIP") { + if ctx.Config().UseRBE() && ctx.Config().IsEnvTrue("RBE_ZIP") { rule = zipRE args["implicits"] = strings.Join(services.Strings(), ",") } |