-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
binding.gyp
45 lines (43 loc) · 1.13 KB
/
binding.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
{
"targets": [
{
"target_name": "addon",
"sources": [
"csrc/addon.cc",
"csrc/woff2/glyph.cc",
"csrc/woff2/font.cc",
"csrc/woff2/normalize.cc",
"csrc/woff2/table_tags.cc",
"csrc/woff2/transform.cc",
"csrc/woff2/variable_length.cc",
"csrc/woff2/woff2_common.cc",
"csrc/woff2/woff2_enc.cc",
"csrc/enc/backward_references.cc",
"csrc/enc/block_splitter.cc",
"csrc/enc/brotli_bit_stream.cc",
"csrc/enc/encode.cc",
"csrc/enc/encode_parallel.cc",
"csrc/enc/entropy_encode.cc",
"csrc/enc/histogram.cc",
"csrc/enc/literal_cost.cc",
"csrc/enc/metablock.cc",
"csrc/enc/streams.cc"
],
"include_dirs" : [
"<!(node -e \"require('nan')\")"
],
"cflags": [
"-w"
],
"conditions": [
[ "OS==\"mac\"", {
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS": [ "-stdlib=libc++", "-w" ],
"OTHER_LDFLAGS": [ "-stdlib=libc++" ],
"MACOSX_DEPLOYMENT_TARGET": "10.7"
}
}]
]
}
]
}