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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'ldflags': ['-m32'], | 62 'ldflags': ['-m32'], |
63 }]] | 63 }]] |
64 }, | 64 }, |
65 | 65 |
66 'Dart_simmips_Base': { | 66 'Dart_simmips_Base': { |
67 'cflags': [ '-O3', '-m32', '-msse2' ], | 67 'cflags': [ '-O3', '-m32', '-msse2' ], |
68 'ldflags': [ '-m32', ], | 68 'ldflags': [ '-m32', ], |
69 }, | 69 }, |
70 | 70 |
71 'Dart_mips_Base': { | 71 'Dart_mips_Base': { |
72 'cflags': [ | 72 'target_conditions': [ |
73 '-march=mips32r2', | 73 ['_toolset=="target"', { |
74 '-mhard-float', | 74 'cflags': [ |
75 '-fno-strict-overflow', | 75 '-march=mips32', |
76 ], | 76 '-mhard-float', |
| 77 '-fno-strict-overflow', |
| 78 ], |
| 79 }], |
| 80 ['_toolset=="host"',{ |
| 81 'cflags': [ '-O3', '-m32', '-msse2' ], |
| 82 'ldflags': [ '-m32' ], |
| 83 }]] |
77 }, | 84 }, |
78 | 85 |
79 'Dart_Debug': { | 86 'Dart_Debug': { |
80 'cflags': [ | 87 'cflags': [ |
81 '-O<(dart_debug_optimization_level)', | 88 '-O<(dart_debug_optimization_level)', |
82 '-fno-omit-frame-pointer', | 89 '-fno-omit-frame-pointer', |
83 ], | 90 ], |
84 }, | 91 }, |
85 | 92 |
86 'Dart_Release': { | 93 'Dart_Release': { |
87 'cflags': [ '-O3', ], | 94 'cflags': [ '-O3', ], |
88 }, | 95 }, |
89 }, | 96 }, |
90 }, | 97 }, |
91 } | 98 } |
OLD | NEW |