Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: platform_tools/android/bin/utils/setup_adb.sh

Issue 1927973002: Stop printing warnings about ADB version (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/bin/utils/setup_adb.sh
diff --git a/platform_tools/android/bin/utils/setup_adb.sh b/platform_tools/android/bin/utils/setup_adb.sh
index 87dcb0f03114ecf06016623d3669a2bc9adcf345..81e4851cef185562f8e3737183a1323fb80945f0 100644
--- a/platform_tools/android/bin/utils/setup_adb.sh
+++ b/platform_tools/android/bin/utils/setup_adb.sh
@@ -25,20 +25,3 @@ if [ ! -x $ADB ]; then
echo "The adb binary is not executable"
exit 1
fi
-
-if [ $(uname) == "Linux" ]; then
- ADB_REQUIRED="1.0.32 or 1.0.35"
-elif [ $(uname) == "Darwin" ]; then
- ADB_REQUIRED="1.0.31 or 1.0.32"
-fi
-
-# get the version string as an array, use just the version numbers
-ADB_VERSION="$($ADB version)"
-ADB_VERSION=($ADB_VERSION)
-ADB_VERSION=${ADB_VERSION[4]}
-
-if [[ "$ADB_REQUIRED" != *"$ADB_VERSION"* ]]; then
- echo "WARNING: Your ADB version is out of date!"
- echo " Expected ADB Version: ${ADB_REQUIRED}"
- echo " Actual ADB Version: ${ADB_VERSION}"
-fi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698