forked from google/pprof-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
26 lines (26 loc) · 718 Bytes
/
binding.gyp
File metadata and controls
26 lines (26 loc) · 718 Bytes
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
{
"targets": [
{
"target_name": "pprof",
"sources": [
"bindings/profiler.cc",
],
"include_dirs": [ "<!(node -e \"require('nan')\")" ],
# TODO(#62): The following line suppresses compliation warnings
# originating from v8 and node that appear when gcc 8 is used.
# Once the warnings are fixed upstream, this line should be removed.
"cflags": [ "-Wno-cast-function-type" ]
},
{
"target_name": "action_after_build",
"type": "none",
"dependencies": [ "<(module_name)" ],
"copies": [
{
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
"destination": "<(module_path)"
}
]
},
]
}