Index: build/android/pylib/android_commands.py |
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
index 816b002479afe0dcc8913894189f4e5f823ef077..596a70c63ea5978a5b36f294d4a1ceda95416db1 100644 |
--- a/build/android/pylib/android_commands.py |
+++ b/build/android/pylib/android_commands.py |
@@ -1086,6 +1086,7 @@ class AndroidCommands(object): |
self._pushed_files.append(device_path) |
self._potential_push_size += size |
+ self.RunShellCommand('mkdir -p "%s"' % device_path) |
jbudorick
2014/05/20 18:03:39
I'm still not sure that this will properly handle
jbudorick
2014/05/20 18:53:53
Still not sure w.r.t. the above (although leaning
Kibeom Kim (inactive)
2014/05/20 19:06:15
Oh, I wasn't aware of that device_path can also be
jbudorick
2014/05/20 19:09:40
Yeah, that seems fine to me. As you said, it would
Kibeom Kim (inactive)
2014/05/20 19:13:27
Done.
|
changed_files = self.GetFilesChanged(host_path, device_path) |
logging.info('Found %d files that need to be pushed to %s', |
len(changed_files), device_path) |