| Index: third_party/ots/BUILD.gn
|
| diff --git a/third_party/ots/BUILD.gn b/third_party/ots/BUILD.gn
|
| index 109897eb29019cd562f9ada67e1b31f7483744d0..738f3897ca215b8a10378c1c2543509c49302d5b 100644
|
| --- a/third_party/ots/BUILD.gn
|
| +++ b/third_party/ots/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//testing/libfuzzer/fuzzer_test.gni")
|
| +
|
| config("ots_config") {
|
| include_dirs = [ "include" ]
|
| }
|
| @@ -87,3 +89,14 @@ source_set("ots") {
|
| ]
|
| }
|
| }
|
| +
|
| +fuzzer_test("ots_fuzzer") {
|
| + sources = [
|
| + "fuzz/ots_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + ":ots",
|
| + ]
|
| + libfuzzer_options = [ "max_len=16800" ]
|
| + seed_corpus = "//third_party/harfbuzz-ng/fuzz/seed_corpus"
|
| +}
|
|
|