Skip to content

Commit 686d7b3

Browse files
bnoordhuisMyles Borins
authored and
Myles Borins
committed
test: build addons with V8_DEPRECATION_WARNINGS=1
PR-URL: #6652 Reviewed-By: Anna Henningsen <[email protected]>
1 parent 8b88c38 commit 686d7b3

File tree

12 files changed

+12
-0
lines changed

12 files changed

+12
-0
lines changed

test/addons/async-hello-world/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/at-exit/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/buffer-free-callback/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/heap-profiler/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ],
67
'win_delay_load_hook': 'false'
78
}

test/addons/hello-world-function-export/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/hello-world/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/load-long-path/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/make-callback-recurse/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/make-callback/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/repl-domain-abort/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

test/addons/stringbytes-external-exceed-max/binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5+
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
56
'sources': [ 'binding.cc' ]
67
}
78
]

tools/doc/addon-verify.js

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ ${files[name]}
8282
targets: [
8383
{
8484
target_name: 'addon',
85+
defines: [ 'V8_DEPRECATION_WARNINGS=1' ],
8586
sources: files.map(function(file) {
8687
return file.name;
8788
})

0 commit comments

Comments
 (0)