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

Unified Diff: build/android/gyp/push_libraries.py

Issue 2760923002: [build/android] Fix device.RunShellCommand usages (Closed)
Patch Set: Created 3 years, 9 months 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
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)])

Powered by Google App Engine
This is Rietveld 408576698