summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-12 16:00:23 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-12 16:00:23 -0800
commitb8226d6722738161251b57a2dd9de24729394819 (patch)
treefe61bf135e23103fc6e8d3410241c28b6622879a /third_party/BUILD.gn
parente0967896d631f2934984240845f429fd48d55363 (diff)
downloadpdfium-b8226d6722738161251b57a2dd9de24729394819.tar.xz
Fix link of chrome under GN when pdf_enable_xfa=true
Otherwise there are errors like: ../../third_party/pdfium/third_party/libtiff/tif_jpeg.c:344 error: undefined reference to 'chromium_ijg_jpeg_read_header' R=thestig@chromium.org Review URL: https://codereview.chromium.org/1582613003 .
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 0ad92abe98..5f35432236 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -304,6 +304,7 @@ if (pdf_enable_xfa) {
"//build/config/compiler:no_chromium_code",
"//third_party/pdfium:pdfium_config",
]
+ deps = [ "//third_party:jpeg" ]
sources = [
"libtiff/tiffiop.h",
"libtiff/tiffvers.h",