OSDN Git Service

avoid dalvik-cache for system binaries
authorMa Jian <majian@jidemail.com>
Fri, 20 May 2016 03:16:26 +0000 (11:16 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 28 May 2016 04:38:17 +0000 (12:38 +0800)
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

index 3bb436b..45b9dd9 100644 (file)
@@ -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
 # 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
 
 TARGET_GCC_VERSION_EXP := 4.9
 endif