Resolve merge conflicts of "Check UseRBE is set before replacing any template with the RE version." am: 3e0b9c031c
am: 4e2977ee81
am: e78212a55c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15747538 Bug: b/198045383 Merged-In: I6df58b4e700f0d231367af2710672d731d20a736 Change-Id: Ide5966e039ae5232438946fa064d8621088bc1ee
This commit is contained in:
@@ -222,7 +222,7 @@ func (j *Module) compileDex(ctx android.ModuleContext, flags javaBuilderFlags,
|
||||
"outDict": j.proguardDictionary.String(),
|
||||
"outDir": outDir.String(),
|
||||
}
|
||||
if ctx.Config().IsEnvTrue("RBE_R8") {
|
||||
if ctx.Config().UseRBE() && ctx.Config().IsEnvTrue("RBE_R8") {
|
||||
rule = r8RE
|
||||
args["implicits"] = strings.Join(r8Deps.Strings(), ",")
|
||||
}
|
||||
@@ -238,7 +238,7 @@ func (j *Module) compileDex(ctx android.ModuleContext, flags javaBuilderFlags,
|
||||
} else {
|
||||
d8Flags, d8Deps := j.d8Flags(ctx, flags)
|
||||
rule := d8
|
||||
if ctx.Config().IsEnvTrue("RBE_D8") {
|
||||
if ctx.Config().UseRBE() && ctx.Config().IsEnvTrue("RBE_D8") {
|
||||
rule = d8RE
|
||||
}
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
|
Reference in New Issue
Block a user