diff options
author | 2014-10-29 12:59:50 -0700 | |
---|---|---|
committer | 2014-10-29 12:59:50 -0700 | |
commit | c96aa64246bcd0e93cda16d4d0358345515cbfd5 (patch) | |
tree | 4663a3f7a3fee151508f1a0ff9a1957ba6eabe4a /platform_tools/android/bin/adb_print_path | |
parent | 7316b100dfd2a0f9553e7f1e9f3a5f4c46b8e4db (diff) |
Add a helper script to expose which version of adb the android scripts use.
Review URL: https://codereview.chromium.org/692633002
Diffstat (limited to 'platform_tools/android/bin/adb_print_path')
-rwxr-xr-x | platform_tools/android/bin/adb_print_path | 12 |
1 files changed, 12 insertions, 0 deletions
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 |