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

Unified Diff: build/android/pylib/utils/md5sum.py

Issue 751063002: Allow RunShellCommand to work even with very large commands (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment implementation of WriteFile Created 6 years 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 | « build/android/pylib/utils/device_temp_file_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/md5sum.py
diff --git a/build/android/pylib/utils/md5sum.py b/build/android/pylib/utils/md5sum.py
index 8c10bb0b88eb85d4e59a8832c5a22270b605b1b8..4d0d7038be4ae5602cd822bb66118a0de4390031 100644
--- a/build/android/pylib/utils/md5sum.py
+++ b/build/android/pylib/utils/md5sum.py
@@ -57,7 +57,8 @@ def CalculateDeviceMd5Sums(paths, device):
out = []
with tempfile.NamedTemporaryFile() as md5sum_script_file:
- with device_temp_file.DeviceTempFile(device) as md5sum_device_script_file:
+ with device_temp_file.DeviceTempFile(
+ device.adb) as md5sum_device_script_file:
md5sum_script = (
MD5SUM_DEVICE_SCRIPT_FORMAT.format(
path=p, md5sum_lib=MD5SUM_DEVICE_LIB_PATH,
« no previous file with comments | « build/android/pylib/utils/device_temp_file_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698