summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/BUILD.gn
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-06 08:48:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-06 08:48:50 -0700
commitf7e108b2d0c2f67a143e99693df084bfff7037ec (patch)
tree51a987a7e62129a57d88553406d36a562d8d446e /testing/libfuzzer/BUILD.gn
parentd1b859c0bc849759ee57dba000687eef4fee9757 (diff)
downloadpdfium-f7e108b2d0c2f67a143e99693df084bfff7037ec.tar.xz
This CL creates a fuzzer for the CCodec_PngModule code. BUG=chromium:616838 Review-Url: https://codereview.chromium.org/2047453002
Diffstat (limited to 'testing/libfuzzer/BUILD.gn')
-rw-r--r--testing/libfuzzer/BUILD.gn14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index 0ee8b29e38..e1152f9b69 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") {