summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/BUILD.gn
diff options
context:
space:
mode:
authorkcwu <kcwu@chromium.org>2016-09-27 14:06:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-27 14:06:50 -0700
commitec7a9455c15b2cebb75a6036c8636beb601e543a (patch)
tree618beba7e39e567e645bbaa0b36ec008c50b5b41 /testing/libfuzzer/BUILD.gn
parent5060b2e37b82a2e2907e11685ed2998d06d8b452 (diff)
downloadpdfium-ec7a9455c15b2cebb75a6036c8636beb601e543a.tar.xz
Add fuzzer for jbig2 parsing
Review-Url: https://codereview.chromium.org/2370943004
Diffstat (limited to 'testing/libfuzzer/BUILD.gn')
-rw-r--r--testing/libfuzzer/BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index 7049add6c5..e89918b05f 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -199,6 +199,21 @@ source_set("pdf_codec_icc_fuzzer") {
]
}
+source_set("pdf_codec_jbig2_fuzzer") {
+ testonly = true
+ sources = [
+ "pdf_codec_jbig2_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") {
testonly = true
sources = [