Merge "Cleanup usages of Dex2oatDepTag"

This commit is contained in:
Paul Duffin
2021-03-24 22:04:58 +00:00
committed by Gerrit Code Review
3 changed files with 16 additions and 10 deletions

View File

@@ -96,10 +96,6 @@ func (i BootImageInfo) AndroidBootImageFilesByArchType() map[android.ArchType]an
func (b *BootImageModule) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool {
tag := ctx.OtherModuleDependencyTag(dep)
if tag == dexpreopt.Dex2oatDepTag {
// The dex2oat tool is only needed for building and is not required in the apex.
return false
}
if android.IsMetaDependencyTag(tag) {
// Cross-cutting metadata dependencies are metadata.
return false