Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions test/addons/async-hello-world/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/async-hooks-id/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/async-hooks-promise/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/async-resource/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/at-exit/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/buffer-free-callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/callback-scope/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
8 changes: 8 additions & 0 deletions test/addons/common.gypi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
2 changes: 1 addition & 1 deletion test/addons/dlopen-ping-pong/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/errno-exception/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/heap-profiler/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'win_delay_load_hook': 'false'
'win_delay_load_hook': 'false',
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/hello-world-esm/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/hello-world-function-export/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/hello-world/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/load-long-path/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/make-callback-domain-warning/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/make-callback-recurse/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/make-callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/new-target/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/node-module-version/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
3 changes: 2 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,8 @@
'targets': [
{
'target_name': 'binding',
'sources': ['binding.cc']
'sources': ['binding.cc'],
'includes': ['../common.gypi'],
},
]
}
3 changes: 2 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,8 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'not_a_binding.c' ]
'sources': [ 'not_a_binding.c' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/null-buffer-neuter/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
5 changes: 3 additions & 2 deletions test/addons/openssl-binding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
'targets': [
{
'target_name': 'binding',
'includes': ['../common.gypi'],
'conditions': [
['node_use_openssl=="true"', {
'sources': ['binding.cc'],
'include_dirs': ['../../../deps/openssl/openssl/include'],
}]
]
}],
],
},
]
}
3 changes: 2 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',
'includes': ['../common.gypi'],
'conditions': [
['OS=="mac" and '
'node_use_openssl=="true" and '
Expand All @@ -17,7 +18,7 @@
'../../../../out/<(PRODUCT_DIR)/<(openssl_product)'
]
},
}]
}],
]
}
]
Expand Down
4 changes: 2 additions & 2 deletions test/addons/parse-encoding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/repl-domain-abort/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/stringbytes-external-exceed-max/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
3 changes: 2 additions & 1 deletion test/addons/symlinked-module/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/uv-handle-leak/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
4 changes: 2 additions & 2 deletions test/addons/worker-addon/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'targets': [
{
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'includes': ['../common.gypi'],
}
]
}
1 change: 1 addition & 0 deletions test/addons/zlib-binding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
'target_name': 'binding',
'sources': ['binding.cc'],
'include_dirs': ['../../../deps/zlib'],
'includes': ['../common.gypi'],
},
]
}
4 changes: 2 additions & 2 deletions tools/doc/addon-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ ${files[name].replace(
targets: [
{
target_name: 'addon',
defines: [ 'V8_DEPRECATION_WARNINGS=1' ],
sources: files.map(({ name }) => name)
sources: files.map(({ name }) => name),
includes: ['../common.gypi'],
}
]
})
Expand Down