Index: build/gyp_chromium |
diff --git a/build/gyp_chromium b/build/gyp_chromium |
index a158f3995a36c0ac4b59b96937e49ae12d061f9f..7274963aca534e0bf71c26fe8b24cfbc36609e73 100755 |
--- a/build/gyp_chromium |
+++ b/build/gyp_chromium |
@@ -369,13 +369,22 @@ def CopyVsRuntimeDlls(output_dir, runtime_dirs): |
x86, x64 = runtime_dirs |
out_debug = os.path.join(output_dir, 'Debug') |
+ out_debug_nacl64 = os.path.join(output_dir, 'Debug', 'x64') |
out_release = os.path.join(output_dir, 'Release') |
+ out_release_nacl64 = os.path.join(output_dir, 'Release', 'x64') |
out_debug_x64 = os.path.join(output_dir, 'Debug_x64') |
out_release_x64 = os.path.join(output_dir, 'Release_x64') |
- copy_runtime(out_debug, x86, 'msvc%s120d.dll') |
- copy_runtime(out_release, x86, 'msvc%s120.dll') |
- copy_runtime(out_debug_x64, x64, 'msvc%s120d.dll') |
- copy_runtime(out_release_x64, x64, 'msvc%s120.dll') |
+ |
+ if os.path.exists(out_debug) and not os.path.exists(out_debug_nacl64): |
+ os.makedirs(out_debug_nacl64) |
+ if os.path.exists(out_release) and not os.path.exists(out_release_nacl64): |
+ os.makedirs(out_release_nacl64) |
+ copy_runtime(out_debug, x86, 'msvc%s120d.dll') |
+ copy_runtime(out_release, x86, 'msvc%s120.dll') |
+ copy_runtime(out_debug_x64, x64, 'msvc%s120d.dll') |
+ copy_runtime(out_release_x64, x64, 'msvc%s120.dll') |
+ copy_runtime(out_debug_nacl64, x64, 'msvc%s120d.dll') |
+ copy_runtime(out_release_nacl64, x64, 'msvc%s120.dll') |
if __name__ == '__main__': |