-
Notifications
You must be signed in to change notification settings - Fork 30
/
binding.gyp
34 lines (33 loc) · 873 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
{
'targets': [
{
'target_name': 'profiler',
'sources': ['profiler.cc']
},
{
'target_name': 'nprof',
'conditions': [
# requires a posix shell
['OS != "win"', {
'actions': [{
'action_name': 'nprof',
'inputs': [
'tools/nprof-stub.js',
'tools/v8/splaytree.js',
'tools/v8/codemap.js',
'tools/v8/csvparser.js',
'tools/v8/consarray.js',
'tools/v8/profile.js',
'tools/v8/profile_view.js',
'tools/v8/logreader.js',
'tools/v8/tickprocessor.js',
'tools/v8/tickprocessor-driver.js',
],
'outputs': ['<(PRODUCT_DIR)/nprof'],
'action': ['tools/build-nprof', '<@(_outputs)'],
}],
}],
],
},
]
}