8155629: MODULES_FILTER should apply to imported modules

Reviewed-by: dholmes, tbell, mchung
This commit is contained in:
Erik Joelsson 2016-04-28 17:14:59 +02:00
parent a12239e493
commit c4275c858c

View File

@ -186,7 +186,8 @@ FindAllModules = \
$(call GetModuleNameFromModuleInfo, $(MODULE_INFOS))))
FindImportedModules = \
$(if $(IMPORT_MODULES_CLASSES), $(notdir $(wildcard $(IMPORT_MODULES_CLASSES)/*)))
$(filter-out $(MODULES_FILTER), \
$(if $(IMPORT_MODULES_CLASSES), $(notdir $(wildcard $(IMPORT_MODULES_CLASSES)/*))))
# Find all source dirs for a particular module
# $1 - Module to find source dirs for