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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 # functions unless told otherwise: | 64 # functions unless told otherwise: |
65 # (note this flag only works on recent GCC versions.) | 65 # (note this flag only works on recent GCC versions.) |
66 '-mno-omit-leaf-frame-pointer', | 66 '-mno-omit-leaf-frame-pointer', |
67 ], | 67 ], |
68 }], | 68 }], |
69 ], | 69 ], |
70 }, | 70 }, |
71 | 71 |
72 'Dart_Linux_simarm_Base': { | 72 'Dart_Linux_simarm_Base': { |
73 'abstract': 1, | 73 'abstract': 1, |
74 'cflags': [ '-O3', '-m32', '-msse2' ], | 74 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
75 'ldflags': [ '-m32', ], | 75 'ldflags': [ '-m32', ], |
76 }, | 76 }, |
77 | 77 |
78 'Dart_Linux_simarmv5te_Base': { | 78 'Dart_Linux_simarmv5te_Base': { |
79 'abstract': 1, | 79 'abstract': 1, |
80 'cflags': [ '-O3', '-m32', '-msse2' ], | 80 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
81 'ldflags': [ '-m32', ], | 81 'ldflags': [ '-m32', ], |
82 }, | 82 }, |
83 | 83 |
84 'Dart_Linux_simarm64_Base': { | 84 'Dart_Linux_simarm64_Base': { |
85 'abstract': 1, | 85 'abstract': 1, |
86 'cflags': [ '-O3', '-m64', '-msse2' ], | 86 'cflags': [ '-O3', '-m64', '-msse2', '-mfpmath=sse' ], |
87 'ldflags': [ '-m64', ], | 87 'ldflags': [ '-m64', ], |
88 }, | 88 }, |
89 | 89 |
90 # ARM cross-build | 90 # ARM cross-build |
91 'Dart_Linux_xarm_Base': { | 91 'Dart_Linux_xarm_Base': { |
92 'abstract': 1, | 92 'abstract': 1, |
93 'target_conditions': [ | 93 'target_conditions': [ |
94 ['_toolset=="target"', { | 94 ['_toolset=="target"', { |
95 'cflags': [ | 95 'cflags': [ |
96 '-marm', | 96 '-marm', |
97 '-mfpu=vfp', | 97 '-mfpu=vfp', |
98 '-Wno-psabi', # suppresses va_list warning | 98 '-Wno-psabi', # suppresses va_list warning |
99 '-fno-strict-overflow', | 99 '-fno-strict-overflow', |
100 ], | 100 ], |
101 }], | 101 }], |
102 ['_toolset=="host"', { | 102 ['_toolset=="host"', { |
103 'cflags': ['-m32', '-msse2'], | 103 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ], |
104 'ldflags': ['-m32'], | 104 'ldflags': ['-m32'], |
105 }]] | 105 }]] |
106 }, | 106 }, |
107 | 107 |
108 # ARM native build | 108 # ARM native build |
109 'Dart_Linux_arm_Base': { | 109 'Dart_Linux_arm_Base': { |
110 'abstract': 1, | 110 'abstract': 1, |
111 'cflags': [ | 111 'cflags': [ |
112 '-marm', | 112 '-marm', |
113 '-mfpu=vfp', | 113 '-mfpu=vfp', |
(...skipping 10 matching lines...) Expand all Loading... |
124 'cflags': [ | 124 'cflags': [ |
125 '-mthumb', | 125 '-mthumb', |
126 '-mlong-calls', | 126 '-mlong-calls', |
127 '-march=armv5te', | 127 '-march=armv5te', |
128 '-mfloat-abi=soft', | 128 '-mfloat-abi=soft', |
129 '-Wno-psabi', # suppresses va_list warning | 129 '-Wno-psabi', # suppresses va_list warning |
130 '-fno-strict-overflow', | 130 '-fno-strict-overflow', |
131 ], | 131 ], |
132 }], | 132 }], |
133 ['_toolset=="host"', { | 133 ['_toolset=="host"', { |
134 'cflags': ['-m32', '-msse2'], | 134 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ], |
135 'ldflags': ['-m32'], | 135 'ldflags': ['-m32'], |
136 }]] | 136 }]] |
137 }, | 137 }, |
138 | 138 |
139 # ARMv5 native build | 139 # ARMv5 native build |
140 'Dart_Linux_armv5te_Base': { | 140 'Dart_Linux_armv5te_Base': { |
141 'abstract': 1, | 141 'abstract': 1, |
142 'cflags': [ | 142 'cflags': [ |
143 '-mthumb', | 143 '-mthumb', |
144 '-mlong-calls', | 144 '-mlong-calls', |
(...skipping 18 matching lines...) Expand all Loading... |
163 }, | 163 }, |
164 | 164 |
165 # ARM64 native build | 165 # ARM64 native build |
166 'Dart_Linux_arm64_Base': { | 166 'Dart_Linux_arm64_Base': { |
167 'abstract': 1, | 167 'abstract': 1, |
168 'cflags': [ '-O3', ], | 168 'cflags': [ '-O3', ], |
169 }, | 169 }, |
170 | 170 |
171 'Dart_Linux_simmips_Base': { | 171 'Dart_Linux_simmips_Base': { |
172 'abstract': 1, | 172 'abstract': 1, |
173 'cflags': [ '-O3', '-m32', '-msse2' ], | 173 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
174 'ldflags': [ '-m32', ], | 174 'ldflags': [ '-m32', ], |
175 }, | 175 }, |
176 | 176 |
177 # MIPS cross-build | 177 # MIPS cross-build |
178 'Dart_Linux_xmips_Base': { | 178 'Dart_Linux_xmips_Base': { |
179 'abstract': 1, | 179 'abstract': 1, |
180 'target_conditions': [ | 180 'target_conditions': [ |
181 ['_toolset=="target"', { | 181 ['_toolset=="target"', { |
182 'cflags': [ | 182 'cflags': [ |
183 '-EL', | 183 '-EL', |
184 '-march=mips32', | 184 '-march=mips32', |
185 '-mhard-float', | 185 '-mhard-float', |
186 '-fno-strict-overflow', | 186 '-fno-strict-overflow', |
187 ], | 187 ], |
188 'ldflags': [ | 188 'ldflags': [ |
189 '-EL', | 189 '-EL', |
190 ], | 190 ], |
191 }], | 191 }], |
192 ['_toolset=="host"',{ | 192 ['_toolset=="host"',{ |
193 'cflags': [ '-O3', '-m32', '-msse2' ], | 193 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
194 'ldflags': [ '-m32' ], | 194 'ldflags': [ '-m32' ], |
195 }]] | 195 }]] |
196 }, | 196 }, |
197 | 197 |
198 # MIPS native build | 198 # MIPS native build |
199 'Dart_Linux_mips_Base': { | 199 'Dart_Linux_mips_Base': { |
200 'abstract': 1, | 200 'abstract': 1, |
201 'cflags': [ | 201 'cflags': [ |
202 '-march=mips32', | 202 '-march=mips32', |
203 '-mhard-float', | 203 '-mhard-float', |
(...skipping 30 matching lines...) Expand all Loading... |
234 ], | 234 ], |
235 }], | 235 }], |
236 ], | 236 ], |
237 'cflags': [ | 237 'cflags': [ |
238 '-O3', | 238 '-O3', |
239 ], | 239 ], |
240 }, | 240 }, |
241 }, | 241 }, |
242 }, | 242 }, |
243 } | 243 } |
OLD | NEW |