diff options
author | Steven Moreland <smoreland@google.com> | 2016-12-12 09:24:10 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2016-12-12 09:24:10 -0800 |
commit | 13b5d8034e5ca4700cee9bfabab50a68748cfd28 (patch) | |
tree | a88af4e2518512432d9d93e7b52041b5b3d40ff7 /update-makefiles.sh | |
parent | 7a41d9d59f23e3c897f499118c9dba69a6baf2d4 (diff) | |
download | android_hardware_interfaces-13b5d8034e5ca4700cee9bfabab50a68748cfd28.tar.gz android_hardware_interfaces-13b5d8034e5ca4700cee9bfabab50a68748cfd28.tar.bz2 android_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-x | update-makefiles.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/update-makefiles.sh b/update-makefiles.sh index 0f89dfc5d..f153a8413 100755 --- a/update-makefiles.sh +++ b/update-makefiles.sh @@ -5,6 +5,11 @@ if [ ! -d hardware/interfaces ] ; then exit 1; fi +if [ ! -d system/libhidl/transport ] ; then + echo "Where is system/libhidl/transport?"; + exit 1; +fi + packages=$(pushd hardware/interfaces > /dev/null; \ find . -type f -name \*.hal -exec dirname {} \; | sort -u | \ cut -c3- | \ |