| 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 } | 146 } |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 fuzzer_test("icu_break_iterator_utf32_fuzzer") { | 327 fuzzer_test("icu_break_iterator_utf32_fuzzer") { |
| 317 sources = [ | 328 sources = [ |
| 318 "icu_break_iterator_utf32_fuzzer.cc", | 329 "icu_break_iterator_utf32_fuzzer.cc", |
| 319 ] | 330 ] |
| 320 deps = [ | 331 deps = [ |
| 321 "//base", | 332 "//base", |
| 322 "//base:i18n", | 333 "//base:i18n", |
| 323 "//third_party/icu", | 334 "//third_party/icu", |
| 324 ] | 335 ] |
| 325 } | 336 } |
| OLD | NEW |