OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 defines = [ "GN_BUILD" ] | 7 defines = [ "GN_BUILD" ] |
8 | 8 |
9 static_library("gn_lib") { | 9 static_library("gn_lib") { |
10 configs += [ "//build/config:precompiled_headers" ] | 10 configs += [ "//build/config:precompiled_headers" ] |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 # enable_iterator_debugging = false | 222 # enable_iterator_debugging = false |
223 executable("gn") { | 223 executable("gn") { |
224 sources = [ | 224 sources = [ |
225 "gn_main.cc", | 225 "gn_main.cc", |
226 ] | 226 ] |
227 | 227 |
228 deps = [ | 228 deps = [ |
229 ":gn_lib", | 229 ":gn_lib", |
230 ":last_commit_position", | 230 ":last_commit_position", |
231 "//base", | 231 "//base", |
| 232 "//build/config/sanitizers:deps", |
232 ] | 233 ] |
233 } | 234 } |
234 | 235 |
235 # TODO(GYP): Delete this after we've converted everything to GN. | 236 # TODO(GYP): Delete this after we've converted everything to GN. |
236 # The _run targets exist only for compatibility w/ GYP. | 237 # The _run targets exist only for compatibility w/ GYP. |
237 group("gn_unittests_run") { | 238 group("gn_unittests_run") { |
238 testonly = true | 239 testonly = true |
239 deps = [ | 240 deps = [ |
240 ":gn_unittests", | 241 ":gn_unittests", |
241 ] | 242 ] |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 "//testing/gtest", | 310 "//testing/gtest", |
310 ] | 311 ] |
311 } | 312 } |
312 | 313 |
313 executable("generate_test_gn_data") { | 314 executable("generate_test_gn_data") { |
314 sources = [ | 315 sources = [ |
315 "generate_test_gn_data.cc", | 316 "generate_test_gn_data.cc", |
316 ] | 317 ] |
317 deps = [ | 318 deps = [ |
318 "//base", | 319 "//base", |
| 320 "//build/config/sanitizers:deps", |
319 ] | 321 ] |
320 } | 322 } |
OLD | NEW |