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 .
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 92fbcaa..ec6f8cb 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -298,6 +298,7 @@
"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 @@
"//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 @@
"libtiff/tif_warning.c",
"libtiff/tif_write.c",
"libtiff/tif_zip.c",
+ "libtiff/tiffiop.h",
+ "libtiff/tiffvers.h",
]
}
}