From d1b7193428f6ed244e3937f718719312749b465e Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Tue, 8 Jan 2019 10:08:54 -0500 Subject: deps,v8: silence V8 self-deprecation warnings PR-URL: https://github.com/nodejs/node/pull/25394 Reviewed-By: Ujjwal Sharma Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Yang Guo --- deps/v8/gypfiles/features.gypi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'deps') diff --git a/deps/v8/gypfiles/features.gypi b/deps/v8/gypfiles/features.gypi index 855a7a5d2f..7e5af8883a 100644 --- a/deps/v8/gypfiles/features.gypi +++ b/deps/v8/gypfiles/features.gypi @@ -164,9 +164,13 @@ }], ['v8_deprecation_warnings==1', { 'defines': ['V8_DEPRECATION_WARNINGS',], + },{ + 'defines!': ['V8_DEPRECATION_WARNINGS',], }], ['v8_imminent_deprecation_warnings==1', { 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], + },{ + 'defines!': ['V8_IMMINENT_DEPRECATION_WARNINGS',], }], ['v8_enable_i18n_support==1', { 'defines': ['V8_INTL_SUPPORT',], -- cgit v1.2.3