| 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 depends 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 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 fuzzer_test("string_to_int_fuzzer") { | 117 fuzzer_test("string_to_int_fuzzer") { |
| 118 sources = [ | 118 sources = [ |
| 119 "string_to_int_fuzzer.cc", | 119 "string_to_int_fuzzer.cc", |
| 120 ] | 120 ] |
| 121 deps = [ | 121 deps = [ |
| 122 "//base", | 122 "//base", |
| 123 ] | 123 ] |
| 124 } | 124 } |
| 125 | 125 |
| 126 fuzzer_test("template_url_parser_fuzzer") { |
| 127 sources = [ |
| 128 "template_url_parser_fuzzer.cc", |
| 129 ] |
| 130 deps = [ |
| 131 "//components/search_engines:search_engines", |
| 132 ] |
| 133 dict = "dicts/xml.dict" |
| 134 libfuzzer_options = [ "max_len=4096" ] |
| 135 } |
| 136 |
| 126 fuzzer_test("url_parse_fuzzer") { | 137 fuzzer_test("url_parse_fuzzer") { |
| 127 sources = [ | 138 sources = [ |
| 128 "url_parse_fuzzer.cc", | 139 "url_parse_fuzzer.cc", |
| 129 ] | 140 ] |
| 130 deps = [ | 141 deps = [ |
| 131 "//base", | 142 "//base", |
| 132 "//base:i18n", | 143 "//base:i18n", |
| 133 "//url:url", | 144 "//url:url", |
| 134 ] | 145 ] |
| 135 dict = "dicts/generated/url_parse_fuzzer.dict" | 146 dict = "dicts/generated/url_parse_fuzzer.dict" |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 } | 459 } |
| 449 | 460 |
| 450 fuzzer_test("hash_fuzzer") { | 461 fuzzer_test("hash_fuzzer") { |
| 451 sources = [ | 462 sources = [ |
| 452 "hash_fuzzer.cc", | 463 "hash_fuzzer.cc", |
| 453 ] | 464 ] |
| 454 deps = [ | 465 deps = [ |
| 455 "//base", | 466 "//base", |
| 456 ] | 467 ] |
| 457 } | 468 } |
| OLD | NEW |