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 15 matching lines...) Expand all Loading... |
26 '-fno-rtti', | 26 '-fno-rtti', |
27 '-fno-exceptions', | 27 '-fno-exceptions', |
28 '-fPIC', | 28 '-fPIC', |
29 '-fvisibility=hidden', | 29 '-fvisibility=hidden', |
30 '-fvisibility-inlines-hidden', | 30 '-fvisibility-inlines-hidden', |
31 '-fno-omit-frame-pointer', | 31 '-fno-omit-frame-pointer', |
32 ], | 32 ], |
33 }, | 33 }, |
34 | 34 |
35 'Dart_ia32_Base': { | 35 'Dart_ia32_Base': { |
36 'cflags': [ '-m32', ], | 36 'cflags': [ '-m32', '-msse2' ], |
37 'ldflags': [ '-m32', ], | 37 'ldflags': [ '-m32', ], |
38 }, | 38 }, |
39 | 39 |
40 'Dart_x64_Base': { | 40 'Dart_x64_Base': { |
41 'cflags': [ '-m64', ], | 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', ], | 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 'cflags': [ |
52 '-march=armv7-a', | 52 '-march=armv7-a', |
53 '-mfpu=vfp', | 53 '-mfpu=vfp', |
54 '-mfloat-abi=softfp', | 54 '-mfloat-abi=softfp', |
55 '-fno-strict-overflow', | 55 '-fno-strict-overflow', |
56 ], | 56 ], |
57 }, | 57 }, |
58 | 58 |
59 'Dart_simmips_Base': { | 59 'Dart_simmips_Base': { |
60 'cflags': [ '-O3', '-m32', ], | 60 'cflags': [ '-O3', '-m32', '-msse2' ], |
61 'ldflags': [ '-m32', ], | 61 'ldflags': [ '-m32', ], |
62 }, | 62 }, |
63 | 63 |
64 'Dart_mips_Base': { | 64 'Dart_mips_Base': { |
65 'cflags': [ | 65 'cflags': [ |
66 '-march=mips32r2', | 66 '-march=mips32r2', |
67 '-mhard-float', | 67 '-mhard-float', |
68 '-fno-strict-overflow', | 68 '-fno-strict-overflow', |
69 ], | 69 ], |
70 }, | 70 }, |
71 | 71 |
72 'Dart_Debug': { | 72 'Dart_Debug': { |
73 'cflags': [ '-O<(dart_debug_optimization_level)' ], | 73 'cflags': [ '-O<(dart_debug_optimization_level)' ], |
74 }, | 74 }, |
75 | 75 |
76 'Dart_Release': { | 76 'Dart_Release': { |
77 'cflags': [ '-O3', ], | 77 'cflags': [ '-O3', ], |
78 }, | 78 }, |
79 }, | 79 }, |
80 }, | 80 }, |
81 } | 81 } |
OLD | NEW |