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:
Dima Zavin 2010-09-23 19:07:32 -07:00
parent 22f6edef41
commit c2901aa513
1 changed files with 3 additions and 1 deletions

View File

@ -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 :=
# ------------------------------------------------------------------- # -------------------------------------------------------------------