projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af936d
)
Add support for pyadb to setup_adb.sh
author
kjlubick
<kjlubick@google.com>
Thu, 7 Apr 2016 17:57:27 +0000
(10:57 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 7 Apr 2016 17:57:27 +0000
(10:57 -0700)
BUG=skia:5156
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1869813002
Review URL: https://codereview.chromium.org/
1869813002
platform_tools/android/bin/utils/setup_adb.sh
patch
|
blob
|
history
diff --git
a/platform_tools/android/bin/utils/setup_adb.sh
b/platform_tools/android/bin/utils/setup_adb.sh
index
e59b43c
..
87dcb0f
100644
(file)
--- a/
platform_tools/android/bin/utils/setup_adb.sh
+++ b/
platform_tools/android/bin/utils/setup_adb.sh
@@
-5,6
+5,12
@@
UTIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+if [ $PYADB ] && [ -a "$PYADB" ]; then
+ echo "Python ADB detected, going to use that"
+ ADB="python ${PYADB}"
+ return
+fi
+
if [ "$(which adb)" != "" ]; then
ADB="$(which adb)"
elif [ -d "$ANDROID_SDK_ROOT" ]; then