-
Notifications
You must be signed in to change notification settings - Fork 59
/
zlib.gyp
68 lines (67 loc) · 1.56 KB
/
zlib.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'common.gypi',
],
'variables' : {
'os_bsd': 0
},
'targets': [
{
'target_name': 'zlib',
'type': '<(library)',
'sources': [
# minizip
'zlib/contrib/minizip/ioapi.c',
'zlib/contrib/minizip/ioapi.h',
'zlib/contrib/minizip/iowin32.c',
'zlib/contrib/minizip/iowin32.h',
'zlib/contrib/minizip/unzip.c',
'zlib/contrib/minizip/unzip.h',
'zlib/contrib/minizip/zip.c',
'zlib/contrib/minizip/zip.h',
# zlib
'zlib/adler32.c',
'zlib/compress.c',
'zlib/crc32.c',
'zlib/crc32.h',
'zlib/deflate.c',
'zlib/deflate.h',
'zlib/gzclose.c',
'zlib/gzguts.h',
'zlib/gzlib.c',
'zlib/gzread.c',
'zlib/gzwrite.c',
'zlib/infback.c',
'zlib/inffast.c',
'zlib/inffast.h',
'zlib/inffixed.h',
'zlib/inflate.c',
'zlib/inflate.h',
'zlib/inftrees.c',
'zlib/inftrees.h',
'build/mozzconf.h',
'zlib/trees.c',
'zlib/trees.h',
'zlib/uncompr.c',
'zlib/zconf.h',
'zlib/zlib.h',
'zlib/zutil.c',
'zlib/zutil.h',
],
'include_dirs': [
'build', # mozzconf.h
'zlib',
],
'direct_dependent_settings': {
'include_dirs': [
'zlib',
# For contrib/minizip
'./contrib/minizip',
],
}
},
],
}