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 24 matching lines...) Expand all Loading... |
35 }, | 35 }, |
36 | 36 |
37 'Dart_x64_Base': { | 37 'Dart_x64_Base': { |
38 'cflags': [ '-m64', '-msse2' ], | 38 'cflags': [ '-m64', '-msse2' ], |
39 'ldflags': [ '-m64', ], | 39 'ldflags': [ '-m64', ], |
40 }, | 40 }, |
41 | 41 |
42 'Dart_simarm_Base': { | 42 'Dart_simarm_Base': { |
43 'cflags': [ '-O3', '-m32', '-msse2' ], | 43 'cflags': [ '-O3', '-m32', '-msse2' ], |
44 'ldflags': [ '-m32', ], | 44 'ldflags': [ '-m32', ], |
| 45 'defines': [ |
| 46 'ARM_FLOAT_ABI_HARD', |
| 47 ], |
45 }, | 48 }, |
46 | 49 |
47 'Dart_arm_Base': { | 50 'Dart_arm_Base': { |
48 'target_conditions': [ | 51 'target_conditions': [ |
49 ['_toolset=="target"', { | 52 ['_toolset=="target"', { |
50 'cflags': [ | 53 'cflags': [ |
51 '-marm', | 54 '-marm', |
52 '-march=armv7-a', | 55 '-march=armv7-a', |
53 '-mfpu=vfp', | 56 '-mfpu=vfp', |
54 '-Wno-psabi', # suppresses va_list warning | 57 '-Wno-psabi', # suppresses va_list warning |
55 '-fno-strict-overflow', | 58 '-fno-strict-overflow', |
56 ], | 59 ], |
| 60 'defines': [ |
| 61 # In build.py, we specify the hf compiler. |
| 62 'ARM_FLOAT_ABI_HARD', |
| 63 ], |
57 }], | 64 }], |
58 ['_toolset=="host"', { | 65 ['_toolset=="host"', { |
59 'cflags': ['-m32', '-msse2'], | 66 'cflags': ['-m32', '-msse2'], |
60 'ldflags': ['-m32'], | 67 'ldflags': ['-m32'], |
61 }]] | 68 }]] |
62 }, | 69 }, |
63 | 70 |
64 'Dart_simmips_Base': { | 71 'Dart_simmips_Base': { |
65 'cflags': [ '-O3', '-m32', '-msse2' ], | 72 'cflags': [ '-O3', '-m32', '-msse2' ], |
66 'ldflags': [ '-m32', ], | 73 'ldflags': [ '-m32', ], |
(...skipping 20 matching lines...) Expand all Loading... |
87 '-fno-omit-frame-pointer', | 94 '-fno-omit-frame-pointer', |
88 ], | 95 ], |
89 }, | 96 }, |
90 | 97 |
91 'Dart_Release': { | 98 'Dart_Release': { |
92 'cflags': [ '-O3', ], | 99 'cflags': [ '-O3', ], |
93 }, | 100 }, |
94 }, | 101 }, |
95 }, | 102 }, |
96 } | 103 } |
OLD | NEW |