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

Unified Diff: appengine/third_party/python-adb/PATCH.swarming

Issue 1306633002: Overhaul Android support and make Swarming bot use python-adb (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Packaged libusb1 as a relative package to fix import paths Created 5 years, 4 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 | « appengine/swarming/tools/android/README.md ('k') | appengine/third_party/python-adb/README.swarming » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/third_party/python-adb/PATCH.swarming
diff --git a/appengine/third_party/python-adb/PATCH.swarming b/appengine/third_party/python-adb/PATCH.swarming
index 9b788affc1bf09b1f0f72f8ad992783fc9817d8b..63f808acf362a99c2ebaecc8d7f152ed666d1745 100644
--- a/appengine/third_party/python-adb/PATCH.swarming
+++ b/appengine/third_party/python-adb/PATCH.swarming
@@ -74,3 +74,27 @@
if e.usb_error.value == -7: # Timeout.
raise usb_exceptions.DeviceAuthError(
'Accept auth key on device, then retry.')
+--- a/adb/common.py
++++ b/adb/common.py
+@@ -20,8 +20,8 @@ import socket
+ import threading
+ import weakref
+
+-import libusb1
+-import usb1
++from python_libusb1 import libusb1
++from python_libusb1 import usb1
+
+ import usb_exceptions
+
+--- a/adb/filesync_protocol.py
++++ b/adb/filesync_protocol.py
+@@ -22,7 +22,7 @@ import stat
+ import struct
+ import time
+
+-import libusb1
++from python_libusb1 import libusb1
+
+ import adb_protocol
+ import usb_exceptions
« no previous file with comments | « appengine/swarming/tools/android/README.md ('k') | appengine/third_party/python-adb/README.swarming » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698