Skip to content

Commit

Permalink
deps: update zlib.gyp for zlib 1.2.8
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shigeki Ohtsu authored and piscisaureus committed Jan 8, 2015
1 parent 50f12f6 commit 6f532e5
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions deps/zlib/zlib.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -36,7 +40,6 @@
'inflate.h',
'inftrees.c',
'inftrees.h',
'mozzconf.h',
'trees.c',
'trees.h',
'uncompr.c',
Expand All @@ -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'
],
}],
],
},
],
Expand Down

0 comments on commit 6f532e5

Please sign in to comment.