File tree 33 files changed +71
-57
lines changed
hello-world-function-export
make-callback-domain-warning
openssl-client-cert-engine
stringbytes-external-exceed-max
33 files changed +71
-57
lines changed Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change
1
+ {
2
+ 'defines' : [ 'V8_DEPRECATION_WARNINGS=1' ],
3
+ 'conditions' : [
4
+ [ 'OS in "linux freebsd openbsd solaris android aix cloudabi"' , {
5
+ 'cflags' : ['-Wno-cast-function-type' ],
6
+ }],
7
+ ],
8
+ }
Original file line number Diff line number Diff line change 17
17
},
18
18
{
19
19
'target_name' : 'binding' ,
20
- 'defines' : [ 'V8_DEPRECATION_WARNINGS=1' ],
21
20
'sources' : [ 'binding.cc' ],
21
+ 'includes' : ['../common.gypi' ],
22
22
}
23
23
]
24
24
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines' : [ 'V8_DEPRECATION_WARNINGS=1' ],
6
5
'sources' : [ 'binding.cc' ],
7
- 'win_delay_load_hook' : 'false'
6
+ 'win_delay_load_hook' : 'false' ,
7
+ 'includes' : ['../common.gypi' ],
8
8
}
9
9
]
10
10
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'sources' : ['binding.cc' ]
5
+ 'sources' : ['binding.cc' ],
6
+ 'includes' : ['../common.gypi' ],
6
7
},
7
8
]
8
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'sources' : [ 'not_a_binding.c' ]
5
+ 'sources' : [ 'not_a_binding.c' ],
6
+ 'includes' : ['../common.gypi' ],
6
7
}
7
8
]
8
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
+ 'includes' : ['../common.gypi' ],
5
6
'conditions' : [
6
7
['node_use_openssl=="true"' , {
7
8
'sources' : ['binding.cc' ],
8
9
'include_dirs' : ['../../../deps/openssl/openssl/include' ],
9
- }]
10
- ]
10
+ }],
11
+ ],
11
12
},
12
13
]
13
14
}
Original file line number Diff line number Diff line change 3
3
{
4
4
'target_name' : 'testengine' ,
5
5
'type' : 'none' ,
6
+ 'includes' : ['../common.gypi' ],
6
7
'conditions' : [
7
8
['OS=="mac" and '
8
9
'node_use_openssl=="true" and '
17
18
'../../../../out/<(PRODUCT_DIR)/<(openssl_product)'
18
19
]
19
20
},
20
- }]
21
+ }],
21
22
]
22
23
}
23
24
]
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'sources' : [ 'binding.cc' ]
5
+ 'sources' : [ 'binding.cc' ],
6
+ 'includes' : ['../common.gypi' ],
6
7
}
7
8
]
8
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'defines ' : [ 'V8_DEPRECATION_WARNINGS=1 ' ],
6
- 'sources ' : [ 'binding.cc' ]
5
+ 'sources ' : [ 'binding.cc ' ],
6
+ 'includes ' : ['../common.gypi' ],
7
7
}
8
8
]
9
9
}
Original file line number Diff line number Diff line change 4
4
'target_name' : 'binding' ,
5
5
'sources' : ['binding.cc' ],
6
6
'include_dirs' : ['../../../deps/zlib' ],
7
+ 'includes' : ['../common.gypi' ],
7
8
},
8
9
]
9
10
}
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ ${files[name].replace(
79
79
targets : [
80
80
{
81
81
target_name : 'addon' ,
82
- defines : [ 'V8_DEPRECATION_WARNINGS=1' ] ,
83
- sources : files . map ( ( { name } ) => name )
82
+ sources : files . map ( ( { name } ) => name ) ,
83
+ includes : [ '../common.gypi' ] ,
84
84
}
85
85
]
86
86
} )
You can’t perform that action at this time.
0 commit comments