From 6ab5d6aa166f14c79f31240d2902b5b539253af3 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 10 Aug 2011 16:05:51 -0700 Subject: [PATCH] Discard hidden files when rounding up resource. Aapt will discard the hidden files anyway. With this change, we can avoid unnecessary rebuild if a module has only hidden files in its resource dir. Change-Id: Iaf0a13e038cca5fb60012c550cc90f7abbe967e1 --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index 4c499ad84..5867d0991 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -312,7 +312,7 @@ endef define find-subdir-assets $(if $(1),$(patsubst ./%,%, \ - $(shell if [ -d $(1) ] ; then cd $(1) ; find ./ -type f -and -not -type l ; fi)), \ + $(shell if [ -d $(1) ] ; then cd $(1) ; find ./ -not -name '.*' -and -type f -and -not -type l ; fi)), \ $(warning Empty argument supplied to find-subdir-assets) \ ) endef -- 2.11.0