Merge "Fix implicit-fallthrough warnings."
[android/platform-hardware-interfaces.git] / update-makefiles.sh
1 #!/bin/bash
2 # Script to update Android make-files for HAL and VTS modules.
4 set -e
6 if [ -z "$ANDROID_BUILD_TOP" ]; then
7     echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first."
8     exit 1
9 fi
11 source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh
13 do_makefiles_update \
14   "android.hardware:hardware/interfaces" \
15   "android.hidl:system/libhidl/transport"
17 echo "Updating files at $ANDROID_BUILD_TOP/test/vts-testcase/hal"
18 pushd $ANDROID_BUILD_TOP/test/vts-testcase/hal
19 ./script/update_makefiles.py
20 popd