Iliyan Malchev | 7fd352e | 2016-08-10 08:02:31 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Keun Soo YIM | 7b46731 | 2018-10-16 11:47:25 -0700 | [diff] [blame] | 2 | # Script to update Android make-files for HAL and VTS modules. |
| 3 | |
| 4 | set -e |
| 5 | |
| 6 | if [ -z "$ANDROID_BUILD_TOP" ]; then |
| 7 | echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first." |
| 8 | exit 1 |
| 9 | fi |
Iliyan Malchev | 7fd352e | 2016-08-10 08:02:31 -0700 | [diff] [blame] | 10 | |
Steven Moreland | 8e91873 | 2017-05-11 15:42:32 -0700 | [diff] [blame] | 11 | source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh |
Iliyan Malchev | 7fd352e | 2016-08-10 08:02:31 -0700 | [diff] [blame] | 12 | |
Steven Moreland | 3a18d73 | 2017-03-20 04:19:10 -0700 | [diff] [blame] | 13 | do_makefiles_update \ |
| 14 | "android.hardware:hardware/interfaces" \ |
| 15 | "android.hidl:system/libhidl/transport" |
Steven Moreland | 13b5d80 | 2016-12-12 09:24:10 -0800 | [diff] [blame] | 16 | |
Keun Soo YIM | 7b46731 | 2018-10-16 11:47:25 -0700 | [diff] [blame] | 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 |
| 21 | |