Merge changes from topics "target-build-unbundled", "unbundled-preopt"

* changes:
  Don't disable dexpreopting implicitly in unbundled builds.
  Add TARGET_BUILD_UNBUNDLED as a variable to control builds.
This commit is contained in:
Martin Stjernholm
2020-06-11 10:01:59 +00:00
committed by Gerrit Code Review
4 changed files with 4 additions and 13 deletions

View File

@@ -77,10 +77,6 @@ func (d *dexpreopter) dexpreoptDisabled(ctx android.BaseModuleContext) bool {
return true
}
if ctx.Config().UnbundledBuild() {
return true
}
if d.isTest {
return true
}