OSDN Git Service

core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
authorIgor Murashkin <iam@google.com>
Thu, 30 Oct 2014 23:08:07 +0000 (16:08 -0700)
committerJeff Hao <jeffhao@google.com>
Mon, 10 Nov 2014 20:53:42 +0000 (12:53 -0800)
commit964935b8a6ef52f090eb6f48875db5ebb32962cf
treea83024c2a16323357e05b18e0ec2bc83400a1d50
parent0a7fcb00abc2887e5fdd9718c85957f2b4556c8e
core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files

When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.

This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.

Bug: 18035729

(cherry picked from commit da9f1a7e82b7e6d0677553f211835625078347f2)

Change-Id: I9d5f12bbe7d0287784ac7e941fba090fce3ce3df
core/dex_preopt_libart_boot.mk
core/dex_preopt_odex_install.mk