OSDN Git Service

Run dex2oat from the staged apk directory.
authorJeff Hao <jeffhao@google.com>
Thu, 6 Apr 2017 00:11:39 +0000 (17:11 -0700)
committerJeff Hao <jeffhao@google.com>
Wed, 19 Apr 2017 01:25:46 +0000 (01:25 +0000)
commit4887469691aec31d7e01893cdc989d1fe33e9591
tree945298bb2c41645e6039478e120052ff3f1c50ca
parent0ffe45c2ed66915dc0287bfedc255bec007e30ea
Run dex2oat from the staged apk directory.

The frameworks/base change makes the PackageManager pass relative paths
of previous code paths as shared library paths. This change passes the
base directory for these relative paths to dex2oat using the new switch
--base-dir.

Part of a multi-project change.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

Merged-In: Ic20aa0b6a80104d0759ac84df3eb89570604e53f
(cherry-picked from commit cc5c4e32637601432bc6359fb7ff34e4cadb6502)

Change-Id: I29e6e7365654cc1a538272591356e2253d6ec0e4
cmds/installd/dexopt.cpp