OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 # PDFium fuzzers. | 5 # PDFium fuzzers. |
6 | 6 |
7 import("//third_party/pdfium/pdfium.gni") | 7 import("//third_party/pdfium/pdfium.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 seed_corpus = "corpora/pdf_jpx" | 43 seed_corpus = "corpora/pdf_jpx" |
44 } | 44 } |
45 | 45 |
46 fuzzer_test("pdf_psengine_fuzzer") { | 46 fuzzer_test("pdf_psengine_fuzzer") { |
47 sources = [] | 47 sources = [] |
48 deps = [ | 48 deps = [ |
49 "//third_party/pdfium/testing/libfuzzer:pdf_psengine_fuzzer", | 49 "//third_party/pdfium/testing/libfuzzer:pdf_psengine_fuzzer", |
50 ] | 50 ] |
51 } | 51 } |
52 | 52 |
| 53 fuzzer_test("pdf_streamparser_fuzzer") { |
| 54 sources = [] |
| 55 deps = [ |
| 56 "//third_party/pdfium/testing/libfuzzer:pdf_streamparser_fuzzer", |
| 57 ] |
| 58 } |
| 59 |
53 if (pdf_enable_xfa) { | 60 if (pdf_enable_xfa) { |
54 fuzzer_test("pdf_codec_bmp_fuzzer") { | 61 fuzzer_test("pdf_codec_bmp_fuzzer") { |
55 sources = [] | 62 sources = [] |
56 deps = [ | 63 deps = [ |
57 "//third_party/pdfium/testing/libfuzzer:pdf_codec_bmp_fuzzer", | 64 "//third_party/pdfium/testing/libfuzzer:pdf_codec_bmp_fuzzer", |
58 ] | 65 ] |
59 seed_corpus = "corpora/pdf_codec_bmp" | 66 seed_corpus = "corpora/pdf_codec_bmp" |
60 } | 67 } |
61 | 68 |
62 fuzzer_test("pdf_codec_gif_fuzzer") { | 69 fuzzer_test("pdf_codec_gif_fuzzer") { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 127 } |
121 | 128 |
122 fuzzer_test("pdf_cfx_saxreader_fuzzer") { | 129 fuzzer_test("pdf_cfx_saxreader_fuzzer") { |
123 sources = [] | 130 sources = [] |
124 deps = [ | 131 deps = [ |
125 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", | 132 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", |
126 ] | 133 ] |
127 dict = "dicts/pdf_xml.dict" | 134 dict = "dicts/pdf_xml.dict" |
128 } | 135 } |
129 } | 136 } |
OLD | NEW |