From 6f532e5da19fca38bceed70c810b815ede8efb1c Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Mon, 1 Dec 2014 14:18:53 +0900 Subject: deps: update zlib.gyp for zlib 1.2.8 This adds the new gzip source files to the zlib.gyp The changes are derived from third_party/zlib/zlib.gyp in the Chromium repository. Reviewed-By: Bert Belder --- deps/zlib/zlib.gyp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'deps/zlib/zlib.gyp') diff --git a/deps/zlib/zlib.gyp b/deps/zlib/zlib.gyp index 25bcc74a03..fac801c7cb 100644 --- a/deps/zlib/zlib.gyp +++ b/deps/zlib/zlib.gyp @@ -27,7 +27,11 @@ 'crc32.h', 'deflate.c', 'deflate.h', - 'gzio.c', + 'gzclose.c', + 'gzguts.h', + 'gzlib.c', + 'gzread.c', + 'gzwrite.c', 'infback.c', 'inffast.c', 'inffast.h', @@ -36,7 +40,6 @@ 'inflate.h', 'inftrees.c', 'inftrees.h', - 'mozzconf.h', 'trees.c', 'trees.h', 'uncompr.c', @@ -63,6 +66,14 @@ 'contrib/minizip/iowin32.c' ], }], + ['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', { + # Mac, Android and the BSDs don't have fopen64, ftello64, or + # fseeko64. We use fopen, ftell, and fseek instead on these + # systems. + 'defines': [ + 'USE_FILE32API' + ], + }], ], }, ], -- cgit v1.2.3