| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 'cflags': [ | 138 'cflags': [ |
| 139 '-O<(dart_debug_optimization_level)', | 139 '-O<(dart_debug_optimization_level)', |
| 140 # The sampling profiler uses the frame pointer to walk the stack. | 140 # Uncomment the following line and pass --profile-vm to enable |
| 141 '-fno-omit-frame-pointer', | 141 # profiling of C++ code within Observatory. |
| 142 # '-fno-omit-frame-pointer', |
| 142 # Clang on Linux will still omit frame pointers from leaf functions | 143 # Clang on Linux will still omit frame pointers from leaf functions |
| 143 # unless told otherwise: | 144 # unless told otherwise: |
| 144 # '-mno-omit-leaf-frame-pointer', | 145 # '-mno-omit-leaf-frame-pointer', |
| 145 ], | 146 ], |
| 146 }, | 147 }, |
| 147 | 148 |
| 148 'Dart_Linux_Release': { | 149 'Dart_Linux_Release': { |
| 149 'abstract': 1, | 150 'abstract': 1, |
| 150 'cflags': [ | 151 'cflags': [ |
| 151 '-O3', | 152 '-O3', |
| 152 # The sampling profiler uses the frame pointer to walk the stack. | 153 # Uncomment the following line and pass --profile-vm to enable |
| 153 '-fno-omit-frame-pointer', | 154 # profiling of C++ code within Observatory. |
| 155 # '-fno-omit-frame-pointer', |
| 154 # Clang on Linux will still omit frame pointers from leaf functions | 156 # Clang on Linux will still omit frame pointers from leaf functions |
| 155 # unless told otherwise: | 157 # unless told otherwise: |
| 156 # '-mno-omit-leaf-frame-pointer', | 158 # '-mno-omit-leaf-frame-pointer', |
| 157 ], | 159 ], |
| 158 }, | 160 }, |
| 159 }, | 161 }, |
| 160 }, | 162 }, |
| 161 } | 163 } |
| OLD | NEW |