blob: ef394876d7739a79776964ebf2b88c3a87b89cc5 [file] [log] [blame]
Martijn Coenen30791002016-12-01 15:40:46 +01001#!/bin/bash
Steven Moreland14d87a92019-11-25 12:59:36 -08002# Script to update Android make-files for HAL modules.
Martijn Coenen30791002016-12-01 15:40:46 +01003
Steven Moreland14d87a92019-11-25 12:59:36 -08004set -e
Yifan Hong2cd440c2016-11-23 11:30:36 -08005
Steven Moreland14d87a92019-11-25 12:59:36 -08006if [ -z "$ANDROID_BUILD_TOP" ]; then
7 echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first."
8 exit 1
9fi
10
11source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh
12
13do_makefiles_update \
14 "android.hidl:system/libhidl/transport"