OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//testing/libfuzzer/fuzzer_test.gni") | 5 import("//testing/libfuzzer/fuzzer_test.gni") |
6 | 6 |
7 config("ots_config") { | 7 config("ots_config") { |
8 include_dirs = [ "include" ] | 8 include_dirs = [ "include" ] |
9 } | 9 } |
10 | 10 |
11 source_set("ots") { | 11 static_library("ots") { |
12 sources = [ | 12 sources = [ |
13 "include/opentype-sanitiser.h", | 13 "include/opentype-sanitiser.h", |
14 "include/ots-memory-stream.h", | 14 "include/ots-memory-stream.h", |
15 "src/cff.cc", | 15 "src/cff.cc", |
16 "src/cff.h", | 16 "src/cff.h", |
17 "src/cff_type2_charstring.cc", | 17 "src/cff_type2_charstring.cc", |
18 "src/cff_type2_charstring.h", | 18 "src/cff_type2_charstring.h", |
19 "src/cmap.cc", | 19 "src/cmap.cc", |
20 "src/cmap.h", | 20 "src/cmap.h", |
21 "src/cvt.cc", | 21 "src/cvt.cc", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 fuzzer_test("ots_fuzzer") { | 93 fuzzer_test("ots_fuzzer") { |
94 sources = [ | 94 sources = [ |
95 "fuzz/ots_fuzzer.cc", | 95 "fuzz/ots_fuzzer.cc", |
96 ] | 96 ] |
97 deps = [ | 97 deps = [ |
98 ":ots", | 98 ":ots", |
99 ] | 99 ] |
100 libfuzzer_options = [ "max_len=16800" ] | 100 libfuzzer_options = [ "max_len=16800" ] |
101 seed_corpus = "//third_party/harfbuzz-ng/fuzz/seed_corpus" | 101 seed_corpus = "//third_party/harfbuzz-ng/fuzz/seed_corpus" |
102 } | 102 } |
OLD | NEW |