-
Notifications
You must be signed in to change notification settings - Fork 11
/
binding.gyp
42 lines (41 loc) · 941 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
35
36
37
38
39
40
41
{
'variables': {
'module_name': 'localcontacts',#Specify the module name here
},
'targets': [
{
# Needed declarations for the target
'target_name': '<(module_name)',
'product_name':'<(module_name)',
'sources': [ #Specify your source files here
'src/thunderbird_AB_parser/MorkAddressBook.cpp',
'contrib/MorkParser.cpp',
'src/thunderbird_AB_parser/node_contacts_mork.cpp',
],
'include_dirs': [
'contrib',
],
'conditions': [
[ 'OS=="win"', {
'defines': [
# We need to use node's preferred "win32" rather than gyp's preferred "win"
'uint=unsigned int',
],
},
],
],
},
{
'target_name': 'webinos_wrt',
'type': 'none',
'toolsets': ['host'],
'copies': [
{
'files': [
'<(PRODUCT_DIR)/localcontacts.node',
],
'destination': 'node_modules/',
}],
}, # end webinos_wrt
] # end targets
}