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
This commit is contained in:
parent
f45c19001f
commit
c3f2c7038c
1 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in a new issue