Fix reference to uncleared variable in dex_preopt_odex_install.mk

dex_preopt_odex_install.mk referenced $(built_module), which is only
set by some prebuilt modules, leaving old values when building
non-prebuilt modules.  Use $(LOCAL_BUILT_MODULE) instead, which is set
for all modules by base_rules.mk.

Test: manual
Change-Id: Iecf092f9869d5edda3671d0999987906781d023e
This commit is contained in:
Colin Cross 2021-05-05 14:43:04 -07:00
parent 10b66f6975
commit 7b70d98d1f
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ ifeq (true,$(LOCAL_ENFORCE_USES_LIBRARIES))
$(PRIVATE_DEXPREOPT_CONFIGS) \
$(PRIVATE_RELAX_CHECK) \
$<
$(built_module) : $(my_enforced_uses_libraries)
$(LOCAL_BUILT_MODULE) : $(my_enforced_uses_libraries)
endif
################################################################################