2016-08-10 17:02:31 +02:00
|
|
|
#!/bin/bash
|
2018-10-16 20:47:25 +02:00
|
|
|
# Script to update Android make-files for HAL and VTS modules.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [ -z "$ANDROID_BUILD_TOP" ]; then
|
|
|
|
echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first."
|
|
|
|
exit 1
|
|
|
|
fi
|
2016-08-10 17:02:31 +02:00
|
|
|
|
2017-05-12 00:42:32 +02:00
|
|
|
source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh
|
2016-08-10 17:02:31 +02:00
|
|
|
|
2017-03-20 12:19:10 +01:00
|
|
|
do_makefiles_update \
|
|
|
|
"android.hardware:hardware/interfaces" \
|
|
|
|
"android.hidl:system/libhidl/transport"
|
2016-12-12 18:24:10 +01:00
|
|
|
|
2018-10-16 20:47:25 +02:00
|
|
|
echo "Updating files at $ANDROID_BUILD_TOP/test/vts-testcase/hal"
|
|
|
|
pushd $ANDROID_BUILD_TOP/test/vts-testcase/hal
|
|
|
|
./script/update_makefiles.py
|
|
|
|
popd
|
|
|
|
|