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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 dict = "dicts/pdf_codec_jpeg.dict" | 126 dict = "dicts/pdf_codec_jpeg.dict" |
127 seed_corpus = "corpora/pdf_codec_jpeg" | 127 seed_corpus = "corpora/pdf_codec_jpeg" |
128 } | 128 } |
129 | 129 |
130 fuzzer_test("pdf_codec_png_fuzzer") { | 130 fuzzer_test("pdf_codec_png_fuzzer") { |
131 sources = [] | 131 sources = [] |
132 deps = [ | 132 deps = [ |
133 "//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer", | 133 "//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer", |
134 ] | 134 ] |
135 dict = "dicts/pdf_codec_png.dict" | 135 dict = "dicts/pdf_codec_png.dict" |
136 seed_corpus = "corpora/pdf_codec_png" | 136 seed_corpuses = [ |
| 137 "corpora/pdf_codec_png", |
| 138 "//cc/test/data", |
| 139 "//third_party/WebKit/LayoutTests/images/png-suite/samples", |
| 140 "//third_party/WebKit/LayoutTests/images/resources/pngfuzz", |
| 141 ] |
137 } | 142 } |
138 | 143 |
139 fuzzer_test("pdf_codec_tiff_fuzzer") { | 144 fuzzer_test("pdf_codec_tiff_fuzzer") { |
140 sources = [] | 145 sources = [] |
141 deps = [ | 146 deps = [ |
142 "//third_party/pdfium/testing/libfuzzer:pdf_codec_tiff_fuzzer", | 147 "//third_party/pdfium/testing/libfuzzer:pdf_codec_tiff_fuzzer", |
143 ] | 148 ] |
144 dict = "dicts/pdf_codec_tiff.dict" | 149 dict = "dicts/pdf_codec_tiff.dict" |
145 seed_corpus = "corpora/pdf_codec_tiff" | 150 seed_corpus = "corpora/pdf_codec_tiff" |
146 } | 151 } |
(...skipping 23 matching lines...) Expand all Loading... |
170 } | 175 } |
171 | 176 |
172 fuzzer_test("pdf_cfx_saxreader_fuzzer") { | 177 fuzzer_test("pdf_cfx_saxreader_fuzzer") { |
173 sources = [] | 178 sources = [] |
174 deps = [ | 179 deps = [ |
175 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", | 180 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", |
176 ] | 181 ] |
177 dict = "dicts/pdf_xml.dict" | 182 dict = "dicts/pdf_xml.dict" |
178 } | 183 } |
179 } | 184 } |
OLD | NEW |