summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-07 15:58:35 -0800
committerLei Zhang <thestig@chromium.org>2016-01-07 15:58:35 -0800
commit77689daf3e14d7005e66e729a63eac1bd8567876 (patch)
tree5fe13949718a3bab8695fa3a028457873fc5cab6 /third_party
parent9c2c87d1c7443b4eeb3e439af7dc34f695bbd2c8 (diff)
downloadpdfium-77689daf3e14d7005e66e729a63eac1bd8567876.tar.xz
XFA: Add missing libtiff file from commit 9c2c87d1c744.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1571523002 .
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD.gn1
-rw-r--r--third_party/libtiff/tiffvers.h9
-rw-r--r--third_party/third_party.gyp1
3 files changed, 11 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index ed8037b385..0ad92abe98 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -306,6 +306,7 @@ if (pdf_enable_xfa) {
]
sources = [
"libtiff/tiffiop.h",
+ "libtiff/tiffvers.h",
"libtiff/tif_aux.c",
"libtiff/tif_close.c",
"libtiff/tif_codec.c",
diff --git a/third_party/libtiff/tiffvers.h b/third_party/libtiff/tiffvers.h
new file mode 100644
index 0000000000..e965814b3d
--- /dev/null
+++ b/third_party/libtiff/tiffvers.h
@@ -0,0 +1,9 @@
+#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.0.6\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
+/*
+ * This define can be used in code that requires
+ * compilation-related definitions specific to a
+ * version or versions of the library. Runtime
+ * version checking should be done based on the
+ * string returned by TIFFGetVersion.
+ */
+#define TIFFLIB_VERSION 20150912
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index b57009c43e..54b6aa31a2 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -330,6 +330,7 @@
'type': 'static_library',
'sources': [
'libtiff/tiffiop.h',
+ 'libtiff/tiffvers.h',
'libtiff/tif_aux.c',
'libtiff/tif_close.c',
'libtiff/tif_codec.c',