summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-23 17:55:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-23 17:55:10 +0000
commitd0f10a8240c2b68f8536ac0729b811088c13051a (patch)
tree86f054acdcb4257e5c7963a88d57ed04a645b3cf /testing
parent529b13ac5d092bbc195e69fe2ba58c0e5b9da4b7 (diff)
downloadpdfium-d0f10a8240c2b68f8536ac0729b811088c13051a.tar.xz
Fix linking errors in fuzzer targets.
Commit 86688dea moved some code out of a header, so now build targets that used to only include the header need proper dependencies. BUG=chromium:845771 Change-Id: I28603eea721b0ee19c2539ecf93fc3c22c3a8298 Reviewed-on: https://pdfium-review.googlesource.com/32895 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing')
-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 aeceb259cd..912c537835 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -100,6 +100,9 @@ if (pdf_enable_xfa) {
"pdf_codec_bmp_fuzzer.cc",
"xfa_codec_fuzzer.h",
]
+ deps = [
+ "../../:test_support",
+ ]
}
}
@@ -109,6 +112,9 @@ if (pdf_enable_xfa) {
"pdf_codec_gif_fuzzer.cc",
"xfa_codec_fuzzer.h",
]
+ deps = [
+ "../../:test_support",
+ ]
}
pdfium_fuzzer("pdf_lzw_fuzzer") {
@@ -123,6 +129,9 @@ if (pdf_enable_xfa) {
"pdf_codec_jpeg_fuzzer.cc",
"xfa_codec_fuzzer.h",
]
+ deps = [
+ "../../:test_support",
+ ]
}
if (pdf_enable_xfa_png) {
@@ -131,6 +140,9 @@ if (pdf_enable_xfa) {
"pdf_codec_png_fuzzer.cc",
"xfa_codec_fuzzer.h",
]
+ deps = [
+ "../../:test_support",
+ ]
}
}
@@ -140,6 +152,9 @@ if (pdf_enable_xfa) {
"pdf_codec_tiff_fuzzer.cc",
"xfa_codec_fuzzer.h",
]
+ deps = [
+ "../../:test_support",
+ ]
}
}