Browse Source

test: build addons with V8_DEPRECATION_WARNINGS=1

PR-URL: https://github.com/nodejs/node/pull/6652
Reviewed-By: Anna Henningsen <anna@addaleax.net>
process-exit-stdio-flushing
Ben Noordhuis 9 years ago
parent
commit
f644368e7c
  1. 1
      test/addons/async-hello-world/binding.gyp
  2. 1
      test/addons/at-exit/binding.gyp
  3. 1
      test/addons/buffer-free-callback/binding.gyp
  4. 1
      test/addons/heap-profiler/binding.gyp
  5. 1
      test/addons/hello-world-function-export/binding.gyp
  6. 1
      test/addons/hello-world/binding.gyp
  7. 1
      test/addons/load-long-path/binding.gyp
  8. 1
      test/addons/make-callback-recurse/binding.gyp
  9. 1
      test/addons/make-callback/binding.gyp
  10. 1
      test/addons/null-buffer-neuter/binding.gyp
  11. 1
      test/addons/repl-domain-abort/binding.gyp
  12. 1
      test/addons/stringbytes-external-exceed-max/binding.gyp
  13. 1
      tools/doc/addon-verify.js

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

1
test/addons/at-exit/binding.gyp

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

1
test/addons/heap-profiler/binding.gyp

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ], 'sources': [ 'binding.cc' ],
'win_delay_load_hook': 'false' 'win_delay_load_hook': 'false'
} }

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

1
test/addons/null-buffer-neuter/binding.gyp

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

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

@ -2,6 +2,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'binding', 'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ] 'sources': [ 'binding.cc' ]
} }
] ]

1
tools/doc/addon-verify.js

@ -89,6 +89,7 @@ ${files[name]}
targets: [ targets: [
{ {
target_name: 'addon', target_name: 'addon',
defines: [ 'V8_DEPRECATION_WARNINGS=1' ],
sources: files.map(function(file) { sources: files.map(function(file) {
return file.name; return file.name;
}) })

Loading…
Cancel
Save