OLD | NEW |
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 }, | 134 }, |
135 | 135 |
136 'Dart_Linux_Debug': { | 136 'Dart_Linux_Debug': { |
137 'abstract': 1, | 137 'abstract': 1, |
138 'conditions': [ | 138 'conditions': [ |
139 ['c_frame_pointers==1', { | 139 ['c_frame_pointers==1', { |
140 'cflags': [ | 140 'cflags': [ |
141 '-fno-omit-frame-pointer', | 141 '-fno-omit-frame-pointer', |
142 # Clang on Linux will still omit frame pointers from leaf | 142 # Clang on Linux will still omit frame pointers from leaf |
143 # functions unless told otherwise: | 143 # functions unless told otherwise: |
144 # '-mno-omit-leaf-frame-pointer', | 144 '-mno-omit-leaf-frame-pointer', |
145 ], | 145 ], |
146 'defines': [ | 146 'defines': [ |
147 'PROFILE_NATIVE_CODE' | 147 'PROFILE_NATIVE_CODE' |
148 ], | 148 ], |
149 }], | 149 }], |
150 ], | 150 ], |
151 'cflags': [ | 151 'cflags': [ |
152 '-O<(dart_debug_optimization_level)', | 152 '-O<(dart_debug_optimization_level)', |
153 ], | 153 ], |
154 }, | 154 }, |
155 | 155 |
156 'Dart_Linux_Release': { | 156 'Dart_Linux_Release': { |
157 'abstract': 1, | 157 'abstract': 1, |
158 'conditions': [ | 158 'conditions': [ |
159 ['c_frame_pointers==1', { | 159 ['c_frame_pointers==1', { |
160 'cflags': [ | 160 'cflags': [ |
161 '-fno-omit-frame-pointer', | 161 '-fno-omit-frame-pointer', |
162 # Clang on Linux will still omit frame pointers from leaf | 162 # Clang on Linux will still omit frame pointers from leaf |
163 # functions unless told otherwise: | 163 # functions unless told otherwise: |
164 # '-mno-omit-leaf-frame-pointer', | 164 '-mno-omit-leaf-frame-pointer', |
165 ], | 165 ], |
166 'defines': [ | 166 'defines': [ |
167 'PROFILE_NATIVE_CODE' | 167 'PROFILE_NATIVE_CODE' |
168 ], | 168 ], |
169 }], | 169 }], |
170 ], | 170 ], |
171 'cflags': [ | 171 'cflags': [ |
172 '-O3', | 172 '-O3', |
173 ], | 173 ], |
174 }, | 174 }, |
175 }, | 175 }, |
176 }, | 176 }, |
177 } | 177 } |
OLD | NEW |