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 11 matching lines...) Expand all Loading... |
22 '-ggdb3', | 22 '-ggdb3', |
23 # TODO(iposva): Figure out if we need to pass anything else. | 23 # TODO(iposva): Figure out if we need to pass anything else. |
24 #'-ansi', | 24 #'-ansi', |
25 '-fno-rtti', | 25 '-fno-rtti', |
26 '-fno-exceptions', | 26 '-fno-exceptions', |
27 '-fPIC', | 27 '-fPIC', |
28 '-fvisibility=hidden', | 28 '-fvisibility=hidden', |
29 '-fvisibility-inlines-hidden', | 29 '-fvisibility-inlines-hidden', |
30 '-fno-omit-frame-pointer', | 30 '-fno-omit-frame-pointer', |
31 ], | 31 ], |
32 'ldflags': [ | |
33 '-rdynamic', | |
34 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', | |
35 ], | |
36 }, | 32 }, |
37 | 33 |
38 'Dart_ia32_Base': { | 34 'Dart_ia32_Base': { |
39 'cflags': [ '-m32', ], | 35 'cflags': [ '-m32', ], |
40 'ldflags': [ '-m32', ], | 36 'ldflags': [ '-m32', ], |
41 }, | 37 }, |
42 | 38 |
43 'Dart_x64_Base': { | 39 'Dart_x64_Base': { |
44 'cflags': [ '-m64', ], | 40 'cflags': [ '-m64', ], |
45 'ldflags': [ '-m64', ], | 41 'ldflags': [ '-m64', ], |
46 }, | 42 }, |
47 | 43 |
48 'Dart_simarm_Base': { | 44 'Dart_simarm_Base': { |
49 'cflags': [ '-O3', '-m32', ], | 45 'cflags': [ '-O3', '-m32', ], |
50 'ldflags': [ '-m32', ], | 46 'ldflags': [ '-m32', ], |
51 }, | 47 }, |
52 | 48 |
53 'Dart_arm_Base': { | 49 'Dart_arm_Base': { |
54 'cflags': [ | 50 'cflags': [ |
55 '-march=armv7-a', | 51 '-march=armv7-a', |
56 '-mfpu=vfp', | 52 '-mfpu=vfp', |
57 '-mfloat-abi=softfp', | 53 '-mfloat-abi=softfp', |
58 '-fno-strict-overflow', | 54 '-fno-strict-overflow', |
59 ], | 55 ], |
60 'ldflags': [ | |
61 '-Wl,-rpath=<(arm_cross_libc)/usr/lib', | |
62 ], | |
63 }, | 56 }, |
64 | 57 |
65 'Dart_Debug': { | 58 'Dart_Debug': { |
66 'cflags': [ '-O<(dart_debug_optimization_level)' ], | 59 'cflags': [ '-O<(dart_debug_optimization_level)' ], |
67 }, | 60 }, |
68 | 61 |
69 'Dart_Release': { | 62 'Dart_Release': { |
70 'cflags': [ '-O3', ], | 63 'cflags': [ '-O3', ], |
71 }, | 64 }, |
72 }, | 65 }, |
73 }, | 66 }, |
74 } | 67 } |
OLD | NEW |