From 77689daf3e14d7005e66e729a63eac1bd8567876 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 7 Jan 2016 15:58:35 -0800 Subject: XFA: Add missing libtiff file from commit 9c2c87d1c744. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1571523002 . --- third_party/BUILD.gn | 1 + third_party/libtiff/tiffvers.h | 9 +++++++++ third_party/third_party.gyp | 1 + 3 files changed, 11 insertions(+) create mode 100644 third_party/libtiff/tiffvers.h 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', -- cgit v1.2.3