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

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 22857005: Android: uses taskset when starting adb. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_device_steps.py
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index 32438ae8fc47479a96b2d6d96e35ae133528cfc6..b4ff193fd4e3fb4973c2a362cc0fe6e53d0f3b3c 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -237,12 +237,13 @@ def SpawnLogcatMonitor():
RunCmd(['sleep', '5'])
def ProvisionDevices(options):
+ bb_annotations.PrintNamedStep('provision_devices')
+
# Restart adb to work around bugs, sleep to wait for usb discovery.
RunCmd(['adb', 'kill-server'])
- RunCmd(['adb', 'start-server'])
+ RunCmd(['taskset', '-c', '0', 'adb', 'start-server'])
RunCmd(['sleep', '1'])
frankf 2013/08/14 17:03:01 All interactions with adb should go through androi
bulach 2013/08/14 17:56:24 hmm... I think this just emits the commands, it do
frankf 2013/08/14 18:05:44 I'm not following. RunCmd here just runs that exac
bulach 2013/08/14 18:09:59 ahn, you're right! my confusion, I thought this wo
- bb_annotations.PrintNamedStep('provision_devices')
if options.reboot:
RebootDevices()
provision_cmd = ['build/android/provision_devices.py', '-t', options.target]
« 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