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 'arm_cross_libc%': '/opt/codesourcery/arm-2009q1/arm-none-linux-gnueabi/libc ', | 7 'arm_cross_libc%': '/opt/codesourcery/arm-2009q1/arm-none-linux-gnueabi/libc ', |
8 'dart_debug_optimization_level%': '2', | 8 'dart_debug_optimization_level%': '2', |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 }], | 84 }], |
85 ['_toolset=="host"',{ | 85 ['_toolset=="host"',{ |
86 'cflags': [ '-O3', '-m32', '-msse2' ], | 86 'cflags': [ '-O3', '-m32', '-msse2' ], |
87 'ldflags': [ '-m32' ], | 87 'ldflags': [ '-m32' ], |
88 }]] | 88 }]] |
89 }, | 89 }, |
90 | 90 |
91 'Dart_Debug': { | 91 'Dart_Debug': { |
92 'cflags': [ | 92 'cflags': [ |
93 '-O<(dart_debug_optimization_level)', | 93 '-O<(dart_debug_optimization_level)', |
94 # The sampling profiler uses the frame pointer to walk the stack. | |
94 '-fno-omit-frame-pointer', | 95 '-fno-omit-frame-pointer', |
95 ], | 96 ], |
96 }, | 97 }, |
97 | 98 |
98 'Dart_Release': { | 99 'Dart_Release': { |
99 'cflags': [ '-O3', ], | 100 'cflags': [ |
101 '-O3', | |
102 # The sampling profiler uses the frame pointer to walk the stack. | |
103 '-fno-omit-frame-pointer', | |
srdjan
2013/12/03 22:18:09
Adding this used to hurt performance. Have you che
| |
104 ], | |
100 }, | 105 }, |
101 }, | 106 }, |
102 }, | 107 }, |
103 } | 108 } |
OLD | NEW |