summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-02 16:55:26 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-02 16:55:26 -0800
commitd87b20e1ae765cb65281c5bd7c12fc41e8a86780 (patch)
treeb2f5e373b980d9ed8c39533827c892ce2a312faf /third_party/BUILD.gn
parent91f7f3fa6a6d62ed0ce819c3286b0ffe6eddedbc (diff)
downloadpdfium-d87b20e1ae765cb65281c5bd7c12fc41e8a86780.tar.xz
Rename png_ functions conflicting with chrome.
Part of the work required to ship XFA with chrome. BUG=pdfium:396 R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1763493002 .
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn9
1 files changed, 6 insertions, 3 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 92fbcaa9fb..ec6f8cb7f8 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -298,6 +298,7 @@ source_set("fx_lpng") {
"libpng16/pnglibconf.h",
"libpng16/pngmem.c",
"libpng16/pngpread.c",
+ "libpng16/pngprefix.h",
"libpng16/pngpriv.h",
"libpng16/pngread.c",
"libpng16/pngrio.c",
@@ -320,10 +321,10 @@ if (pdf_enable_xfa) {
"//build/config/compiler:no_chromium_code",
"//third_party/pdfium:pdfium_config",
]
- deps = [ "//third_party:jpeg" ]
+ deps = [
+ "//third_party:jpeg",
+ ]
sources = [
- "libtiff/tiffiop.h",
- "libtiff/tiffvers.h",
"libtiff/tif_aux.c",
"libtiff/tif_close.c",
"libtiff/tif_codec.c",
@@ -359,6 +360,8 @@ if (pdf_enable_xfa) {
"libtiff/tif_warning.c",
"libtiff/tif_write.c",
"libtiff/tif_zip.c",
+ "libtiff/tiffiop.h",
+ "libtiff/tiffvers.h",
]
}
}