From 012d9f44b987c1c0f8e440885374092eb753cdc1 Mon Sep 17 00:00:00 2001 From: Ma Jian Date: Fri, 20 May 2016 11:16:26 +0800 Subject: [PATCH] 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 --- BoardConfig.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.0