commit | cb44b11a926696e34b3dc44288e762b4303cc128 | [log] [tgz] |
---|---|---|
author | Richard Uhler <ruhler@google.com> | Wed Jun 24 08:44:19 2015 -0700 |
committer | Richard Uhler <ruhler@google.com> | Wed Jun 24 08:44:19 2015 -0700 |
tree | 8ffd19eb220aa365fdcf292f495bc5d330f95c46 | |
parent | ad3359e77357cc5ce29ce529ab2ed9d0d8401da4 [diff] |
Do not try to compile resource-only dex files. This changes behavior in the case where we are asked to load a dex file that does not exist or has no classes.dex entry. Previously we would run dex2oat, which would log an error message and fail. Now we skip running dex2oat, we report the DexOptStatus as kNoDexOptNeeded, and we do not try to fall back to the missing original dex files. Bug: 21722039 Change-Id: I90b1f4165138daac57bb9d7a354319005652c593