From: Ma Jian Date: Fri, 20 May 2016 03:16:26 +0000 (+0800) Subject: avoid dalvik-cache for system binaries X-Git-Tag: android-x86-6.0-r1~27 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=012d9f44b987c1c0f8e440885374092eb753cdc1;hp=d6c400aed7665543b04b7805ae3b28d15470b65b avoid dalvik-cache for system binaries ref T7670 tested: local build and install, verify the /data/dalvik-cache after first boot, there should not be dex patch for system binaries Change-Id: Id38c6690812639da2a7aef0e27bacc36b91b6ecd --- diff --git a/BoardConfig.mk b/BoardConfig.mk index 3bb436b..45b9dd9 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -18,6 +18,7 @@ BOARD_MALLOC_ALIGNMENT := 16 # of an SDK AVD. Note that this operation only works on Linux for now ifeq ($(HOST_OS),linux) WITH_DEXPREOPT := true +WITH_DEXPREOPT_PIC := true TARGET_GCC_VERSION_EXP := 4.9 endif