forked from lightstep/ls-trace-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
47 lines (47 loc) · 1.24 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
46
47
{
"targets": [{
"target_name": "metrics",
"sources": [
"packages/dd-trace/src/native/metrics/Collector.cpp",
"packages/dd-trace/src/native/metrics/EventLoop.cpp",
"packages/dd-trace/src/native/metrics/GarbageCollection.cpp",
"packages/dd-trace/src/native/metrics/Heap.cpp",
"packages/dd-trace/src/native/metrics/Histogram.cpp",
"packages/dd-trace/src/native/metrics/Object.cpp",
"packages/dd-trace/src/native/metrics/Process.cpp",
"packages/dd-trace/src/native/metrics/SpanTracker.cpp",
"packages/dd-trace/src/native/metrics/utils.cpp",
"packages/dd-trace/src/native/metrics/main.cpp"
],
"include_dirs": [
"packages/dd-trace/src/native",
"<!(node -e \"require('nan')\")"
],
"xcode_settings": {
"MACOSX_DEPLOYMENT_TARGET": "10.9",
"OTHER_CFLAGS": [
"-std=c++11",
"-stdlib=libc++",
"-Wall",
"-Werror"
]
},
"conditions": [
["OS == 'linux'", {
"cflags": [
"-std=c++11",
"-Wall",
"-Werror"
],
"cflags_cc": [
"-Wno-cast-function-type"
]
}],
["OS == 'win'", {
"cflags": [
"/WX"
]
}]
]
}]
}