Merge "Don't dexpreopt APEX variant modules"
This commit is contained in:
commit
72d009e1ec
|
@ -85,6 +85,11 @@ func (d *dexpreopter) dexpreoptDisabled(ctx android.ModuleContext) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// Don't preopt APEX variant module
|
||||
if am, ok := ctx.Module().(android.ApexModule); ok && !am.IsForPlatform() {
|
||||
return true
|
||||
}
|
||||
|
||||
// TODO: contains no java code
|
||||
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue