diff options
author | davidevinavil <davidevinavil@gmail.com> | 2017-02-04 18:52:46 +0100 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-04-07 13:12:39 +0200 |
commit | c5b5b972edb5c53dca58e9b69a45a7c84663be7b (patch) | |
tree | 6385cd4d4b9b7a3af6bce8522167575063c6af5c | |
parent | e0124c0f4fe69b5d7ae666302608424248594ea3 (diff) |
z2_plus: Enable dexpreopt for user build
-rwxr-xr-x | BoardConfig.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 6f41b0e..dd63809 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -143,7 +143,14 @@ VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000 # Enable dexpreopt to speed boot time -# WITH_DEXPREOPT := true +ifeq ($(HOST_OS),linux) + ifneq ($(TARGET_BUILD_VARIANT),eng) + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT := true + endif + endif +endif + # Init TARGET_INIT_VENDOR_LIB := libinit_z2_plus |