Index: build/android/gyp/push_libraries.py |
diff --git a/build/android/gyp/push_libraries.py b/build/android/gyp/push_libraries.py |
index 7d904430ccc3f18fd430dc67f1ccb84c637d5056..1a64f3dc9b0514d74485da575d703cfb823e3088 100755 |
--- a/build/android/gyp/push_libraries.py |
+++ b/build/android/gyp/push_libraries.py |
@@ -40,7 +40,8 @@ def DoPush(options): |
def Push(): |
if needs_directory: |
- device.RunShellCommand('mkdir -p ' + options.device_dir) |
+ device.RunShellCommand( |
+ ['mkdir', '-p', options.device_dir], check_return=True) |
needs_directory[:] = [] # = False |
device.PushChangedFiles([(os.path.abspath(host_path), device_path)]) |