Merge "Don't dexpreopt APEX variant modules" am: 72d009e1ec
am: 47d80cdf79
Change-Id: I77aa5c70ecb39f9c18306fc0ab22ec9097ca450b
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user