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

Unified Diff: build/android/pylib/android_commands.py

Issue 10915286: Android: Always push md5sum_bin to the device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/pylib/android_commands.py
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 2b412f31be3279a2833f851606ad77fcb30f2856..e1aa37ee06cc0e6e10e5d0369aea6d4503773f82 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -548,9 +548,8 @@ class AndroidCommands(object):
if not os.path.exists(md5sum_path):
print >>sys.stderr, 'Please build md5sum.'
sys.exit(1)
- if not self.FileExistsOnDevice(MD5SUM_DEVICE_PATH):
- command = 'push %s %s' % (md5sum_path, MD5SUM_DEVICE_PATH)
- assert _HasAdbPushSucceeded(self._adb.SendCommand(command))
+ command = 'push %s %s' % (md5sum_path, MD5SUM_DEVICE_PATH)
+ assert _HasAdbPushSucceeded(self._adb.SendCommand(command))
self._md5sum_path = md5sum_path
self._pushed_files.append(device_path)
« 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