From d0f10a8240c2b68f8536ac0729b811088c13051a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 23 May 2018 17:55:10 +0000 Subject: 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 Commit-Queue: Lei Zhang --- testing/libfuzzer/BUILD.gn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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", + ] } } -- cgit v1.2.3