summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeun Soo YIM2018-10-16 13:47:25 -0500
committerKeun Soo YIM2018-10-19 14:34:16 -0500
commit7b46731b0eac8685e4c90091999cb46c1f3750a0 (patch)
tree47d63990cc06897d38898ec73af419d1fd1a63ff /update-makefiles.sh
parent7d49f30d3e9688a3fd646c132236bf7322084a67 (diff)
downloadplatform-hardware-interfaces-7b46731b0eac8685e4c90091999cb46c1f3750a0.tar.gz
platform-hardware-interfaces-7b46731b0eac8685e4c90091999cb46c1f3750a0.tar.xz
platform-hardware-interfaces-7b46731b0eac8685e4c90091999cb46c1f3750a0.zip
run vts build rule updater when hal make files are updated
Test: ./update-makefiles.sh Bug: 117826861 Change-Id: I7c7b22ecff1a373cd905fedd96bdaa12e1a558f0
Diffstat (limited to 'update-makefiles.sh')
-rwxr-xr-xupdate-makefiles.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/update-makefiles.sh b/update-makefiles.sh
index b7e42355..14c5b01c 100755
--- a/update-makefiles.sh
+++ b/update-makefiles.sh
@@ -1,4 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2# Script to update Android make-files for HAL and VTS modules.
3
4set -e
5
6if [ -z "$ANDROID_BUILD_TOP" ]; then
7 echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first."
8 exit 1
9fi
2 10
3source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh 11source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh
4 12
@@ -6,3 +14,8 @@ do_makefiles_update \
6 "android.hardware:hardware/interfaces" \ 14 "android.hardware:hardware/interfaces" \
7 "android.hidl:system/libhidl/transport" 15 "android.hidl:system/libhidl/transport"
8 16
17echo "Updating files at $ANDROID_BUILD_TOP/test/vts-testcase/hal"
18pushd $ANDROID_BUILD_TOP/test/vts-testcase/hal
19./script/update_makefiles.py
20popd
21