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

Commit e245e00d authored by Ulya Trafimovich's avatar Ulya Trafimovich
Browse files

Initialize DEX_PREOPT_DEFAULT based on global dexpreopt settings.

Bug: 177214554
Test: lunch cf_x86_phone-userdebug && m
Test: Ensure that `find out -name dexpreopt.config` lists before and
    after the fix are identical (for target cf_x86_phone-userdebug).
Test: TARGET_PRODUCT=mainline_modules_x86_64 \
    TARGET_BUILD_VARIANT=userdebug \
    build/soong/soong_ui.bash --make-mode UipbUtil
Change-Id: I28b38c08ad570d53dc679f9b42975545d457416e
parent 991fe0a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ else ifeq (true,$(DISABLE_PREOPT))
endif

# The default value for LOCAL_DEX_PREOPT
DEX_PREOPT_DEFAULT ?= true
DEX_PREOPT_DEFAULT ?= $(ENABLE_PREOPT)

# The default filter for which files go into the system_other image (if it is
# being used). Note that each pattern p here matches both '/<p>' and /system/<p>'.