-
Notifications
You must be signed in to change notification settings - Fork 149
/
Copy pathbinding.gyp
43 lines (43 loc) · 969 Bytes
/
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
{
"targets": [
{
"target_name": "<(module_name)",
"sources": [
"src/WebWorkerThreads.cc"
],
"cflags!": [
"-fno-exceptions",
"-DV8_USE_UNSAFE_HANDLES"
],
"cflags_cc!": [
"-fno-exceptions",
"-DV8_USE_UNSAFE_HANDLES"
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"win_delay_load_hook": "<!(node -e \"var v = process.version.substring(1,2); console.log(v > 0 && v < 4);\")",
"conditions": [
[
"OS==\"mac\"",
{
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
}
}
]
]
},
{
'target_name': 'action_after_build',
'type': 'none',
'dependencies': ['<(module_name)'],
'copies': [
{
'files': ['<(PRODUCT_DIR)/<(module_name).node'],
'destination': '<(module_path)'
}
]
}
]
}