summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.h
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-01-31 15:00:53 +0800
committer Treehugger Robot <treehugger-gerrit@google.com> 2023-02-06 14:18:01 +0000
commit705172506b04980a89366f395f0fe832faa08c1f (patch)
tree7337034083c0b368624aa390e58dd76eaa6ef7e0 /compiler/optimizing/loop_optimization.h
parent394551feacebf565ccf10cb8b10eca8ad5d71494 (diff)
Run dex2oat if the APK is compressed.
This CL updates OatFileAssistant. After this change, if the APK is compressed and the current oat file doesn't contain dex code, OatFileAssistant::GetDexOptNeeded will return true. Bug: 267143543 Test: atest art_standalone_runtime_tests:OatFileAssistantTest Test: - 1. Install a compressed APK and a DM file that only contains a VDEX file. 2. See dex2oat invoked. Test: - 1. Install an uncompressed APK and a DM file that only contains a VDEX file. 2. See dex2oat not invoked. Change-Id: If057858a614e493e00d58463af20e723f98e68b5 Merged-In: If057858a614e493e00d58463af20e723f98e68b5 (partially picked from commit c98ed72511453b8efc25e6d1047a04c1d8db374b) Change-Id: I21e0a63a5fae56ba373aee9e6179a991b3e7b2ee
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions