forked from openkylin/platform_build
Initialize variable to fix wrong odex installed
When "PRODUCT_DEX_PREOPT_GENERATE_DM_FILES := true" and "PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER := verify" are set, boot jar may wrongly refer to previous module's variables such as my_generate_dm, my_built_dm and my_installed_dm. And then cause unexpected files installed along with this boot jar. So initialize my_generate_dm to empty at first. Bug: 117526952 Test: make out/target/product/generic/module-info.json Test: cat out/target/product/generic/module-info.json | grep '"apache-xml":' Change-Id: Iaa851f4fb530b3446de3dbcb1f54e545938830ce
This commit is contained in:
parent
3f7223984c
commit
eaef4d8b9f
|
@ -101,6 +101,7 @@ built_installed_vdex :=
|
|||
built_installed_art :=
|
||||
my_process_profile :=
|
||||
my_profile_is_text_listing :=
|
||||
my_generate_dm :=
|
||||
|
||||
ifeq (false,$(WITH_DEX_PREOPT_GENERATE_PROFILE))
|
||||
LOCAL_DEX_PREOPT_GENERATE_PROFILE := false
|
||||
|
|
Loading…
Reference in New Issue