diff --git a/core/base_rules.mk b/core/base_rules.mk index ed125fe018..b4791da43f 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -513,7 +513,7 @@ endif ifdef LOCAL_DEX_PREOPT installed_odex := $(basename $(LOCAL_INSTALLED_MODULE)).odex built_odex := $(basename $(LOCAL_BUILT_MODULE)).odex -$(installed_odex) : $(built_odex) | $(ACP) +$(installed_odex) : $(built_odex) $(LOCAL_BUILT_MODULE) | $(ACP) @echo "Install: $@" $(copy-file-to-target)