From 211b9dcb71f01c011fffc9abfba1c3bfe89fb5c0 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Fri, 8 Jan 2016 21:51:29 +0100 Subject: Enable dexpreopt with PIC Our system partitions are relatively large (~1 GB), but our data partitions are relatively small (~4.6 GB on 8 GB variants). In this case, it makes sense to enable WITH_DEXPREOPT_PIC, saving at least 100 MB space on our data partitions. Change-Id: Icab2182c062b9eb5808a6bbae26269576edd6b82 --- BoardConfigCommon.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 9d3a153..a7bf3d3 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -52,6 +52,10 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 BOARD_USERDATAIMAGE_PARTITION_SIZE := 5003787264 BOARD_FLASH_BLOCK_SIZE := 4096 +# Enable dex pre-optimization with PIC +WITH_DEXPREOPT := true +WITH_DEXPREOPT_PIC := true + # Wi-Fi BOARD_WLAN_DEVICE := bcmdhd WPA_SUPPLICANT_VERSION := VER_0_8_X -- cgit v1.1