Fix capex build rule when building using RBE
Presubmit builds were failing cause they were being built using RBE. Bug: 172911362 Test: presubmit-builds are passing now Change-Id: I65ffd912ccf2f4fb8cb9824e7a9579f66908d7b3
This commit is contained in:
@@ -786,6 +786,9 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
|
||||
compressRule.Build("compressRule", "Generate unsigned compressed APEX file")
|
||||
|
||||
signedCompressedOutputFile := android.PathForModuleOut(ctx, a.Name()+".capex")
|
||||
if ctx.Config().UseRBE() && ctx.Config().IsEnvTrue("RBE_SIGNAPK") {
|
||||
args["outCommaList"] = signedCompressedOutputFile.String()
|
||||
}
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
Rule: rule,
|
||||
Description: "sign compressedApex",
|
||||
|
Reference in New Issue
Block a user