OSDN Git Service

build/core: Define find-other-aidl-files.
authorAdnan Begovic <adnan@cyngn.com>
Wed, 15 Apr 2015 19:00:43 +0000 (12:00 -0700)
committerMichael Bestas <mikeioannina@gmail.com>
Fri, 6 Jan 2017 23:37:29 +0000 (01:37 +0200)
   Useful when utilizing relative paths that mention external
   projects. Mimics find-other-java-files, etc.

Change-Id: I3df67f4f35a931facbb1de76936936b092a42bb2

core/definitions.mk

index 84ea801..bca474e 100644 (file)
@@ -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