summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2016-12-12 11:24:10 -0600
committerSteven Moreland2016-12-12 11:24:10 -0600
commit13b5d8034e5ca4700cee9bfabab50a68748cfd28 (patch)
treea88af4e2518512432d9d93e7b52041b5b3d40ff7 /update-makefiles.sh
parent7a41d9d59f23e3c897f499118c9dba69a6baf2d4 (diff)
downloadplatform-hardware-interfaces-13b5d8034e5ca4700cee9bfabab50a68748cfd28.tar.gz
platform-hardware-interfaces-13b5d8034e5ca4700cee9bfabab50a68748cfd28.tar.xz
platform-hardware-interfaces-13b5d8034e5ca4700cee9bfabab50a68748cfd28.zip
Add check to update-makefiles.sh.
Now that we also have packages like android.hidl.base which reside in system/libhidl/transport which are read in by hidl-gen (see -randroid.hidl:system/libhidl/transport in the same file), we can display a pretty warning message if they are missing. We'll have to remember to update this after b/33276472. Test: ran update-makefiles.sh Change-Id: Ia3e3183dd5139cf3a8d1bf7bd25c201d1b098c79
Diffstat (limited to 'update-makefiles.sh')
-rwxr-xr-xupdate-makefiles.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/update-makefiles.sh b/update-makefiles.sh
index 0f89dfc5..f153a841 100755
--- a/update-makefiles.sh
+++ b/update-makefiles.sh
@@ -5,6 +5,11 @@ if [ ! -d hardware/interfaces ] ; then
5 exit 1; 5 exit 1;
6fi 6fi
7 7
8if [ ! -d system/libhidl/transport ] ; then
9 echo "Where is system/libhidl/transport?";
10 exit 1;
11fi
12
8packages=$(pushd hardware/interfaces > /dev/null; \ 13packages=$(pushd hardware/interfaces > /dev/null; \
9 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \ 14 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \
10 cut -c3- | \ 15 cut -c3- | \