Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: build/features.gypi

Issue 1149633003: Introduce a new gyp flag to warn about to be deprecated APIs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Makefile ('k') | build/standalone.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 # based where the regular expression is compiled to a bytecode. 52 # based where the regular expression is compiled to a bytecode.
53 'v8_interpreted_regexp%': 0, 53 'v8_interpreted_regexp%': 0,
54 54
55 # Enable ECMAScript Internationalization API. Enabling this feature will 55 # Enable ECMAScript Internationalization API. Enabling this feature will
56 # add a dependency on the ICU library. 56 # add a dependency on the ICU library.
57 'v8_enable_i18n_support%': 1, 57 'v8_enable_i18n_support%': 1,
58 58
59 # Enable compiler warnings when using V8_DEPRECATED apis. 59 # Enable compiler warnings when using V8_DEPRECATED apis.
60 'v8_deprecation_warnings%': 0, 60 'v8_deprecation_warnings%': 0,
61 61
62 # Enable compiler warnings when using V8_DEPRECATE_SOON apis.
63 'v8_imminent_deprecation_warnings%': 0,
64
62 # Set to 1 to enable DCHECKs in release builds. 65 # Set to 1 to enable DCHECKs in release builds.
63 'dcheck_always_on%': 0, 66 'dcheck_always_on%': 0,
64 }, 67 },
65 'target_defaults': { 68 'target_defaults': {
66 'conditions': [ 69 'conditions': [
67 ['v8_enable_disassembler==1', { 70 ['v8_enable_disassembler==1', {
68 'defines': ['ENABLE_DISASSEMBLER',], 71 'defines': ['ENABLE_DISASSEMBLER',],
69 }], 72 }],
70 ['v8_enable_gdbjit==1', { 73 ['v8_enable_gdbjit==1', {
71 'defines': ['ENABLE_GDB_JIT_INTERFACE',], 74 'defines': ['ENABLE_GDB_JIT_INTERFACE',],
72 }], 75 }],
73 ['v8_object_print==1', { 76 ['v8_object_print==1', {
74 'defines': ['OBJECT_PRINT',], 77 'defines': ['OBJECT_PRINT',],
75 }], 78 }],
76 ['v8_enable_verify_heap==1', { 79 ['v8_enable_verify_heap==1', {
77 'defines': ['VERIFY_HEAP',], 80 'defines': ['VERIFY_HEAP',],
78 }], 81 }],
79 ['v8_trace_maps==1', { 82 ['v8_trace_maps==1', {
80 'defines': ['TRACE_MAPS',], 83 'defines': ['TRACE_MAPS',],
81 }], 84 }],
82 ['v8_enable_verify_predictable==1', { 85 ['v8_enable_verify_predictable==1', {
83 'defines': ['VERIFY_PREDICTABLE',], 86 'defines': ['VERIFY_PREDICTABLE',],
84 }], 87 }],
85 ['v8_interpreted_regexp==1', { 88 ['v8_interpreted_regexp==1', {
86 'defines': ['V8_INTERPRETED_REGEXP',], 89 'defines': ['V8_INTERPRETED_REGEXP',],
87 }], 90 }],
88 ['v8_deprecation_warnings==1', { 91 ['v8_deprecation_warnings==1', {
89 'defines': ['V8_DEPRECATION_WARNINGS',], 92 'defines': ['V8_DEPRECATION_WARNINGS',],
90 }], 93 }],
94 ['v8_imminent_deprecation_warnings==1', {
95 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',],
96 }],
91 ['v8_enable_i18n_support==1', { 97 ['v8_enable_i18n_support==1', {
92 'defines': ['V8_I18N_SUPPORT',], 98 'defines': ['V8_I18N_SUPPORT',],
93 }], 99 }],
94 ['v8_use_external_startup_data==1', { 100 ['v8_use_external_startup_data==1', {
95 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], 101 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',],
96 }], 102 }],
97 ['dcheck_always_on!=0', { 103 ['dcheck_always_on!=0', {
98 'defines': ['DEBUG',], 104 'defines': ['DEBUG',],
99 }], 105 }],
100 ], # conditions 106 ], # conditions
(...skipping 15 matching lines...) Expand all
116 }, 122 },
117 'conditions': [ 123 'conditions': [
118 ['v8_enable_handle_zapping==1', { 124 ['v8_enable_handle_zapping==1', {
119 'defines': ['ENABLE_HANDLE_ZAPPING',], 125 'defines': ['ENABLE_HANDLE_ZAPPING',],
120 }], 126 }],
121 ], # conditions 127 ], # conditions
122 }, # Release 128 }, # Release
123 }, # configurations 129 }, # configurations
124 }, # target_defaults 130 }, # target_defaults
125 } 131 }
OLDNEW
« no previous file with comments | « Makefile ('k') | build/standalone.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698