core: don't add file deps for modules without any installed files
Change-Id: I0acadb2ce287a1657d29dc787bd9b1c2f95aa918 Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
parent
22f6edef41
commit
c2901aa513
|
@ -569,11 +569,13 @@ $(foreach m,$(ALL_MODULES), \
|
||||||
$(eval r := $(ALL_MODULES.$(m).REQUIRED)) \
|
$(eval r := $(ALL_MODULES.$(m).REQUIRED)) \
|
||||||
$(if $(r), \
|
$(if $(r), \
|
||||||
$(eval r := $(call module-installed-files,$(r))) \
|
$(eval r := $(call module-installed-files,$(r))) \
|
||||||
$(eval $(call add-required-deps,$(ALL_MODULES.$(m).INSTALLED),$(r))) \
|
$(eval i := $(ALL_MODULES.$(m).INSTALLED)) \
|
||||||
|
$(eval $(if $(i), $(call add-required-deps,$(i),$(r)))) \
|
||||||
) \
|
) \
|
||||||
)
|
)
|
||||||
m :=
|
m :=
|
||||||
r :=
|
r :=
|
||||||
|
i :=
|
||||||
add-required-deps :=
|
add-required-deps :=
|
||||||
|
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue