deps,v8: silence V8 self-deprecation warnings
PR-URL: https://github.com/nodejs/node/pull/25394 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org>
This commit is contained in:
parent
eb5aab2c46
commit
d1b7193428
@ -45,12 +45,13 @@
|
|||||||
# Old time default, now explicitly stated.
|
# Old time default, now explicitly stated.
|
||||||
'v8_use_snapshot': 'true',
|
'v8_use_snapshot': 'true',
|
||||||
|
|
||||||
|
# These are more relevant for V8 internal development.
|
||||||
# Refs: https://github.com/nodejs/node/issues/23122
|
# Refs: https://github.com/nodejs/node/issues/23122
|
||||||
# Refs: https://github.com/nodejs/node/issues/23167
|
# Refs: https://github.com/nodejs/node/issues/23167
|
||||||
# Enable compiler warnings when using V8_DEPRECATED apis.
|
# Enable compiler warnings when using V8_DEPRECATED apis from V8 code.
|
||||||
'v8_deprecation_warnings': 1,
|
'v8_deprecation_warnings': 0,
|
||||||
# Enable compiler warnings when using V8_DEPRECATE_SOON apis.
|
# Enable compiler warnings when using V8_DEPRECATE_SOON apis from V8 code.
|
||||||
'v8_imminent_deprecation_warnings': 1,
|
'v8_imminent_deprecation_warnings': 0,
|
||||||
|
|
||||||
# Enable disassembler for `--print-code` v8 options
|
# Enable disassembler for `--print-code` v8 options
|
||||||
'v8_enable_disassembler': 1,
|
'v8_enable_disassembler': 1,
|
||||||
|
4
deps/v8/gypfiles/features.gypi
vendored
4
deps/v8/gypfiles/features.gypi
vendored
@ -164,9 +164,13 @@
|
|||||||
}],
|
}],
|
||||||
['v8_deprecation_warnings==1', {
|
['v8_deprecation_warnings==1', {
|
||||||
'defines': ['V8_DEPRECATION_WARNINGS',],
|
'defines': ['V8_DEPRECATION_WARNINGS',],
|
||||||
|
},{
|
||||||
|
'defines!': ['V8_DEPRECATION_WARNINGS',],
|
||||||
}],
|
}],
|
||||||
['v8_imminent_deprecation_warnings==1', {
|
['v8_imminent_deprecation_warnings==1', {
|
||||||
'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',],
|
'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',],
|
||||||
|
},{
|
||||||
|
'defines!': ['V8_IMMINENT_DEPRECATION_WARNINGS',],
|
||||||
}],
|
}],
|
||||||
['v8_enable_i18n_support==1', {
|
['v8_enable_i18n_support==1', {
|
||||||
'defines': ['V8_INTL_SUPPORT',],
|
'defines': ['V8_INTL_SUPPORT',],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user