Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1228)

Unified Diff: courgette/BUILD.gn

Issue 2192833002: Fix GN generation for WinASAN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« build/config/sanitizers/BUILD.gn ('K') | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)",
+ ]
+ }
}
}
}
« build/config/sanitizers/BUILD.gn ('K') | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698