forked from openkylin/platform_build
Merge "Do not call sort when setting ALL_DEPS.MODULES."
This commit is contained in:
commit
acdaa8fbac
|
@ -776,7 +776,7 @@ INSTALLABLE_FILES.$(LOCAL_INSTALLED_MODULE).MODULE := $(my_register_name)
|
|||
##########################################################
|
||||
# Track module-level dependencies.
|
||||
# Use $(LOCAL_MODULE) instead of $(my_register_name) to ignore module's bitness.
|
||||
ALL_DEPS.MODULES := $(sort $(ALL_DEPS.MODULES) $(LOCAL_MODULE))
|
||||
ALL_DEPS.MODULES := $(ALL_DEPS.MODULES) $(LOCAL_MODULE)
|
||||
ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS := $(sort \
|
||||
$(ALL_MODULES.$(LOCAL_MODULE).ALL_DEPS) \
|
||||
$(LOCAL_STATIC_LIBRARIES) \
|
||||
|
|
|
@ -40,7 +40,7 @@ $(if $(_gmad_new),$(eval $(1) += $(_gmad_new))\
|
|||
endef
|
||||
|
||||
define print-deps-license
|
||||
$(foreach m, $(ALL_DEPS.MODULES),\
|
||||
$(foreach m, $(sort $(ALL_DEPS.MODULES)),\
|
||||
$(eval m_p := $(sort $(ALL_MODULES.$(m).PATH) $(ALL_MODULES.$(m)$(TARGET_2ND_ARCH_MODULE_SUFFIX).PATH)))\
|
||||
$(if $(filter $(PROJ_PATH),$(m_p)),\
|
||||
$(eval deps :=)\
|
||||
|
|
Loading…
Reference in New Issue