Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08d323ce authored by Keun Soo YIM's avatar Keun Soo YIM Committed by android-build-merger
Browse files

Merge "run vts build rule updater when hal make files are updated" am: adad44aa am: a3c69bd9

am: b042a054

Change-Id: I0c7428e9f5f867b922b0a14f6a172bc5097fdf69
parents 0475246f b042a054
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
#!/bin/bash
# Script to update Android make-files for HAL and VTS modules.

set -e

if [ -z "$ANDROID_BUILD_TOP" ]; then
    echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first."
    exit 1
fi

source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh

@@ -6,3 +14,8 @@ do_makefiles_update \
  "android.hardware:hardware/interfaces" \
  "android.hidl:system/libhidl/transport"

echo "Updating files at $ANDROID_BUILD_TOP/test/vts-testcase/hal"
pushd $ANDROID_BUILD_TOP/test/vts-testcase/hal
./script/update_makefiles.py
popd