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

Unified Diff: build/android/provision_devices.py

Issue 287513002: [Android] Build android tools as PIE and add a wrapper for ICS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | build/android/pylib/android_commands.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/provision_devices.py
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
index 83c02a2a607a3fb75aed1c0258ac59571e9491bb..0549e81adbd17ad9c818e434919f9e4ba62564b9 100755
--- a/build/android/provision_devices.py
+++ b/build/android/provision_devices.py
@@ -64,10 +64,8 @@ def PushAndLaunchAdbReboot(devices, target):
device.old_interface.PushIfNeeded(adb_reboot, '/data/local/tmp/')
# Launch adb_reboot
print ' Launching adb_reboot ...'
- # TODO(jbudorick) Try to convert this to RunShellCommand.
- p = subprocess.Popen(['adb', '-s', device_serial, 'shell'],
- stdin=subprocess.PIPE)
- p.communicate('/data/local/tmp/adb_reboot; exit\n')
+ device.old_interface.GetAndroidToolStatusAndOutput(
+ '/data/local/tmp/adb_reboot')
LaunchHostHeartbeat()
« no previous file with comments | « no previous file | build/android/pylib/android_commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698