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

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: nits 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 f80206cf7db019a0341e72dc3a9164aee4d50d1c..03fb5fc74ab4e61d147730932e1846cd8b2cc0aa 100644
--- a/courgette/BUILD.gn
+++ b/courgette/BUILD.gn
@@ -134,7 +134,13 @@ if (!is_ios) {
# Make sure that we have a copy of courgette64.exe in the root out
# directory.
copy("copy_courgette_binaries") {
- courgette64_label = ":courgette(//build/toolchain/win:x64)"
+ if (is_clang) {
+ courgette64_toolchain = "//build/toolchain/win:clang_x64"
+ } else {
+ courgette64_toolchain = "//build/toolchain/win:x64"
+ }
+ courgette64_label = ":courgette($courgette64_toolchain)"
+
courgette64_out_dir = get_label_info(courgette64_label, "root_out_dir")
sources = [
"$courgette64_out_dir/courgette64.exe",
« 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