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 import("//testing/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
7 | 7 |
8 defines = [ "GN_BUILD" ] | 8 defines = [ "GN_BUILD" ] |
9 | 9 |
10 static_library("gn_lib") { | 10 static_library("gn_lib") { |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 # enable_iterator_debugging = false | 263 # enable_iterator_debugging = false |
264 executable("gn") { | 264 executable("gn") { |
265 sources = [ | 265 sources = [ |
266 "gn_main.cc", | 266 "gn_main.cc", |
267 ] | 267 ] |
268 | 268 |
269 deps = [ | 269 deps = [ |
270 ":gn_lib", | 270 ":gn_lib", |
271 ":last_commit_position", | 271 ":last_commit_position", |
272 "//base", | 272 "//base", |
273 "//build/config/sanitizers:deps", | 273 "//build/config:exe_and_shlib_deps", |
274 "//build/win:default_exe_manifest", | 274 "//build/win:default_exe_manifest", |
275 ] | 275 ] |
276 } | 276 } |
277 | 277 |
278 test("gn_unittests") { | 278 test("gn_unittests") { |
279 sources = [ | 279 sources = [ |
280 "action_target_generator_unittest.cc", | 280 "action_target_generator_unittest.cc", |
281 "analyzer_unittest.cc", | 281 "analyzer_unittest.cc", |
282 "args_unittest.cc", | 282 "args_unittest.cc", |
283 "builder_unittest.cc", | 283 "builder_unittest.cc", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 } | 354 } |
355 | 355 |
356 fuzzer_test("gn_parser_fuzzer") { | 356 fuzzer_test("gn_parser_fuzzer") { |
357 sources = [ | 357 sources = [ |
358 "parser_fuzzer.cc", | 358 "parser_fuzzer.cc", |
359 ] | 359 ] |
360 deps = [ | 360 deps = [ |
361 ":gn_lib", | 361 ":gn_lib", |
362 ] | 362 ] |
363 } | 363 } |
OLD | NEW |