summaryrefslogtreecommitdiff
path: root/testing/fuzzers
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-13 06:39:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-13 06:39:00 +0000
commit518b7f045a282e212f5d3dab0305e1ee5230365f (patch)
tree6de0c1ce22c3b8f25a25749c2df055c464d010ce /testing/fuzzers
parent56e0c3ebe017135dcbd046bd6bc8c9ca54518597 (diff)
downloadpdfium-518b7f045a282e212f5d3dab0305e1ee5230365f.tar.xz
Make testing/ pass gn check.
Change-Id: Ifb2d60bf3c2d86a105705196d65e318081cefe4e Reviewed-on: https://pdfium-review.googlesource.com/c/43981 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/fuzzers')
-rw-r--r--testing/fuzzers/BUILD.gn66
1 files changed, 63 insertions, 3 deletions
diff --git a/testing/fuzzers/BUILD.gn b/testing/fuzzers/BUILD.gn
index c4c62f73cc..df4cac0d1e 100644
--- a/testing/fuzzers/BUILD.gn
+++ b/testing/fuzzers/BUILD.gn
@@ -121,12 +121,18 @@ if (pdf_enable_xfa) {
sources = [
"pdf_bidi_fuzzer.cc",
]
+ deps = [
+ "../../xfa/fgas",
+ ]
}
pdfium_fuzzer("pdf_cfx_barcode_fuzzer_src") {
sources = [
"pdf_cfx_barcode_fuzzer.cc",
]
+ deps = [
+ "../../xfa/fwl",
+ ]
}
if (pdf_enable_xfa_bmp) {
@@ -137,6 +143,8 @@ if (pdf_enable_xfa) {
]
deps = [
"../:test_support",
+ "../../core/fxcodec",
+ "../../core/fxge",
]
}
}
@@ -149,6 +157,8 @@ if (pdf_enable_xfa) {
]
deps = [
"../:test_support",
+ "../../core/fxcodec",
+ "../../core/fxge",
]
}
@@ -156,6 +166,9 @@ if (pdf_enable_xfa) {
sources = [
"pdf_lzw_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcodec",
+ ]
}
}
@@ -166,6 +179,8 @@ if (pdf_enable_xfa) {
]
deps = [
"../:test_support",
+ "../../core/fxcodec",
+ "../../core/fxge",
]
}
@@ -177,6 +192,8 @@ if (pdf_enable_xfa) {
]
deps = [
"../:test_support",
+ "../../core/fxcodec",
+ "../../core/fxge",
]
}
}
@@ -189,6 +206,8 @@ if (pdf_enable_xfa) {
]
deps = [
"../:test_support",
+ "../../core/fxcodec",
+ "../../core/fxge",
]
}
}
@@ -197,18 +216,27 @@ if (pdf_enable_xfa) {
sources = [
"pdf_css_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcrt/css",
+ ]
}
pdfium_fuzzer("pdf_fm2js_fuzzer_src") {
sources = [
"pdf_fm2js_fuzzer.cc",
]
+ deps = [
+ "../../fxjs",
+ ]
}
pdfium_fuzzer("pdf_formcalc_fuzzer_src") {
sources = [
"pdf_formcalc_fuzzer.cc",
]
+ deps = [
+ "../../xfa/fxfa/fm2js",
+ ]
}
pdfium_public_fuzzer("pdfium_xfa_fuzzer_src") {
@@ -222,39 +250,57 @@ pdfium_fuzzer("pdf_cmap_fuzzer_src") {
sources = [
"pdf_cmap_fuzzer.cc",
]
+ deps = [
+ "../../core/fpdfapi/font",
+ ]
}
pdfium_fuzzer("pdf_codec_a85_fuzzer_src") {
sources = [
"pdf_codec_a85_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcodec",
+ ]
}
pdfium_fuzzer("pdf_codec_fax_fuzzer_src") {
sources = [
"pdf_codec_fax_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcodec",
+ ]
}
pdfium_fuzzer("pdf_codec_icc_fuzzer_src") {
- deps = [
- "../../third_party/:lcms2",
- ]
sources = [
"pdf_codec_icc_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcodec",
+ "../../third_party/:lcms2",
+ ]
}
pdfium_fuzzer("pdf_codec_jbig2_fuzzer_src") {
sources = [
"pdf_codec_jbig2_fuzzer.cc",
]
+ deps = [
+ "../../core/fpdfapi/parser",
+ "../../core/fxcodec",
+ "../../core/fxge",
+ ]
}
pdfium_fuzzer("pdf_codec_rle_fuzzer_src") {
sources = [
"pdf_codec_rle_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcodec",
+ ]
}
pdfium_fuzzer("pdf_font_fuzzer_src") {
@@ -267,24 +313,38 @@ pdfium_fuzzer("pdf_hint_table_fuzzer_src") {
sources = [
"pdf_hint_table_fuzzer.cc",
]
+ deps = [
+ "../../core/fpdfapi/parser",
+ ]
}
pdfium_fuzzer("pdf_jpx_fuzzer_src") {
sources = [
"pdf_jpx_fuzzer.cc",
]
+ deps = [
+ "../../core/fxcodec",
+ "../../core/fxge",
+ ]
}
pdfium_fuzzer("pdf_psengine_fuzzer_src") {
sources = [
"pdf_psengine_fuzzer.cc",
]
+ deps = [
+ "../../core/fpdfapi/page",
+ ]
}
pdfium_fuzzer("pdf_streamparser_fuzzer_src") {
sources = [
"pdf_streamparser_fuzzer.cc",
]
+ deps = [
+ "../../core/fpdfapi/page",
+ "../../core/fpdfapi/parser",
+ ]
}
pdfium_fuzzer("pdf_xml_fuzzer_src") {