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

Unified Diff: infra/bots/flavor/android_flavor.py

Issue 1829753004: Splitting up wait_for_device into two pieces (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 9 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 | platform_tools/android/bin/adb_wait_for_charge » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/flavor/android_flavor.py
diff --git a/infra/bots/flavor/android_flavor.py b/infra/bots/flavor/android_flavor.py
index 5a30079951dc6c21c740950ef746c9cd46366fbd..754e23ca3072f9f48d4a946c8c9d0412ed41df6e 100644
--- a/infra/bots/flavor/android_flavor.py
+++ b/infra/bots/flavor/android_flavor.py
@@ -31,6 +31,12 @@ class _ADBWrapper(object):
]
self._android_flavor._bot_info.run(
cmd, env=self._android_flavor._default_env)
+ cmd = [
+ os.path.join(self._android_flavor.android_bin, 'adb_wait_for_charge'),
+ '-s', self._serial,
+ ]
+ self._android_flavor._bot_info.run(
+ cmd, env=self._android_flavor._default_env)
def maybe_wait_for_device(self):
"""Run 'adb wait-for-device' if it hasn't already been run."""
« no previous file with comments | « no previous file | platform_tools/android/bin/adb_wait_for_charge » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698