diff --git a/core/dex_preopt_libart.mk b/core/dex_preopt_libart.mk index 64ad200200..b64155cfb7 100644 --- a/core/dex_preopt_libart.mk +++ b/core/dex_preopt_libart.mk @@ -100,6 +100,9 @@ ifneq (true,$(TARGET_BUILD_PDK)) my_use_profile_for_boot_image := true endif endif +ifeq (,$(strip $(LIBART_TARGET_BOOT_DEX_FILES))) +my_use_profile_for_boot_image := false +endif ifeq (true,$(my_use_profile_for_boot_image))