From 15e1558a040d8ae0a92602737a01e1c882e7067c Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Sat, 17 Sep 2016 18:42:46 -0700 Subject: [PATCH] fix update-makefiles.sh to not need Android.mk When auto-generating Android.mk for HIDL packages, update-makefiles.sh now just looks for all directories hosting .hal files, converts them to HIDL package names, and invokes hidl-gen on these package names to generate the appropriate Android.mk files. Change-Id: I8a824672f33be58508ae7c07de463f4f589a9a73 Signed-off-by: Iliyan Malchev --- update-makefiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-makefiles.sh b/update-makefiles.sh index 842640f042..44c72b06ff 100755 --- a/update-makefiles.sh +++ b/update-makefiles.sh @@ -6,7 +6,7 @@ if [ ! -d hardware/interfaces ] ; then fi packages=$(pushd hardware/interfaces > /dev/null; \ - find . -type f -name Android.mk -exec dirname {} \; | \ + find . -type f -name \*.hal -exec dirname {} \; | sort -u | \ cut -c3- | \ awk -F'/' \ '{printf("android.hardware"); for(i=1;i