summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/fuzzers.gyp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-14 07:34:20 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-14 07:34:20 -0700
commit756d37943415ca15d491b79ba78012225a06db76 (patch)
tree817ecb7fc2a84e7562006931ff97ad46858fe4d3 /testing/libfuzzer/fuzzers.gyp
parentfc6326d6cd51878c8ec3b8b51767dce368d07f67 (diff)
downloadpdfium-756d37943415ca15d491b79ba78012225a06db76.tar.xz
Add fuzzer for FDE CSS syntax parser.
This CL adds a fuzzer for the CSS Syntax parser in XFA. BUG=chromium:587126 Review-Url: https://codereview.chromium.org/2068513002
Diffstat (limited to 'testing/libfuzzer/fuzzers.gyp')
-rw-r--r--testing/libfuzzer/fuzzers.gyp13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libfuzzer/fuzzers.gyp b/testing/libfuzzer/fuzzers.gyp
index 3f1d8123b6..5f2a4d1bd9 100644
--- a/testing/libfuzzer/fuzzers.gyp
+++ b/testing/libfuzzer/fuzzers.gyp
@@ -15,6 +15,8 @@
'include_dirs': [
# This is implicit in GN.
'<(DEPTH)',
+ '../../third_party/freetype/include',
+ '../../third_party/freetype/include/freetype',
],
'conditions': [
['pdf_enable_v8==1', {
@@ -119,6 +121,17 @@
'xfa_codec_fuzzer.h',
],
},
+ {
+ 'target_name': 'pdf_css_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ '../../pdfium.gyp:pdfium',
+ ],
+ 'sources': [
+ 'pdf_css_fuzzer.cc',
+ 'unittest_main.cc',
+ ],
+ },
],
}],
['OS=="linux"', {