-
Notifications
You must be signed in to change notification settings - Fork 2
/
binding.gyp
71 lines (71 loc) · 1.67 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"variables": {
"hasAL": "'<!(pkg-config --exists assemblyline --silence-errors && echo y || echo n)'=='y'"
},
"targets": [
{
"target_name": "libmeasuresuite",
"type": "static_library",
"sources": [
"./lib/src/alloc_helper.c",
"./lib/src/checker.c",
"./lib/src/error/description.c",
"./lib/src/evaluator.c",
"./lib/src/fisher_yates.c",
"./lib/src/io/elf_file.c",
"./lib/src/io/elf_memory.c",
"./lib/src/io/elf_parser.c",
"./lib/src/io/file.c",
"./lib/src/io/shared_object.c",
"./lib/src/json.c",
"./lib/src/loader.c",
"./lib/src/measuresuite.c",
"./lib/src/printer.c",
"./lib/src/randomizer.c",
"./lib/src/struct_helpers.c",
"./lib/src/timer.c"
],
"include_dirs": [
"./lib/src/include",
"./lib/src"
],
"conditions": [
[
"<(hasAL)",
{
"defines": [
"USE_ASSEMBLYLINE"
]
}
]
]
},
{
"target_name": "measuresuite",
"sources": [
"./ts/src/binding/binding.c",
"./ts/src/binding/enable_functions.c",
"./ts/src/binding/helper.c",
"./ts/src/binding/load_functions.c",
"./ts/src/binding/other_functions.c"
],
"dependencies": [
"libmeasuresuite"
],
"include_dirs": [
"./lib/src/include",
"./ts/src/binding"
],
"conditions": [
[
"<(hasAL)",
{
"libraries": [
"<!(pkg-config --libs assemblyline)"
]
}
]
]
}
]
}