Martijn Coenen | 3079100 | 2016-12-01 15:40:46 +0100 | [diff] [blame] | 1 | #!/bin/bash |
Steven Moreland | 14d87a9 | 2019-11-25 12:59:36 -0800 | [diff] [blame] | 2 | # Script to update Android make-files for HAL modules. |
Martijn Coenen | 3079100 | 2016-12-01 15:40:46 +0100 | [diff] [blame] | 3 | |
Steven Moreland | 14d87a9 | 2019-11-25 12:59:36 -0800 | [diff] [blame] | 4 | set -e |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 5 | |
Steven Moreland | 14d87a9 | 2019-11-25 12:59:36 -0800 | [diff] [blame] | 6 | if [ -z "$ANDROID_BUILD_TOP" ]; then |
| 7 | echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first." |
| 8 | exit 1 |
| 9 | fi |
| 10 | |
| 11 | source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh |
| 12 | |
| 13 | do_makefiles_update \ |
| 14 | "android.hidl:system/libhidl/transport" |