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

Side by Side Diff: build/features.gypi

Issue 224443003: Use abstract configurations to switch between opt debug settings (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 8 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 | Annotate | Revision Log
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 }, 105 },
106 'conditions': [ 106 'conditions': [
107 ['v8_enable_extra_checks==1', { 107 ['v8_enable_extra_checks==1', {
108 'defines': ['ENABLE_EXTRA_CHECKS',], 108 'defines': ['ENABLE_EXTRA_CHECKS',],
109 }], 109 }],
110 ['v8_enable_handle_zapping==1', { 110 ['v8_enable_handle_zapping==1', {
111 'defines': ['ENABLE_HANDLE_ZAPPING',], 111 'defines': ['ENABLE_HANDLE_ZAPPING',],
112 }], 112 }],
113 ], 113 ],
114 }, # Debug 114 }, # Debug
115 'Optdebug': {
116 'inherit_from': [ 'Debug' ],
117 },
115 'Release': { 118 'Release': {
116 'variables': { 119 'variables': {
117 'v8_enable_extra_checks%': 0, 120 'v8_enable_extra_checks%': 0,
118 'v8_enable_handle_zapping%': 1, 121 'v8_enable_handle_zapping%': 1,
119 }, 122 },
120 'conditions': [ 123 'conditions': [
121 ['v8_enable_extra_checks==1', { 124 ['v8_enable_extra_checks==1', {
122 'defines': ['ENABLE_EXTRA_CHECKS',], 125 'defines': ['ENABLE_EXTRA_CHECKS',],
123 }], 126 }],
124 ['v8_enable_handle_zapping==1', { 127 ['v8_enable_handle_zapping==1', {
125 'defines': ['ENABLE_HANDLE_ZAPPING',], 128 'defines': ['ENABLE_HANDLE_ZAPPING',],
126 }], 129 }],
127 ], # conditions 130 ], # conditions
128 }, # Release 131 }, # Release
129 }, # configurations 132 }, # configurations
130 }, # target_defaults 133 }, # target_defaults
131 } 134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698