Skip to content

Commit be4ea59

Browse files
committed
addon: whitespace tweaks
1 parent ad336cc commit be4ea59

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

addon.gypi

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@
99
'<(node_root_dir)/deps/uv/include',
1010
'<(node_root_dir)/deps/v8/include'
1111
],
12-
'defines': ['NODE_GYP_MODULE_NAME=>(_target_name)'],
12+
'defines': [
13+
'NODE_GYP_MODULE_NAME=>(_target_name)'
14+
],
1315

1416
'target_conditions': [
1517
['_type=="loadable_module"', {
1618
'product_extension': 'node',
17-
'defines': [ 'BUILDING_NODE_EXTENSION' ],
19+
'defines': [
20+
'BUILDING_NODE_EXTENSION'
21+
],
1822
'xcode_settings': {
19-
'OTHER_LDFLAGS': [ '-undefined dynamic_lookup' ],
23+
'OTHER_LDFLAGS': [
24+
'-undefined dynamic_lookup'
25+
],
2026
},
2127
}],
2228

@@ -51,7 +57,9 @@
5157

5258
'conditions': [
5359
[ 'OS=="mac"', {
54-
'defines': [ '_DARWIN_USE_64_BIT_INODE=1' ],
60+
'defines': [
61+
'_DARWIN_USE_64_BIT_INODE=1'
62+
],
5563
'xcode_settings': {
5664
'DYLIB_INSTALL_NAME_BASE': '@rpath'
5765
},
@@ -72,12 +80,18 @@
7280
'-lDelayImp.lib',
7381
'-l"<(node_root_dir)/$(ConfigurationName)/node.lib"'
7482
],
75-
# warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
76-
# needs to have dll-interface to be used by clients of class 'node::ObjectWrap'
77-
'msvs_disabled_warnings': [ 4251 ],
83+
'msvs_disabled_warnings': [
84+
# warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
85+
# needs to have dll-interface to be used by
86+
# clients of class 'node::ObjectWrap'
87+
4251
88+
],
7889
}, {
7990
# OS!="win"
80-
'defines': [ '_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64' ],
91+
'defines': [
92+
'_LARGEFILE_SOURCE',
93+
'_FILE_OFFSET_BITS=64'
94+
],
8195
}],
8296
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
8397
'cflags': [ '-fPIC' ],

0 commit comments

Comments
 (0)