Index: build/win/BUILD.gn |
diff --git a/build/win/BUILD.gn b/build/win/BUILD.gn |
index 466e7ee84bf8cc45697def84f00af5c05f437f0f..b0aeee4c1df2c5b1f9b56b992aeec8fc549efbc6 100644 |
--- a/build/win/BUILD.gn |
+++ b/build/win/BUILD.gn |
@@ -14,3 +14,67 @@ windows_manifest("default_exe_manifest") { |
] |
type = "exe" |
} |
+ |
+if (is_win) { |
Dirk Pranke
2017/03/31 17:46:16
Nit: it seems like the `if (is_win)` should be red
jochen (gone - plz use gerrit)
2017/03/31 17:58:40
See patchset 4 - the all target appears to execute
|
+ action("copy_cdb_to_output") { |
+ script = "//build/win/copy_cdb_to_output.py" |
+ inputs = [ |
+ script, |
+ ] |
+ outputs = [ |
+ "$root_out_dir/cdb/cdb.exe", |
+ "$root_out_dir/cdb/dbgeng.dll", |
+ "$root_out_dir/cdb/dbghelp.dll", |
+ "$root_out_dir/cdb/dbgmodel.dll", |
+ "$root_out_dir/cdb/winext/ext.dll", |
+ "$root_out_dir/cdb/winext/uext.dll", |
+ "$root_out_dir/cdb/winxp/exts.dll", |
+ "$root_out_dir/cdb/winxp/ntsdexts.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-console-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-datetime-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-debug-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-errorhandling-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-file-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-file-l1-2-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-file-l2-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-handle-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-heap-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-interlocked-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-libraryloader-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-localization-l1-2-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-memory-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-namedpipe-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-processenvironment-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-processthreads-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-processthreads-l1-1-1.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-profile-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-rtlsupport-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-string-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-synch-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-synch-l1-2-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-sysinfo-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-timezone-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-core-util-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-conio-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-convert-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-environment-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-filesystem-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-heap-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-locale-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-math-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-multibyte-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-private-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-process-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-runtime-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-stdio-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-string-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-time-l1-1-0.dll", |
+ "$root_out_dir/cdb/api-ms-win-crt-utility-l1-1-0.dll", |
+ "$root_out_dir/cdb/ucrtbase.dll", |
+ ] |
+ args = [ |
+ rebase_path("$root_out_dir/cdb", root_out_dir), |
+ current_cpu, |
+ ] |
+ } |
+} |