Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion test/addons/async-hello-world/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/async-hooks-id/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/async-hooks-promise/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/async-resource/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/at-exit/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/buffer-free-callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/callback-scope/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
5 changes: 5 additions & 0 deletions test/addons/dlopen-ping-pong/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/errno-exception/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/heap-profiler/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'win_delay_load_hook': 'false'
'win_delay_load_hook': 'false',
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/hello-world-esm/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/hello-world-function-export/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/hello-world/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/load-long-path/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/make-callback-domain-warning/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/make-callback-recurse/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/make-callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/new-target/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/node-module-version/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/non-node-context/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
'targets': [
{
'target_name': 'binding',
'sources': ['binding.cc']
'sources': ['binding.cc'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
},
]
}
7 changes: 6 additions & 1 deletion test/addons/not-a-binding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'not_a_binding.c' ]
'sources': [ 'not_a_binding.c' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/null-buffer-neuter/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 5 additions & 2 deletions test/addons/openssl-binding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
['node_use_openssl=="true"', {
'sources': ['binding.cc'],
'include_dirs': ['../../../deps/openssl/openssl/include'],
}]
]
}],
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
},
]
}
6 changes: 5 additions & 1 deletion test/addons/openssl-client-cert-engine/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
'target_name': 'testengine',
'type': 'none',
'cflags': ['-Wno-cast-function-type'],
'conditions': [
['OS=="mac" and '
'node_use_openssl=="true" and '
Expand All @@ -17,7 +18,10 @@
'../../../../out/<(PRODUCT_DIR)/<(openssl_product)'
]
},
}]
}],
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
]
}
]
Expand Down
7 changes: 6 additions & 1 deletion test/addons/parse-encoding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/repl-domain-abort/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/stringbytes-external-exceed-max/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
7 changes: 6 additions & 1 deletion test/addons/symlinked-module/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
Loading