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

Unified Diff: platform_tools/android/bin/adb_print_path

Issue 692633002: Add a helper script to expose which version of adb the android scripts use. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/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 0000000000000000000000000000000000000000..4067f04c0e8a7f0388a1acdef4c4fdb1d6785337
--- /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
« 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