summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-04-15 12:00:43 -0700
committerMichael Bestas <mikeioannina@gmail.com>2015-10-27 00:45:16 +0200
commitf79641157b5d206d3c7d3c5f8481dbc0915ce484 (patch)
treeefea5e760c8539465cdec8462770e8a6b819fd09
parent158f45cdcd180d0a6e266845a4f5cf7ee13ad0ea (diff)
downloadbuild-f79641157b5d206d3c7d3c5f8481dbc0915ce484.tar.gz
build-f79641157b5d206d3c7d3c5f8481dbc0915ce484.tar.bz2
build-f79641157b5d206d3c7d3c5f8481dbc0915ce484.zip
build/core: Define find-other-aidl-files.
Useful when utilizing relative paths that mention external projects. Mimics find-other-java-files, etc. Change-Id: I3df67f4f35a931facbb1de76936936b092a42bb2
-rw-r--r--core/definitions.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index a07c7b11f..e6a35cf51 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -378,6 +378,10 @@ define find-other-java-files
$(call find-subdir-files,$(1) -name "*.java" -and -not -name ".*")
endef
+define find-other-aidl-files
+ $(call find-subdir-files,$(1) -name "*.aidl" -and -not -name ".*")
+endef
+
define find-other-html-files
$(call find-subdir-files,$(1) -name "*.html" -and -not -name ".*")
endef