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