| Index: fuzzers/BUILD.gn
|
| diff --git a/fuzzers/BUILD.gn b/fuzzers/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9eb7520fc8fdeaa8bc562a4ba8b2f4b88ebba9dc
|
| --- /dev/null
|
| +++ b/fuzzers/BUILD.gn
|
| @@ -0,0 +1,63 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +# ICU fuzzers.
|
| +
|
| +import("//third_party/icu/config.gni")
|
| +import("//testing/libfuzzer/fuzzer_test.gni")
|
| +
|
| +# root BUILD depenends on this target. Needed for package discovery
|
| +group("fuzzers") {
|
| +}
|
| +
|
| +fuzzer_test("icu_uregex_open_fuzzer") {
|
| + sources = [
|
| + "icu_uregex_open_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + "//third_party/icu",
|
| + ]
|
| + dict = "icu_regex.dict"
|
| + libfuzzer_options = [ "max_len=128" ]
|
| +}
|
| +
|
| +fuzzer_test("icu_unicode_string_codepage_create_fuzzer") {
|
| + sources = [
|
| + "icu_unicode_string_codepage_create_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + "//third_party/icu",
|
| + ]
|
| +}
|
| +
|
| +fuzzer_test("icu_number_format_fuzzer") {
|
| + sources = [
|
| + "icu_number_format_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + "//base:i18n",
|
| + "//third_party/icu",
|
| + ]
|
| +}
|
| +
|
| +fuzzer_test("icu_break_iterator_fuzzer") {
|
| + sources = [
|
| + "icu_break_iterator_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + "//base:i18n",
|
| + "//third_party/icu",
|
| + ]
|
| +}
|
| +
|
| +fuzzer_test("icu_ucasemap_fuzzer") {
|
| + sources = [
|
| + "icu_ucasemap_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + "//base:i18n",
|
| + "//third_party/icu",
|
| + ]
|
| +}
|
| +
|
|
|