Skip to content

Commit 6f532e5

Browse files
Shigeki Ohtsupiscisaureus
Shigeki Ohtsu
authored andcommitted
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 <[email protected]>
1 parent 50f12f6 commit 6f532e5

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

deps/zlib/zlib.gyp

+13-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
'crc32.h',
2828
'deflate.c',
2929
'deflate.h',
30-
'gzio.c',
30+
'gzclose.c',
31+
'gzguts.h',
32+
'gzlib.c',
33+
'gzread.c',
34+
'gzwrite.c',
3135
'infback.c',
3236
'inffast.c',
3337
'inffast.h',
@@ -36,7 +40,6 @@
3640
'inflate.h',
3741
'inftrees.c',
3842
'inftrees.h',
39-
'mozzconf.h',
4043
'trees.c',
4144
'trees.h',
4245
'uncompr.c',
@@ -63,6 +66,14 @@
6366
'contrib/minizip/iowin32.c'
6467
],
6568
}],
69+
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
70+
# Mac, Android and the BSDs don't have fopen64, ftello64, or
71+
# fseeko64. We use fopen, ftell, and fseek instead on these
72+
# systems.
73+
'defines': [
74+
'USE_FILE32API'
75+
],
76+
}],
6677
],
6778
},
6879
],

0 commit comments

Comments
 (0)