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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 'ldflags': ['-m32'], | 69 'ldflags': ['-m32'], |
70 }]] | 70 }]] |
71 }, | 71 }, |
72 | 72 |
73 'Dart_Linux_simmips_Base': { | 73 'Dart_Linux_simmips_Base': { |
74 'abstract': 1, | 74 'abstract': 1, |
75 'cflags': [ '-O3', '-m32', '-msse2' ], | 75 'cflags': [ '-O3', '-m32', '-msse2' ], |
76 'ldflags': [ '-m32', ], | 76 'ldflags': [ '-m32', ], |
77 }, | 77 }, |
78 | 78 |
79 'Dart_Linux_mips_Base': { | 79 # MIPS cross-build |
| 80 'Dart_Linux_xmips_Base': { |
80 'abstract': 1, | 81 'abstract': 1, |
81 'target_conditions': [ | 82 'target_conditions': [ |
82 ['_toolset=="target"', { | 83 ['_toolset=="target"', { |
83 'cflags': [ | 84 'cflags': [ |
84 '-march=mips32', | 85 '-march=mips32', |
85 '-mhard-float', | 86 '-mhard-float', |
86 '-fno-strict-overflow', | 87 '-fno-strict-overflow', |
87 ], | 88 ], |
88 }], | 89 }], |
89 ['_toolset=="host"',{ | 90 ['_toolset=="host"',{ |
90 'cflags': [ '-O3', '-m32', '-msse2' ], | 91 'cflags': [ '-O3', '-m32', '-msse2' ], |
91 'ldflags': [ '-m32' ], | 92 'ldflags': [ '-m32' ], |
92 }]] | 93 }]] |
93 }, | 94 }, |
94 | 95 |
| 96 # MIPS native build |
| 97 'Dart_Linux_mips_Base': { |
| 98 'abstract': 1, |
| 99 'cflags': [ |
| 100 '-march=mips32', |
| 101 '-mhard-float', |
| 102 '-fno-strict-overflow', |
| 103 ], |
| 104 }, |
| 105 |
95 'Dart_Linux_Debug': { | 106 'Dart_Linux_Debug': { |
96 'abstract': 1, | 107 'abstract': 1, |
97 'cflags': [ | 108 'cflags': [ |
98 '-O<(dart_debug_optimization_level)', | 109 '-O<(dart_debug_optimization_level)', |
99 # The sampling profiler uses the frame pointer to walk the stack. | 110 # The sampling profiler uses the frame pointer to walk the stack. |
100 '-fno-omit-frame-pointer', | 111 '-fno-omit-frame-pointer', |
101 # Clang on Linux will still omit frame pointers from leaf functions | 112 # Clang on Linux will still omit frame pointers from leaf functions |
102 # unless told otherwise: | 113 # unless told otherwise: |
103 # '-mno-omit-leaf-frame-pointer', | 114 # '-mno-omit-leaf-frame-pointer', |
104 ], | 115 ], |
105 }, | 116 }, |
106 | 117 |
107 'Dart_Linux_Release': { | 118 'Dart_Linux_Release': { |
108 'abstract': 1, | 119 'abstract': 1, |
109 'cflags': [ | 120 'cflags': [ |
110 '-O3', | 121 '-O3', |
111 # The sampling profiler uses the frame pointer to walk the stack. | 122 # The sampling profiler uses the frame pointer to walk the stack. |
112 '-fno-omit-frame-pointer', | 123 '-fno-omit-frame-pointer', |
113 # Clang on Linux will still omit frame pointers from leaf functions | 124 # Clang on Linux will still omit frame pointers from leaf functions |
114 # unless told otherwise: | 125 # unless told otherwise: |
115 # '-mno-omit-leaf-frame-pointer', | 126 # '-mno-omit-leaf-frame-pointer', |
116 ], | 127 ], |
117 }, | 128 }, |
118 }, | 129 }, |
119 }, | 130 }, |
120 } | 131 } |
OLD | NEW |