OSDN Git Service

Fix warning with AAPT2 and LOCAL_STATIC_ANDROID_LIBRARIES
[android-x86/build.git] / core / definitions.mk
index 84ea801..66d6674 100644 (file)
@@ -426,7 +426,7 @@ endef
 define find-subdir-assets
 $(sort $(if $(1),$(patsubst ./%,%, \
        $(shell if [ -d $(1) ] ; then cd $(1) ; find -L ./ -not -name '.*' -and -type f -and -not -type l ; fi)), \
-       $(warning Empty argument supplied to find-subdir-assets) \
+       $(warning Empty argument supplied to find-subdir-assets in $(LOCAL_PATH)) \
 ))
 endef
 
@@ -438,6 +438,10 @@ define find-other-java-files
 $(call all-java-files-under,$(1))
 endef
 
+define find-other-aidl-files
+       $(call find-subdir-files,$(1) -name "*.aidl" -and -not -name ".*")
+endef
+
 define find-other-html-files
 $(call all-html-files-under,$(1))
 endef