121b3fe6a0
R=borenet@google.com Review URL: https://codereview.chromium.org/17910006 git-svn-id: http://skia.googlecode.com/svn/trunk@9791 2bbb7eff-a529-9590-31e7-b0007b416f81
18 lines
345 B
Bash
18 lines
345 B
Bash
#!/bin/bash
|
|
#
|
|
|
|
UTIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
if [ "$(which adb)" != "" ]; then
|
|
ADB="$(which adb)"
|
|
elif [ $(uname) == "Linux" ]; then
|
|
ADB=$UTIL_DIR/../linux/adb
|
|
elif [ $(uname) == "Darwin" ]; then
|
|
ADB=$UTIL_DIR/../mac/adb
|
|
else
|
|
echo "ERROR: Could not find ADB!"
|
|
exit 1;
|
|
fi
|
|
|
|
#echo "ADB is: $ADB"
|