diff options
author | Calin Juravle <calin@google.com> | 2017-07-17 15:12:01 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-10-31 14:51:57 -0700 |
commit | dea3fd8cf1000d786ff40e1036a8bf76a55d5fcd (patch) | |
tree | 410c1ad05d42c927224b122648d1fd5a6657e405 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3aeca17aa911394e7a4d2c1536b28423cb135b53 (diff) |
Refactor the arguments passed to dexopt invocations
Wrap the arguments passed to the various performDexopt calls into the
DexoptOptions object.
This will make adding extra arguments (like compile only a split) much
easier and avoid extending quite a few internal methods.
(cherry picked from commit 1d0e83d2cee794ba576d573119e826905a4422cd)
Bug: 38138251
Test: adb shell cmd package compile ....
adb shell cmd package bg-dexopt-job ...
install new apps and check that they compiled
runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptOptionsTests.java
Merged-In: Ia9930edd2dceb7535d6168eceb8e3199c82b6306
Change-Id: Ia9930edd2dceb7535d6168eceb8e3199c82b6306
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions