From 0639b7de0354a59fa9b1856036e057de9fa754bc Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 4 Apr 2019 18:51:32 +0100 Subject: [PATCH] Pass DEXPREOPT_USE_APEX_IMAGE to soong. Test: lunch walleye_jitzygote-userdebug m && all odex file use the apex image Bug: 119800099 Change-Id: Ieb8f36b94264496a41998d4ceca30e1f41a98ebe --- core/dex_preopt_config.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dex_preopt_config.mk b/core/dex_preopt_config.mk index 13e46347e7..a494991047 100644 --- a/core/dex_preopt_config.mk +++ b/core/dex_preopt_config.mk @@ -91,6 +91,7 @@ ifeq ($(WRITE_SOONG_VARIABLES),true) $(call add_json_list, DisablePreoptModules, $(DEXPREOPT_DISABLED_MODULES)) $(call add_json_bool, OnlyPreoptBootImageAndSystemServer, $(filter true,$(WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY))) $(call add_json_bool, GenerateApexImage, $(filter true,$(DEXPREOPT_GENERATE_APEX_IMAGE))) + $(call add_json_bool, UseApexImage, $(filter true,$(DEXPREOPT_USE_APEX_IMAGE))) $(call add_json_bool, DontUncompressPrivAppsDex, $(filter true,$(DONT_UNCOMPRESS_PRIV_APPS_DEXS))) $(call add_json_list, ModulesLoadedByPrivilegedModules, $(PRODUCT_LOADED_BY_PRIVILEGED_MODULES)) $(call add_json_bool, HasSystemOther, $(BOARD_USES_SYSTEM_OTHER_ODEX))