Check UseRBE is set before replacing any template with the RE version.
Test: presubmit Change-Id: I6df58b4e700f0d231367af2710672d731d20a736
This commit is contained in:
@@ -648,7 +648,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
|
||||
a.container_certificate_file,
|
||||
a.container_private_key_file,
|
||||
}
|
||||
if ctx.Config().IsEnvTrue("RBE_SIGNAPK") {
|
||||
if ctx.Config().UseRBE() && ctx.Config().IsEnvTrue("RBE_SIGNAPK") {
|
||||
rule = java.SignapkRE
|
||||
args["implicits"] = strings.Join(implicits.Strings(), ",")
|
||||
args["outCommaList"] = a.outputFile.String()
|
||||
|
Reference in New Issue
Block a user