| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 # The sampling profiler uses the frame pointer to walk the stack. |
| 95 '-fno-omit-frame-pointer', | 95 '-fno-omit-frame-pointer', |
| 96 # Clang on Linux will still omit frame pointers from leaf functions |
| 97 # unless told otherwise: |
| 98 # '-mno-omit-leaf-frame-pointer', |
| 96 ], | 99 ], |
| 97 }, | 100 }, |
| 98 | 101 |
| 99 'Dart_Release': { | 102 'Dart_Release': { |
| 100 'cflags': [ | 103 'cflags': [ |
| 101 '-O3', | 104 '-O3', |
| 102 # The sampling profiler uses the frame pointer to walk the stack. | 105 # The sampling profiler uses the frame pointer to walk the stack. |
| 103 '-fno-omit-frame-pointer', | 106 '-fno-omit-frame-pointer', |
| 107 # Clang on Linux will still omit frame pointers from leaf functions |
| 108 # unless told otherwise: |
| 109 # '-mno-omit-leaf-frame-pointer', |
| 104 ], | 110 ], |
| 105 }, | 111 }, |
| 106 }, | 112 }, |
| 107 }, | 113 }, |
| 108 } | 114 } |
| OLD | NEW |