OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # ICU fuzzers. |
| 6 |
| 7 import("//third_party/icu/config.gni") |
| 8 import("//testing/libfuzzer/fuzzer_test.gni") |
| 9 |
| 10 # root BUILD depenends on this target. Needed for package discovery |
| 11 group("fuzzers") { |
| 12 } |
| 13 |
| 14 fuzzer_test("icu_uregex_open_fuzzer") { |
| 15 sources = [ |
| 16 "icu_uregex_open_fuzzer.cc", |
| 17 ] |
| 18 deps = [ |
| 19 "//third_party/icu", |
| 20 ] |
| 21 dict = "icu_regex.dict" |
| 22 libfuzzer_options = [ "max_len=128" ] |
| 23 } |
| 24 |
| 25 fuzzer_test("icu_unicode_string_codepage_create_fuzzer") { |
| 26 sources = [ |
| 27 "icu_unicode_string_codepage_create_fuzzer.cc", |
| 28 ] |
| 29 deps = [ |
| 30 "//third_party/icu", |
| 31 ] |
| 32 } |
| 33 |
| 34 fuzzer_test("icu_number_format_fuzzer") { |
| 35 sources = [ |
| 36 "icu_number_format_fuzzer.cc", |
| 37 ] |
| 38 deps = [ |
| 39 "//base:i18n", |
| 40 "//third_party/icu", |
| 41 ] |
| 42 } |
| 43 |
| 44 fuzzer_test("icu_break_iterator_fuzzer") { |
| 45 sources = [ |
| 46 "icu_break_iterator_fuzzer.cc", |
| 47 ] |
| 48 deps = [ |
| 49 "//base:i18n", |
| 50 "//third_party/icu", |
| 51 ] |
| 52 } |
| 53 |
| 54 fuzzer_test("icu_ucasemap_fuzzer") { |
| 55 sources = [ |
| 56 "icu_ucasemap_fuzzer.cc", |
| 57 ] |
| 58 deps = [ |
| 59 "//base:i18n", |
| 60 "//third_party/icu", |
| 61 ] |
| 62 } |
| 63 |
OLD | NEW |