aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-01-08 21:51:29 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-07-08 05:40:11 +0200
commit211b9dcb71f01c011fffc9abfba1c3bfe89fb5c0 (patch)
treecd5b3d43eb7a97ec60b42cbe10a5a59c8e6d5c99
parent43afc97890ab12f21fa89618a906609df415203a (diff)
downloaddevice_samsung_espressowifi-211b9dcb71f01c011fffc9abfba1c3bfe89fb5c0.zip
device_samsung_espressowifi-211b9dcb71f01c011fffc9abfba1c3bfe89fb5c0.tar.gz
device_samsung_espressowifi-211b9dcb71f01c011fffc9abfba1c3bfe89fb5c0.tar.bz2
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
-rw-r--r--BoardConfigCommon.mk4
1 files changed, 4 insertions, 0 deletions
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