OSDN Git Service

Add a new "--preopt" mode to dexopt, for running on the host.
authorDan Bornstein <danfuzz@android.com>
Sun, 12 Sep 2010 23:42:28 +0000 (16:42 -0700)
committerDan Bornstein <danfuzz@android.com>
Mon, 13 Sep 2010 00:20:07 +0000 (17:20 -0700)
commit4701d5f8d0e691eeb9a0824311d5166d301a5aa5
tree053bde789439b3c296b8126f563a738b9189ff20
parentab9d89fb7417157c3972278d1bd899cc091a8168
Add a new "--preopt" mode to dexopt, for running on the host.

This change takes much of what used to be in the function fromZip()
(the "--zip" mode implementation) and pulls it into a helper function,
which is then also used by the new preopt() function.

Change-Id: Id54618047896366448adaec0bf973627a9f1f397
dexopt/OptMain.c