summaryrefslogtreecommitdiff
path: root/deps/zlib/zlib.gyp
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@iij.ad.jp>2014-12-01 14:18:53 +0900
committerBert Belder <bertbelder@gmail.com>2015-01-08 23:59:53 +0100
commit6f532e5da19fca38bceed70c810b815ede8efb1c (patch)
tree4cec9d19cf41e70c8b5b21444b1956c8449b9a42 /deps/zlib/zlib.gyp
parent50f12f6c8a5870bf6bddc715326251f2475f327f (diff)
downloadandroid-node-v8-6f532e5da19fca38bceed70c810b815ede8efb1c.tar.gz
android-node-v8-6f532e5da19fca38bceed70c810b815ede8efb1c.tar.bz2
android-node-v8-6f532e5da19fca38bceed70c810b815ede8efb1c.zip
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>
Diffstat (limited to 'deps/zlib/zlib.gyp')
-rw-r--r--deps/zlib/zlib.gyp15
1 files changed, 13 insertions, 2 deletions
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'
+ ],
+ }],
],
},
],