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

Side by Side 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, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 static_library("courgette_lib") { 7 static_library("courgette_lib") {
8 sources = [ 8 sources = [
9 "adjustment_method.cc", 9 "adjustment_method.cc",
10 "adjustment_method.h", 10 "adjustment_method.h",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "$root_out_dir/courgette.exe", 127 "$root_out_dir/courgette.exe",
128 ] 128 ]
129 deps = [ 129 deps = [
130 ":courgette", 130 ":courgette",
131 ] 131 ]
132 } 132 }
133 } else { 133 } else {
134 # Make sure that we have a copy of courgette64.exe in the root out 134 # Make sure that we have a copy of courgette64.exe in the root out
135 # directory. 135 # directory.
136 copy("copy_courgette_binaries") { 136 copy("copy_courgette_binaries") {
137 courgette64_label = ":courgette(//build/toolchain/win:x64)" 137 if (is_clang) {
138 courgette64_toolchain = "//build/toolchain/win:clang_x64"
139 } else {
140 courgette64_toolchain = "//build/toolchain/win:x64"
141 }
142 courgette64_label = ":courgette($courgette64_toolchain)"
143
138 courgette64_out_dir = get_label_info(courgette64_label, "root_out_dir") 144 courgette64_out_dir = get_label_info(courgette64_label, "root_out_dir")
139 sources = [ 145 sources = [
140 "$courgette64_out_dir/courgette64.exe", 146 "$courgette64_out_dir/courgette64.exe",
141 ] 147 ]
142 outputs = [ 148 outputs = [
143 "$root_out_dir/{{source_file_part}}", 149 "$root_out_dir/{{source_file_part}}",
144 ] 150 ]
145 deps = [ 151 deps = [
146 courgette64_label, 152 courgette64_label,
147 ] 153 ]
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 "encoded_program_fuzz_unittest.cc", 208 "encoded_program_fuzz_unittest.cc",
203 ] 209 ]
204 deps = [ 210 deps = [
205 ":courgette_lib", 211 ":courgette_lib",
206 "//base", 212 "//base",
207 "//base:i18n", 213 "//base:i18n",
208 "//base/test:test_support", 214 "//base/test:test_support",
209 "//testing/gtest", 215 "//testing/gtest",
210 ] 216 ]
211 } 217 }
OLDNEW
« 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