Merge "Add missing dependency from module name to symlinks"

This commit is contained in:
Treehugger Robot 2021-11-09 10:38:36 +00:00 committed by Gerrit Code Review
commit a421192568

View file

@ -526,6 +526,10 @@ ifneq (,$(LOCAL_SOONG_INSTALLED_MODULE))
# copy of the intermediates for now, as some rules that collect intermediates may expect # copy of the intermediates for now, as some rules that collect intermediates may expect
# them to exist. # them to exist.
$(LOCAL_INSTALLED_MODULE): $(LOCAL_BUILT_MODULE) $(LOCAL_INSTALLED_MODULE): $(LOCAL_BUILT_MODULE)
$(foreach symlink, $(LOCAL_SOONG_INSTALL_SYMLINKS), \
$(call declare-0p-target,$(symlink)))
$(my_all_targets) : | $(LOCAL_SOONG_INSTALL_SYMLINKS)
else ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE)) else ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
ifneq ($(LOCAL_INSTALLED_MODULE),$(my_default_test_module)) ifneq ($(LOCAL_INSTALLED_MODULE),$(my_default_test_module))
$(LOCAL_INSTALLED_MODULE): PRIVATE_POST_INSTALL_CMD := $(LOCAL_POST_INSTALL_CMD) $(LOCAL_INSTALLED_MODULE): PRIVATE_POST_INSTALL_CMD := $(LOCAL_POST_INSTALL_CMD)