| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 'Dart_Linux_arm_Base': { | 74 'Dart_Linux_arm_Base': { |
| 75 'abstract': 1, | 75 'abstract': 1, |
| 76 'cflags': [ | 76 'cflags': [ |
| 77 '-marm', | 77 '-marm', |
| 78 '-mfpu=vfp', | 78 '-mfpu=vfp', |
| 79 '-Wno-psabi', # suppresses va_list warning | 79 '-Wno-psabi', # suppresses va_list warning |
| 80 '-fno-strict-overflow', | 80 '-fno-strict-overflow', |
| 81 ], | 81 ], |
| 82 }, | 82 }, |
| 83 | 83 |
| 84 # ARMv5 cross-build |
| 85 'Dart_Linux_xarmv5_Base': { |
| 86 'abstract': 1, |
| 87 'target_conditions': [ |
| 88 ['_toolset=="target"', { |
| 89 'cflags': [ |
| 90 '-mthumb', |
| 91 '-mlong-calls', |
| 92 '-march=armv5te', |
| 93 '-mfloat-abi=soft', |
| 94 '-Wno-psabi', # suppresses va_list warning |
| 95 '-fno-strict-overflow', |
| 96 ], |
| 97 }], |
| 98 ['_toolset=="host"', { |
| 99 'cflags': ['-m32', '-msse2'], |
| 100 'ldflags': ['-m32'], |
| 101 }]] |
| 102 }, |
| 103 |
| 104 # ARMv5 native build |
| 105 'Dart_Linux_armv5_Base': { |
| 106 'abstract': 1, |
| 107 'cflags': [ |
| 108 '-mthumb', |
| 109 '-mlong-calls', |
| 110 '-march=armv5te', |
| 111 '-mfloat-abi=soft', |
| 112 '-Wno-psabi', # suppresses va_list warning |
| 113 '-fno-strict-overflow', |
| 114 ], |
| 115 }, |
| 116 |
| 84 # ARM64 cross-build | 117 # ARM64 cross-build |
| 85 'Dart_Linux_xarm64_Base': { | 118 'Dart_Linux_xarm64_Base': { |
| 86 'abstract': 1, | 119 'abstract': 1, |
| 87 'target_conditions': [ | 120 'target_conditions': [ |
| 88 ['_toolset=="target"', { | 121 ['_toolset=="target"', { |
| 89 'cflags': [ '-O3', ], | 122 'cflags': [ '-O3', ], |
| 90 }], | 123 }], |
| 91 ['_toolset=="host"', { | 124 ['_toolset=="host"', { |
| 92 'cflags': ['-O3', '-m64', '-msse2'], | 125 'cflags': ['-O3', '-m64', '-msse2'], |
| 93 'ldflags': ['-m64'], | 126 'ldflags': ['-m64'], |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 ], | 201 ], |
| 169 }], | 202 }], |
| 170 ], | 203 ], |
| 171 'cflags': [ | 204 'cflags': [ |
| 172 '-O3', | 205 '-O3', |
| 173 ], | 206 ], |
| 174 }, | 207 }, |
| 175 }, | 208 }, |
| 176 }, | 209 }, |
| 177 } | 210 } |
| OLD | NEW |