Index: courgette/BUILD.gn |
diff --git a/courgette/BUILD.gn b/courgette/BUILD.gn |
index 8a9eeaf073b44e6b10388da47efa0e61ba92b525..5693b9a899cc4d3f3d8bb361b8cbe7a74d7f3913 100644 |
--- a/courgette/BUILD.gn |
+++ b/courgette/BUILD.gn |
@@ -108,6 +108,23 @@ if (!is_ios) { |
"//build/win:default_exe_manifest", |
] |
} |
+ |
+ # The official build scripts expect courgette.exe to be in the official build |
+ # archives but it's not clear if they really need it, copy courgette64.exe to |
+ # courgette.exe to work around this. https://crbug.com/629243 |
+ if (is_win && current_cpu == "x64") { |
+ copy("copy_courgette64_to_courgette") { |
+ sources = [ |
+ "$root_out_dir/courgette64.exe", |
+ ] |
+ outputs = [ |
+ "$root_out_dir/courgette.exe", |
+ ] |
+ deps = [ |
+ ":courgette", |
+ ] |
+ } |
+ } |
} |
test("courgette_unittests") { |