| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # Individual libfuzzer tests that didn't find their home yet. | 5 # Individual libfuzzer tests that didn't find their home yet. |
| 6 | 6 |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
| 10 | 10 |
| 11 # root BUILD depenends on this target. Needed for package discovery | 11 # root BUILD depenends on this target. Needed for package discovery |
| 12 group("fuzzers") { | 12 group("fuzzers") { |
| 13 } | 13 } |
| 14 | 14 |
| 15 fuzzer_test("empty_fuzzer") { | 15 fuzzer_test("empty_fuzzer") { |
| 16 sources = [ | 16 sources = [ |
| 17 "empty_fuzzer.cc", | 17 "empty_fuzzer.cc", |
| 18 ] | 18 ] |
| 19 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] | 19 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] |
| 20 } | 20 } |
| 21 | 21 |
| 22 fuzzer_test("brotli_fuzzer") { | |
| 23 sources = [ | |
| 24 "brotli_fuzzer.cc", | |
| 25 ] | |
| 26 deps = [ | |
| 27 "//third_party/brotli:dec", | |
| 28 ] | |
| 29 libfuzzer_options = [ "max_len=1280" ] | |
| 30 } | |
| 31 | |
| 32 fuzzer_test("courgette_fuzzer") { | 22 fuzzer_test("courgette_fuzzer") { |
| 33 sources = [ | 23 sources = [ |
| 34 "courgette_fuzzer.cc", | 24 "courgette_fuzzer.cc", |
| 35 ] | 25 ] |
| 36 deps = [ | 26 deps = [ |
| 37 "//base", | 27 "//base", |
| 38 "//courgette:courgette_lib", | 28 "//courgette:courgette_lib", |
| 39 ] | 29 ] |
| 40 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] | 30 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] |
| 41 } | 31 } |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 } | 438 } |
| 449 | 439 |
| 450 fuzzer_test("hash_fuzzer") { | 440 fuzzer_test("hash_fuzzer") { |
| 451 sources = [ | 441 sources = [ |
| 452 "hash_fuzzer.cc", | 442 "hash_fuzzer.cc", |
| 453 ] | 443 ] |
| 454 deps = [ | 444 deps = [ |
| 455 "//base", | 445 "//base", |
| 456 ] | 446 ] |
| 457 } | 447 } |
| OLD | NEW |