Revert "Remove old-style support for translated second architectures"
This reverts commit fe6330c7d2
.
Reason for revert: this was accidentally propping up NDK builds
Bug: 141242600
Change-Id: Ie9f8e31479a74e8e9e14d720a5936da6b1d5d113
This commit is contained in:
@@ -126,6 +126,10 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo
|
||||
archs = archs[:1]
|
||||
}
|
||||
}
|
||||
if ctx.Config().SecondArchIsTranslated() {
|
||||
// Only preopt primary arch for translated arch since there is only an image there.
|
||||
archs = archs[:1]
|
||||
}
|
||||
|
||||
var images android.Paths
|
||||
var imagesDeps []android.Paths
|
||||
|
Reference in New Issue
Block a user