Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3f2c703 authored by yangbill's avatar yangbill
Browse files

Add dependencies for module which define LOCAL_SOONG_INSTALL_PAIRS

The original behvaior will not install related files define in
LOCAL_SOONG_INSTALL_PAIRS due to there's no dependency information in
make, this CL parse the string from each LOCAL_SOONG_INSTALL_PAIRS after
':' as dependencies.

Bug: 333974089
Test: apply aosp/3041672 ; m hyph-lic

Change-Id: I79050e99c3e63f58cfd32db270c909a76bd96801
parent f45c1900
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -693,6 +693,16 @@ endif
endif
endif

###########################################################
## SOONG INSTALL PAIRS
###########################################################
# Declare dependencies for LOCAL_SOONG_INSTALL_PAIRS in soong to the module it relies on.
ifneq (,$(LOCAL_SOONG_INSTALLED_MODULE))
$(my_all_targets): \
    $(foreach f, $(LOCAL_SOONG_INSTALL_PAIRS),\
      $(word 2,$(subst :,$(space),$(f))))
endif

###########################################################
## Compatibility suite files.
###########################################################