summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authornileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-17 03:19:43 +0000
committernileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-17 03:19:43 +0000
commit53606d54350cc33bc434ec65a388dfea1211b632 (patch)
tree492872f0413aaf824583799520d149e6e3091698 /build
parent99ff24c25fe2d8c677d6fa961d2b8b8b45a772f5 (diff)
downloadchromium_src-53606d54350cc33bc434ec65a388dfea1211b632.zip
chromium_src-53606d54350cc33bc434ec65a388dfea1211b632.tar.gz
chromium_src-53606d54350cc33bc434ec65a388dfea1211b632.tar.bz2
Android: Always push md5sum_bin to the device.
BUG=149724 Review URL: https://chromiumcodereview.appspot.com/10915286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/android_commands.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 740f53c..3e4daea 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -547,9 +547,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)