| Index: build/features.gypi
|
| diff --git a/build/features.gypi b/build/features.gypi
|
| index 5343284dbc987958368807f65a797af134d6a2cf..08ea11ae9b972595e5c931bc96e1dc6913e46f5f 100644
|
| --- a/build/features.gypi
|
| +++ b/build/features.gypi
|
| @@ -55,6 +55,9 @@
|
| # Enable ECMAScript Internationalization API. Enabling this feature will
|
| # add a dependency on the ICU library.
|
| 'v8_enable_i18n_support%': 1,
|
| +
|
| + # Enable compiler warnings when using V8_DEPRECATED apis.
|
| + 'v8_deprecation_warnings%': 0,
|
| },
|
| 'target_defaults': {
|
| 'conditions': [
|
| @@ -76,6 +79,9 @@
|
| ['v8_interpreted_regexp==1', {
|
| 'defines': ['V8_INTERPRETED_REGEXP',],
|
| }],
|
| + ['v8_deprecation_warnings==1', {
|
| + 'defines': ['V8_DEPRECATION_WARNINGS',],
|
| + }],
|
| ['v8_enable_i18n_support==1', {
|
| 'defines': ['V8_I18N_SUPPORT',],
|
| }],
|
| @@ -89,21 +95,29 @@
|
| 'Debug': {
|
| 'variables': {
|
| 'v8_enable_extra_checks%': 1,
|
| + 'v8_enable_handle_zapping%': 1,
|
| },
|
| 'conditions': [
|
| ['v8_enable_extra_checks==1', {
|
| 'defines': ['ENABLE_EXTRA_CHECKS',],
|
| }],
|
| + ['v8_enable_handle_zapping==1', {
|
| + 'defines': ['ENABLE_HANDLE_ZAPPING',],
|
| + }],
|
| ],
|
| }, # Debug
|
| 'Release': {
|
| 'variables': {
|
| 'v8_enable_extra_checks%': 0,
|
| + 'v8_enable_handle_zapping%': 1,
|
| },
|
| 'conditions': [
|
| ['v8_enable_extra_checks==1', {
|
| 'defines': ['ENABLE_EXTRA_CHECKS',],
|
| }],
|
| + ['v8_enable_handle_zapping==1', {
|
| + 'defines': ['ENABLE_HANDLE_ZAPPING',],
|
| + }],
|
| ], # conditions
|
| }, # Release
|
| }, # configurations
|
|
|