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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 170 } |
171 | 171 |
172 fuzzer_test("pdf_xml_fuzzer") { | 172 fuzzer_test("pdf_xml_fuzzer") { |
173 sources = [] | 173 sources = [] |
174 deps = [ | 174 deps = [ |
175 "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer", | 175 "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer", |
176 ] | 176 ] |
177 dict = "dicts/pdf_xml.dict" | 177 dict = "dicts/pdf_xml.dict" |
178 } | 178 } |
179 | 179 |
| 180 fuzzer_test("pdf_cfx_barcode_fuzzer") { |
| 181 sources = [] |
| 182 deps = [ |
| 183 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_barcode_fuzzer", |
| 184 ] |
| 185 } |
| 186 |
180 fuzzer_test("pdf_cfx_saxreader_fuzzer") { | 187 fuzzer_test("pdf_cfx_saxreader_fuzzer") { |
181 sources = [] | 188 sources = [] |
182 deps = [ | 189 deps = [ |
183 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", | 190 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", |
184 ] | 191 ] |
185 dict = "dicts/pdf_xml.dict" | 192 dict = "dicts/pdf_xml.dict" |
186 } | 193 } |
187 | 194 |
188 fuzzer_test("pdfium_xfa_fuzzer") { | 195 fuzzer_test("pdfium_xfa_fuzzer") { |
189 sources = [ | 196 sources = [ |
190 "pdfium_fuzzer_helper.cc", | 197 "pdfium_fuzzer_helper.cc", |
191 "pdfium_fuzzer_helper.h", | 198 "pdfium_fuzzer_helper.h", |
192 "pdfium_xfa_fuzzer.cc", | 199 "pdfium_xfa_fuzzer.cc", |
193 ] | 200 ] |
194 deps = [ | 201 deps = [ |
195 "//third_party/pdfium", | 202 "//third_party/pdfium", |
196 "//third_party/pdfium:test_support", | 203 "//third_party/pdfium:test_support", |
197 "//v8", | 204 "//v8", |
198 "//v8:v8_libplatform", | 205 "//v8:v8_libplatform", |
199 ] | 206 ] |
200 additional_configs = [ | 207 additional_configs = [ |
201 "//third_party/pdfium:pdfium_core_config", | 208 "//third_party/pdfium:pdfium_core_config", |
202 "//v8:external_startup_data", | 209 "//v8:external_startup_data", |
203 ] | 210 ] |
204 dict = "dicts/pdf.dict" | 211 dict = "dicts/pdf.dict" |
205 seed_corpus = "src/third_party/pdfium/test" | 212 seed_corpus = "src/third_party/pdfium/test" |
206 } | 213 } |
207 } | 214 } |
OLD | NEW |