Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee40cf4a authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

Conditionally skip dex-preopting specific prebuilts.

Extend change I13f10e2a9c251366f29606158f8c2fb54f8ee8b so that it
optionally applies to a specific list of modules.

Change-Id: Id56aeadfb8d2581a2c7b7045725419bf4f6b8faa
parent 1d7a0950
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -190,6 +190,11 @@ ifeq ($(DONT_DEXPREOPT_PREBUILTS),true)
LOCAL_DEX_PREOPT := false
LOCAL_DEX_PREOPT := false
endif
endif


# Disable dex-preopt of specific prebuilts to save space, if requested.
ifneq ($(filter $(DEXPREOPT_BLACKLIST),$(LOCAL_MODULE)),)
LOCAL_DEX_PREOPT := false
endif

#######################################
#######################################
# defines built_odex along with rule to install odex
# defines built_odex along with rule to install odex
include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk
include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk