am 9b962440: am 672b1893: am 8c37f49f: Merge "Follow symlinks when using find"

* commit '9b962440b00591ba43dd05977299216d499c84da':
  Follow symlinks when using find
This commit is contained in:
Conley Owens 2012-10-02 16:28:39 -07:00 committed by Android Git Automerger
commit bda3f9427d
1 changed files with 9 additions and 9 deletions

View File

@ -173,7 +173,7 @@ endef
define all-java-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.java" -and -not -name ".*") \
find -L $(1) -name "*.java" -and -not -name ".*") \
)
endef
@ -195,7 +195,7 @@ endef
define all-c-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.c" -and -not -name ".*") \
find -L $(1) -name "*.c" -and -not -name ".*") \
)
endef
@ -217,7 +217,7 @@ endef
define all-Iaidl-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "I*.aidl" -and -not -name ".*") \
find -L $(1) -name "I*.aidl" -and -not -name ".*") \
)
endef
@ -238,7 +238,7 @@ endef
define all-logtags-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.logtags" -and -not -name ".*") \
find -L $(1) -name "*.logtags" -and -not -name ".*") \
)
endef
@ -251,7 +251,7 @@ endef
define all-proto-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.proto" -and -not -name ".*") \
find -L $(1) -name "*.proto" -and -not -name ".*") \
)
endef
@ -264,7 +264,7 @@ endef
define all-renderscript-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.rs" -and -not -name ".*") \
find -L $(1) -name "*.rs" -and -not -name ".*") \
)
endef
@ -277,7 +277,7 @@ endef
define all-html-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find $(1) -name "*.html" -and -not -name ".*") \
find -L $(1) -name "*.html" -and -not -name ".*") \
)
endef
@ -296,7 +296,7 @@ endef
###########################################################
define find-subdir-files
$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) ; find $(1)))
$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) ; find -L $(1)))
endef
###########################################################
@ -309,7 +309,7 @@ endef
define find-subdir-subdir-files
$(filter-out $(patsubst %,$(1)/%,$(3)),$(patsubst ./%,%,$(shell cd \
$(LOCAL_PATH) ; find $(1) -maxdepth 1 -name $(2))))
$(LOCAL_PATH) ; find -L $(1) -maxdepth 1 -name $(2))))
endef
###########################################################