Index: build/android/pylib/android_commands.py |
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
index 793667f8199b963680a016953c91cb0bdee598c7..e565ec89493d6f23449b2b47171377c26e17bb4e 100644 |
--- a/build/android/pylib/android_commands.py |
+++ b/build/android/pylib/android_commands.py |
@@ -684,7 +684,7 @@ class AndroidCommands(object): |
assert os.path.exists(local_path), 'Local path not found %s' % local_path |
md5sum_output = cmd_helper.GetCmdOutput( |
['%s_host' % self._md5sum_path, local_path]) |
- hashes_on_host = _ComputeFileListHash(md5sum_output) |
+ hashes_on_host = _ComputeFileListHash(md5sum_output.splitlines()) |
if hashes_on_device == hashes_on_host: |
return |