summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/BUILD.gn
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 07:40:47 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 07:40:47 -0700
commit5377267504015d056bc0860ffadc23289b21039d (patch)
treeaecbd448c6853bb5a56406e61fe909bd492405c2 /testing/libfuzzer/BUILD.gn
parent23c9c47096376be564bd6d5f3ab939e327928f6b (diff)
downloadpdfium-5377267504015d056bc0860ffadc23289b21039d.tar.xz
Add CFX_SAXReader fuzzer
This CL adds a fuzzer for the CFX_SAXReader. BUG=chromium:587126 Review-Url: https://codereview.chromium.org/2070103002
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 3659c36225..1b7a7fb456 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -49,6 +49,20 @@ if (pdf_enable_xfa) {
":libfuzzer_config",
]
}
+ source_set("pdf_cfx_saxreader_fuzzer") {
+ testonly = true
+ sources = [
+ "pdf_cfx_saxreader_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_codec_png_fuzzer") {
testonly = true
sources = [