xref: /aosp_15_r20/hardware/interfaces/update-makefiles.sh (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1*4d7e907cSAndroid Build Coastguard Worker#!/bin/bash
2*4d7e907cSAndroid Build Coastguard Worker# Script to update Android make-files for HAL and VTS modules.
3*4d7e907cSAndroid Build Coastguard Worker
4*4d7e907cSAndroid Build Coastguard Workerset -e
5*4d7e907cSAndroid Build Coastguard Worker
6*4d7e907cSAndroid Build Coastguard Workerif [ -z "$ANDROID_BUILD_TOP" ]; then
7*4d7e907cSAndroid Build Coastguard Worker    echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first."
8*4d7e907cSAndroid Build Coastguard Worker    exit 1
9*4d7e907cSAndroid Build Coastguard Workerfi
10*4d7e907cSAndroid Build Coastguard Worker
11*4d7e907cSAndroid Build Coastguard Workersource $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh
12*4d7e907cSAndroid Build Coastguard Worker
13*4d7e907cSAndroid Build Coastguard Workerdo_makefiles_update \
14*4d7e907cSAndroid Build Coastguard Worker  "android.hardware:hardware/interfaces" \
15*4d7e907cSAndroid Build Coastguard Worker  "android.hidl:system/libhidl/transport"
16