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

Side by Side Diff: tools/gyp/configurations_make.gypi

Issue 414303004: Add build configuration variable 'c_frame_pointers' to control whether or not frame pointers are in… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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
« no previous file with comments | « tools/gyp/configurations_android.gypi ('k') | tools/gyp/configurations_msvs.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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'configurations': { 10 'configurations': {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 'abstract': 1, 128 'abstract': 1,
129 'cflags': [ 129 'cflags': [
130 '-march=mips32', 130 '-march=mips32',
131 '-mhard-float', 131 '-mhard-float',
132 '-fno-strict-overflow', 132 '-fno-strict-overflow',
133 ], 133 ],
134 }, 134 },
135 135
136 'Dart_Linux_Debug': { 136 'Dart_Linux_Debug': {
137 'abstract': 1, 137 'abstract': 1,
138 'conditions': [
139 ['c_frame_pointers==1', {
140 'cflags': [
141 '-fno-omit-frame-pointer',
142 # Clang on Linux will still omit frame pointers from leaf
143 # functions unless told otherwise:
144 # '-mno-omit-leaf-frame-pointer',
145 ],
146 'defines': [
147 'PROFILE_NATIVE_CODE'
148 ],
149 }],
150 ],
138 'cflags': [ 151 'cflags': [
139 '-O<(dart_debug_optimization_level)', 152 '-O<(dart_debug_optimization_level)',
140 # Uncomment the following line and pass --profile-vm to enable
141 # profiling of C++ code within Observatory.
142 # '-fno-omit-frame-pointer',
143 # Clang on Linux will still omit frame pointers from leaf functions
144 # unless told otherwise:
145 # '-mno-omit-leaf-frame-pointer',
146 ], 153 ],
147 }, 154 },
148 155
149 'Dart_Linux_Release': { 156 'Dart_Linux_Release': {
150 'abstract': 1, 157 'abstract': 1,
158 'conditions': [
159 ['c_frame_pointers==1', {
160 'cflags': [
161 '-fno-omit-frame-pointer',
162 # Clang on Linux will still omit frame pointers from leaf
163 # functions unless told otherwise:
164 # '-mno-omit-leaf-frame-pointer',
165 ],
166 'defines': [
167 'PROFILE_NATIVE_CODE'
168 ],
169 }],
170 ],
151 'cflags': [ 171 'cflags': [
152 '-O3', 172 '-O3',
153 # Uncomment the following line and pass --profile-vm to enable
154 # profiling of C++ code within Observatory.
155 # '-fno-omit-frame-pointer',
156 # Clang on Linux will still omit frame pointers from leaf functions
157 # unless told otherwise:
158 # '-mno-omit-leaf-frame-pointer',
159 ], 173 ],
160 }, 174 },
161 }, 175 },
162 }, 176 },
163 } 177 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations_android.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698