Merge "Add all-logtags-files-under macro"

This commit is contained in:
Bjorn Bringert 2010-02-03 02:51:51 -08:00 committed by Android (Google) Code Review
commit cd5d82afa5

View file

@ -222,6 +222,19 @@ define all-subdir-Iaidl-files
$(call all-Iaidl-files-under,.)
endef
###########################################################
## Find all of the logtags files under the named directories.
## Meant to be used like:
## SRC_FILES := $(call all-logtags-files-under,src)
###########################################################
define all-logtags-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.logtags" -and -not -name ".*") \
)
endef
###########################################################
## Find all of the html files under the named directories.
## Meant to be used like: