Index: build/android/gyp/create_device_library_links.py |
diff --git a/build/android/gyp/create_device_library_links.py b/build/android/gyp/create_device_library_links.py |
index b3319a137aa5305d894b831b25e3b6ac26fbc147..5dd5f39988c22003858b2d548e373f7a00308448 100755 |
--- a/build/android/gyp/create_device_library_links.py |
+++ b/build/android/gyp/create_device_library_links.py |
@@ -58,7 +58,7 @@ def TriggerSymlinkScript(options): |
adb = android_commands.AndroidCommands() |
device_dir = os.path.dirname(options.script_device_path) |
- mkdir_cmd = ('if [ ! -e %(dir)s ]; then mkdir %(dir)s; fi ' % |
+ mkdir_cmd = ('if [ ! -e %(dir)s ]; then mkdir -p %(dir)s; fi ' % |
{ 'dir': device_dir }) |
RunShellCommand(adb, mkdir_cmd) |
adb.PushIfNeeded(options.script_host_path, options.script_device_path) |