diff options
author | 2020-06-04 13:03:41 +0100 | |
---|---|---|
committer | 2020-06-04 20:28:21 +0100 | |
commit | 95d6ea3781f0b94c6630100249b25c579f81a6fd (patch) | |
tree | 2443d72dca836b2b05a8782ac3be72c35f71f09b /java/dexpreopt.go | |
parent | 08802338fb88f48ecc11351d03427b460b999054 (diff) |
Don't disable dexpreopting implicitly in unbundled builds.
Test: art/test/testrunner/run_build_test_target.py art-linux-bionic-x64
with TARGET_BUILD_UNBUNDLED enabled in the build scripts
Test: art/test/testrunner/testrunner.py --target --64 --optimizing
with TARGET_BUILD_UNBUNDLED enabled in chroot on device
Bug: 157549171
Change-Id: I124c341d1801c4afa22f836dd567019de3e9498e
Diffstat (limited to 'java/dexpreopt.go')
-rw-r--r-- | java/dexpreopt.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/java/dexpreopt.go b/java/dexpreopt.go index 4725b0781..155dbe954 100644 --- a/java/dexpreopt.go +++ b/java/dexpreopt.go @@ -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 } |