Index: testing/libfuzzer/BUILD.gn |
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn |
index 0ee8b29e38009407ea2025f9da57bfa83dffd902..e1152f9b699cc68e0f7cf3e9b8b0a7caa919b9df 100644 |
--- a/testing/libfuzzer/BUILD.gn |
+++ b/testing/libfuzzer/BUILD.gn |
@@ -47,6 +47,20 @@ if (pdf_enable_xfa) { |
":libfuzzer_config", |
] |
} |
+ source_set("pdf_codec_png_fuzzer") { |
+ testonly = true |
+ sources = [ |
+ "pdf_codec_png_fuzzer.cc", |
+ ] |
+ deps = [ |
+ "//third_party/pdfium:pdfium", |
+ ] |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ |
+ "//build/config/compiler:no_chromium_code", |
+ ":libfuzzer_config", |
+ ] |
+ } |
} |
source_set("pdf_jpx_fuzzer") { |