| Index: testing/libfuzzer/BUILD.gn
|
| diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
|
| index e1152f9b699cc68e0f7cf3e9b8b0a7caa919b9df..5382313e0163e23d8d143f3b749ccf8e3c1c7fe6 100644
|
| --- a/testing/libfuzzer/BUILD.gn
|
| +++ b/testing/libfuzzer/BUILD.gn
|
| @@ -51,6 +51,67 @@ if (pdf_enable_xfa) {
|
| testonly = true
|
| sources = [
|
| "pdf_codec_png_fuzzer.cc",
|
| + "xfa_codec_fuzzer.h",
|
| + ]
|
| + deps = [
|
| + "//third_party/pdfium:pdfium",
|
| + ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [
|
| + "//build/config/compiler:no_chromium_code",
|
| + ":libfuzzer_config",
|
| + ]
|
| + }
|
| + source_set("pdf_codec_jpeg_fuzzer") {
|
| + testonly = true
|
| + sources = [
|
| + "pdf_codec_jpeg_fuzzer.cc",
|
| + "xfa_codec_fuzzer.h",
|
| + ]
|
| + deps = [
|
| + "//third_party/pdfium:pdfium",
|
| + ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [
|
| + "//build/config/compiler:no_chromium_code",
|
| + ":libfuzzer_config",
|
| + ]
|
| + }
|
| + source_set("pdf_codec_gif_fuzzer") {
|
| + testonly = true
|
| + sources = [
|
| + "pdf_codec_gif_fuzzer.cc",
|
| + "xfa_codec_fuzzer.h",
|
| + ]
|
| + deps = [
|
| + "//third_party/pdfium:pdfium",
|
| + ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [
|
| + "//build/config/compiler:no_chromium_code",
|
| + ":libfuzzer_config",
|
| + ]
|
| + }
|
| + source_set("pdf_codec_bmp_fuzzer") {
|
| + testonly = true
|
| + sources = [
|
| + "pdf_codec_bmp_fuzzer.cc",
|
| + "xfa_codec_fuzzer.h",
|
| + ]
|
| + deps = [
|
| + "//third_party/pdfium:pdfium",
|
| + ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [
|
| + "//build/config/compiler:no_chromium_code",
|
| + ":libfuzzer_config",
|
| + ]
|
| + }
|
| + source_set("pdf_codec_tiff_fuzzer") {
|
| + testonly = true
|
| + sources = [
|
| + "pdf_codec_tiff_fuzzer.cc",
|
| + "xfa_codec_fuzzer.h",
|
| ]
|
| deps = [
|
| "//third_party/pdfium:pdfium",
|
|
|