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 }], | 69 }], |
70 ], | 70 ], |
71 }, | 71 }, |
72 | 72 |
73 'Dart_Linux_simarm_Base': { | 73 'Dart_Linux_simarm_Base': { |
74 'abstract': 1, | 74 'abstract': 1, |
75 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], | 75 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
76 'ldflags': [ '-m32', ], | 76 'ldflags': [ '-m32', ], |
77 }, | 77 }, |
78 | 78 |
| 79 'Dart_Linux_simarmv6_Base': { |
| 80 'abstract': 1, |
| 81 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
| 82 'ldflags': [ '-m32', ], |
| 83 }, |
| 84 |
79 'Dart_Linux_simarmv5te_Base': { | 85 'Dart_Linux_simarmv5te_Base': { |
80 'abstract': 1, | 86 'abstract': 1, |
81 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], | 87 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ], |
82 'ldflags': [ '-m32', ], | 88 'ldflags': [ '-m32', ], |
83 }, | 89 }, |
84 | 90 |
85 'Dart_Linux_simarm64_Base': { | 91 'Dart_Linux_simarm64_Base': { |
86 'abstract': 1, | 92 'abstract': 1, |
87 'cflags': [ '-O3', '-m64', '-msse2', '-mfpmath=sse' ], | 93 'cflags': [ '-O3', '-m64', '-msse2', '-mfpmath=sse' ], |
88 'ldflags': [ '-m64', ], | 94 'ldflags': [ '-m64', ], |
(...skipping 21 matching lines...) Expand all Loading... |
110 'Dart_Linux_arm_Base': { | 116 'Dart_Linux_arm_Base': { |
111 'abstract': 1, | 117 'abstract': 1, |
112 'cflags': [ | 118 'cflags': [ |
113 '-marm', | 119 '-marm', |
114 '-mfpu=vfp', | 120 '-mfpu=vfp', |
115 '-Wno-psabi', # suppresses va_list warning | 121 '-Wno-psabi', # suppresses va_list warning |
116 '-fno-strict-overflow', | 122 '-fno-strict-overflow', |
117 ], | 123 ], |
118 }, | 124 }, |
119 | 125 |
| 126 # ARMv6 cross-build |
| 127 'Dart_Linux_xarmv6_Base': { |
| 128 'abstract': 1, |
| 129 'target_conditions': [ |
| 130 ['_toolset=="target"', { |
| 131 'cflags': [ |
| 132 '-march=armv6', |
| 133 '-mfpu=vfp', |
| 134 '-Wno-psabi', # suppresses va_list warning |
| 135 '-fno-strict-overflow', |
| 136 ], |
| 137 }], |
| 138 ['_toolset=="host"', { |
| 139 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ], |
| 140 'ldflags': ['-m32'], |
| 141 }]] |
| 142 }, |
| 143 |
| 144 # ARMv6 native build |
| 145 'Dart_Linux_armv6_Base': { |
| 146 'abstract': 1, |
| 147 'cflags': [ |
| 148 '-march=armv6', |
| 149 '-mfpu=vfp', |
| 150 '-Wno-psabi', # suppresses va_list warning |
| 151 '-fno-strict-overflow', |
| 152 ], |
| 153 }, |
| 154 |
120 # ARMv5 cross-build | 155 # ARMv5 cross-build |
121 'Dart_Linux_xarmv5te_Base': { | 156 'Dart_Linux_xarmv5te_Base': { |
122 'abstract': 1, | 157 'abstract': 1, |
123 'target_conditions': [ | 158 'target_conditions': [ |
124 ['_toolset=="target"', { | 159 ['_toolset=="target"', { |
125 'cflags': [ | 160 'cflags': [ |
126 '-mthumb', | 161 '-mthumb', |
127 '-mlong-calls', | 162 '-mlong-calls', |
128 '-march=armv5te', | 163 '-march=armv5te', |
129 '-mfloat-abi=soft', | 164 '-mfloat-abi=soft', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 '-O3', | 274 '-O3', |
240 '-ffunction-sections', | 275 '-ffunction-sections', |
241 ], | 276 ], |
242 'ldflags': [ | 277 'ldflags': [ |
243 '-Wl,--gc-sections', | 278 '-Wl,--gc-sections', |
244 ], | 279 ], |
245 }, | 280 }, |
246 }, | 281 }, |
247 }, | 282 }, |
248 } | 283 } |
OLD | NEW |