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 30 matching lines...) Expand all Loading... |
41 'cflags': [ '-m64', '-msse2' ], | 41 'cflags': [ '-m64', '-msse2' ], |
42 'ldflags': [ '-m64', ], | 42 'ldflags': [ '-m64', ], |
43 }, | 43 }, |
44 | 44 |
45 'Dart_simarm_Base': { | 45 'Dart_simarm_Base': { |
46 'cflags': [ '-O3', '-m32', '-msse2' ], | 46 'cflags': [ '-O3', '-m32', '-msse2' ], |
47 'ldflags': [ '-m32', ], | 47 'ldflags': [ '-m32', ], |
48 }, | 48 }, |
49 | 49 |
50 'Dart_arm_Base': { | 50 'Dart_arm_Base': { |
51 'cflags': [ | 51 'target_conditions': [ |
52 '-march=armv7-a', | 52 ['_toolset=="target"', { |
53 '-mfpu=vfp', | 53 'cflags': [ |
54 '-mfloat-abi=softfp', | 54 '-marm', |
55 '-fno-strict-overflow', | 55 '-march=armv7-a', |
56 ], | 56 '-mfpu=vfp', |
| 57 '-mfloat-abi=softfp', |
| 58 '-Wno-psabi', # suppresses va_list warning |
| 59 '-fno-strict-overflow', |
| 60 ], |
| 61 }], |
| 62 ['_toolset=="host"', { |
| 63 'cflags': ['-m32', '-msse2'], |
| 64 'ldflags': ['-m32'], |
| 65 }]] |
57 }, | 66 }, |
58 | 67 |
59 'Dart_simmips_Base': { | 68 'Dart_simmips_Base': { |
60 'cflags': [ '-O3', '-m32', '-msse2' ], | 69 'cflags': [ '-O3', '-m32', '-msse2' ], |
61 'ldflags': [ '-m32', ], | 70 'ldflags': [ '-m32', ], |
62 }, | 71 }, |
63 | 72 |
64 'Dart_mips_Base': { | 73 'Dart_mips_Base': { |
65 'cflags': [ | 74 'cflags': [ |
66 '-march=mips32r2', | 75 '-march=mips32r2', |
67 '-mhard-float', | 76 '-mhard-float', |
68 '-fno-strict-overflow', | 77 '-fno-strict-overflow', |
69 ], | 78 ], |
70 }, | 79 }, |
71 | 80 |
72 'Dart_Debug': { | 81 'Dart_Debug': { |
73 'cflags': [ '-O<(dart_debug_optimization_level)' ], | 82 'cflags': [ '-O<(dart_debug_optimization_level)' ], |
74 }, | 83 }, |
75 | 84 |
76 'Dart_Release': { | 85 'Dart_Release': { |
77 'cflags': [ '-O3', ], | 86 'cflags': [ '-O3', ], |
78 }, | 87 }, |
79 }, | 88 }, |
80 }, | 89 }, |
81 } | 90 } |
OLD | NEW |