Skip to content
Snippets Groups Projects
Commit 903a3722 authored by Roman Stratiienko's avatar Roman Stratiienko
Browse files

drm_hwcomposer: Add script for quick build and deploy drm_hwcomposer


It should help us with manual testing.

Signed-off-by: default avatarRoman Stratiienko <roman.o.stratiienko@globallogic.com>
parent d37b3082
No related branches found
No related tags found
Loading
#!/bin/bash -e
# To see logs after deploy run: $ HWCLOG=1 TESTDEV=<DEV> ./build_deploy.sh
[ -z "$TESTDEV" ] && echo "Run $ TESTDEV=<Your lunch target> ./build_deploy.sh" && false
cd ../..
. build/envsetup.sh
lunch $TESTDEV
cd -
mm
adb root && adb remount && adb sync vendor
adb shell stop
adb shell stop vendor.hwcomposer-2-1 || true
adb shell stop vendor.hwcomposer-2-2 || true
adb shell stop vendor.hwcomposer-2-3 || true
adb shell stop vendor.hwcomposer-2-4 || true
[ $HWCLOG -eq "1" ] && adb logcat -c
adb shell start
[ $HWCLOG -eq "1" ] && adb logcat | grep -i hwc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment