-
Notifications
You must be signed in to change notification settings - Fork 2
/
binding.gyp
85 lines (85 loc) · 2.06 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
'targets': [
{
'target_name': 'alljoyn',
'sources': [
'swig/alljoyn_javascript_wrap.cc',
'src/aj_init.c',
'src/aj_about.c',
'src/aj_bufio.c',
'src/aj_bus.c',
'src/aj_cert.c',
'src/aj_connect.c',
'src/aj_crc16.c',
'src/aj_creds.c',
'src/aj_crypto.c',
'src/aj_debug.c',
'src/aj_disco.c',
'src/aj_guid.c',
'src/aj_init.c',
'src/aj_introspect.c',
'src/aj_keyauthentication.c',
'src/aj_keyexchange.c',
'src/aj_link_timeout.c',
'src/aj_msg.c',
'src/aj_nvram.c',
'src/aj_peer.c',
'src/aj_std.c',
'src/aj_util.c',
'src/aj_helper.c',
'crypto/ecc/aj_crypto_ecc.c',
'crypto/ecc/aj_crypto_sha2.c',
'external/sha2/sha2.c',
],
'include_dirs': [
'inc',
'external/sha2'
],
'conditions': [
['OS=="win"',
{
'sources': [
'target/win32/aj_net.c',
'target/win32/aj_target_crypto.c',
'target/win32/aj_target_nvram.c',
'target/win32/aj_target_util.c',
],
'include_dirs': [
'target/darwin'
],
'msvs_settings': {
'VCCLCompilerTool': {
'ExceptionHandling': '2',
'DisableSpecificWarnings': [ '4530', '4506' ],
},
},
},
],
['OS=="mac"',
{
'sources': [
'target/darwin/aj_net.c',
'target/darwin/aj_target_crypto.c',
'target/darwin/aj_target_nvram.c',
'target/darwin/aj_target_util.c',
],
'include_dirs': [
'target/darwin'
],
'xcode_settings': {
'OTHER_LDFLAGS': [
'-framework CoreFoundation -framework IOKit -framework Security'
]
}
}
],
['OS!="win"',
{
'sources': [
],
}
],
],
}
],
}