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 <bertbelder@gmail.com>
pull/271/head
Shigeki Ohtsu 2014-12-01 14:18:53 +09:00 committed by Bert Belder
parent 50f12f6c8a
commit 6f532e5da1
1 changed files with 13 additions and 2 deletions

15
deps/zlib/zlib.gyp vendored
View File

@ -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'
],
}],
],
},
],