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 | 7 |
7 defines = [ "GN_BUILD" ] | 8 defines = [ "GN_BUILD" ] |
8 | 9 |
9 static_library("gn_lib") { | 10 static_library("gn_lib") { |
10 configs += [ "//build/config:precompiled_headers" ] | 11 configs += [ "//build/config:precompiled_headers" ] |
11 | 12 |
12 sources = [ | 13 sources = [ |
13 "action_target_generator.cc", | 14 "action_target_generator.cc", |
14 "action_target_generator.h", | 15 "action_target_generator.h", |
15 "action_values.cc", | 16 "action_values.cc", |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 "format_test_data/", | 340 "format_test_data/", |
340 ] | 341 ] |
341 | 342 |
342 deps = [ | 343 deps = [ |
343 ":gn_lib", | 344 ":gn_lib", |
344 "//base/test:run_all_unittests", | 345 "//base/test:run_all_unittests", |
345 "//base/test:test_support", | 346 "//base/test:test_support", |
346 "//testing/gtest", | 347 "//testing/gtest", |
347 ] | 348 ] |
348 } | 349 } |
| 350 |
| 351 fuzzer_test("gn_parser_fuzzer") { |
| 352 sources = [ |
| 353 "parser_fuzzer.cc", |
| 354 ] |
| 355 deps = [ |
| 356 ":gn_lib", |
| 357 ] |
| 358 } |
OLD | NEW |