From c96aa64246bcd0e93cda16d4d0358345515cbfd5 Mon Sep 17 00:00:00 2001 From: djsollen Date: Wed, 29 Oct 2014 12:59:50 -0700 Subject: [PATCH] Add a helper script to expose which version of adb the android scripts use. Review URL: https://codereview.chromium.org/692633002 --- platform_tools/android/bin/adb_print_path | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 platform_tools/android/bin/adb_print_path diff --git a/platform_tools/android/bin/adb_print_path b/platform_tools/android/bin/adb_print_path new file mode 100755 index 0000000000..4067f04c0e --- /dev/null +++ b/platform_tools/android/bin/adb_print_path @@ -0,0 +1,12 @@ +#!/bin/bash +# +# adb_print_path: prints the path to the copy of adb that will be used by Skia's +# android scripts. This is used by Skia's build infrastructure to ensure that +# we use the same adb revision (and instance). + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source $SCRIPT_DIR/android_setup.sh +source $SCRIPT_DIR/utils/setup_adb.sh + +echo $ADB +exit 0