1 | {
|
2 | "targets": [
|
3 | {
|
4 | "target_name": "WebWorkerThreads",
|
5 | "sources": [
|
6 | "src/WebWorkerThreads.cc"
|
7 | ],
|
8 | "cflags!": [
|
9 | "-fno-exceptions",
|
10 | "-DV8_USE_UNSAFE_HANDLES"
|
11 | ],
|
12 | "cflags_cc!": [
|
13 | "-fno-exceptions",
|
14 | "-DV8_USE_UNSAFE_HANDLES"
|
15 | ],
|
16 | "include_dirs": [
|
17 | "<!(node -e \"require('nan')\")"
|
18 | ],
|
19 | "win_delay_load_hook": "<!(node -e \"var v = process.version.substring(1).split('.')[0]; console.log(v > 0 && v < 4);\")",
|
20 | "conditions": [
|
21 | [
|
22 | "OS==\"mac\"",
|
23 | {
|
24 | "xcode_settings": {
|
25 | "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
|
26 | }
|
27 | }
|
28 | ]
|
29 | ]
|
30 | }
|
31 | ]
|
32 | }
|