| Index: third_party/sfntly/BUILD.gn
|
| diff --git a/third_party/sfntly/BUILD.gn b/third_party/sfntly/BUILD.gn
|
| index 621b463197d7a48683bcfde2e3523ee0721e9ae2..0f32b63fe7703d6f769ecfd480412ba950b52e2c 100644
|
| --- a/third_party/sfntly/BUILD.gn
|
| +++ b/third_party/sfntly/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")
|
| +
|
| declare_args() {
|
| # Flip to true to build sfntly sample programs.
|
| build_sfntly_samples = false
|
| @@ -158,6 +160,16 @@ static_library("sfntly") {
|
| ]
|
| }
|
|
|
| +fuzzer_test("sfntly_fuzzer") {
|
| + sources = [
|
| + "fuzzers/subset_font_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + ":sfntly",
|
| + "//base/test:test_support",
|
| + ]
|
| +}
|
| +
|
| if (build_sfntly_samples) {
|
| source_set("sfntly_subtly") {
|
| sources = [
|
|
|