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)
committerIgor Murashkin <iam@google.com>
Fri, 31 Oct 2014 21:30:42 +0000 (14:30 -0700)
commitda9f1a7e82b7e6d0677553f211835625078347f2
treece954900fc09f4dcee3b6af55601b3d0ced03ff1
parent70d617aaf57c636ca7b6aedee5b009a7c46bdd3a
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
Change-Id: Ifd517c842f48bf31568bf5ff56667298d422c2c0
core/dex_preopt_libart_boot.mk
core/dex_preopt_odex_install.mk