Chromium Code Reviews| Index: courgette/BUILD.gn |
| diff --git a/courgette/BUILD.gn b/courgette/BUILD.gn |
| index 371085447ca59779c3b832eb304ad6424405cd82..332de27c2dfde970f2af8cfa1c1188f351a5eac6 100644 |
| --- a/courgette/BUILD.gn |
| +++ b/courgette/BUILD.gn |
| @@ -129,15 +129,27 @@ if (!is_ios) { |
| # Make sure that we have a copy of courgette64.exe in the root out |
| # directory. |
| copy("copy_courgette_binaries") { |
| - sources = [ |
| - "$root_out_dir/x64/courgette64.exe", |
| - ] |
| + if (is_clang) { |
| + sources = [ |
| + "$root_out_dir/courgette64.exe", |
|
etienneb
2016/07/28 15:35:39
Just in case you missed it, with this "is_clang" h
|
| + ] |
| + } else { |
| + sources = [ |
| + "$root_out_dir/x64/courgette64.exe", |
| + ] |
| + } |
| outputs = [ |
| "$root_out_dir/courgette64.exe", |
| ] |
| - deps = [ |
| - ":courgette(//build/toolchain/win:x64)", |
| - ] |
| + if (is_clang) { |
| + deps = [ |
| + ":courgette(//build/toolchain/win:clang_x64)", |
| + ] |
| + } else { |
| + deps = [ |
| + ":courgette(//build/toolchain/win:x64)", |
| + ] |
| + } |
| } |
| } |
| } |