summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-09-19 15:03:15 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-09-20 01:30:52 +0000
commit61f2f4812e28caa0c62c2e6899ed490fc8ad9e19 (patch)
tree2b3da3f5bc2d6b1cdac27ae6af4600abc6157427 /testing
parent7acd8268491ba9724b245b5dc594c8a4deeca9ee (diff)
downloadpdfium-61f2f4812e28caa0c62c2e6899ed490fc8ad9e19.tar.xz
Isolate lcms2 usage to a few files.
Then set up the right dependencies for them. BUG=chromium:765914 Change-Id: I036cd888c741927d5efe0d020c6676f169e7cbb1 Reviewed-on: https://pdfium-review.googlesource.com/14410 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/libfuzzer/BUILD.gn6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index 6e61827fb4..2952444421 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -57,6 +57,9 @@ template("pdfium_fuzzer") {
deps = [
"../..:pdfium",
]
+ if (defined(invoker.deps)) {
+ deps += invoker.deps
+ }
testonly = true
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
@@ -152,6 +155,9 @@ pdfium_fuzzer("pdf_codec_fax_fuzzer") {
}
pdfium_fuzzer("pdf_codec_icc_fuzzer") {
+ deps = [
+ "../../third_party/:lcms2",
+ ]
sources = [
"pdf_codec_icc_fuzzer.cc",
]