| Index: pdf/pdfium/fuzzers/BUILD.gn
|
| diff --git a/pdf/pdfium/fuzzers/BUILD.gn b/pdf/pdfium/fuzzers/BUILD.gn
|
| index 70a043c5e3f4c1e3716447771ff42ac1d7d07a73..c5aaf3af47ec4197039f055e6018805be2c6aa61 100644
|
| --- a/pdf/pdfium/fuzzers/BUILD.gn
|
| +++ b/pdf/pdfium/fuzzers/BUILD.gn
|
| @@ -14,6 +14,8 @@ group("fuzzers") {
|
| fuzzer_test("pdfium_fuzzer") {
|
| sources = [
|
| "pdfium_fuzzer.cc",
|
| + "pdfium_fuzzer_helper.cc",
|
| + "pdfium_fuzzer_helper.h",
|
| ]
|
| deps = [
|
| "//third_party/pdfium",
|
| @@ -26,6 +28,7 @@ fuzzer_test("pdfium_fuzzer") {
|
| "//v8:external_startup_data",
|
| ]
|
| dict = "dicts/pdf.dict"
|
| + seed_corpus = "src/third_party/pdfium/test"
|
| }
|
|
|
| fuzzer_test("pdf_cmap_fuzzer") {
|
| @@ -181,4 +184,24 @@ if (pdf_enable_xfa) {
|
| ]
|
| dict = "dicts/pdf_xml.dict"
|
| }
|
| +
|
| + fuzzer_test("pdfium_xfa_fuzzer") {
|
| + sources = [
|
| + "pdfium_fuzzer_helper.cc",
|
| + "pdfium_fuzzer_helper.h",
|
| + "pdfium_xfa_fuzzer.cc",
|
| + ]
|
| + deps = [
|
| + "//third_party/pdfium",
|
| + "//third_party/pdfium:test_support",
|
| + "//v8",
|
| + "//v8:v8_libplatform",
|
| + ]
|
| + additional_configs = [
|
| + "//third_party/pdfium:pdfium_core_config",
|
| + "//v8:external_startup_data",
|
| + ]
|
| + dict = "dicts/pdf.dict"
|
| + seed_corpus = "src/third_party/pdfium/test"
|
| + }
|
| }
|
|
|