| 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': { |
| 11 'configurations': { | 11 'configurations': { |
| 12 'Dart_Base': { | 12 'Dart_Base': { |
| 13 'abstract': 1, | 13 'abstract': 1, |
| 14 'cflags': [ | 14 'cflags': [ |
| 15 '-Werror', | 15 '-Werror', |
| 16 '<@(common_gcc_warning_flags)', | 16 '<@(common_gcc_warning_flags)', |
| 17 '-Wnon-virtual-dtor', | 17 '-Wnon-virtual-dtor', |
| 18 '-Wvla', | 18 '-Wvla', |
| 19 '-Wno-conversion-null', | 19 '-Wno-conversion-null', |
| 20 # TODO(v8-team): Fix V8 build. | 20 # TODO(v8-team): Fix V8 build. |
| 21 #'-Woverloaded-virtual', | 21 #'-Woverloaded-virtual', |
| 22 '-g3', | 22 '-g3', |
| 23 '-ggdb3', | 23 '-ggdb3', |
| 24 # TODO(iposva): Figure out if we need to pass anything else. | 24 # TODO(iposva): Figure out if we need to pass anything else. |
| 25 #'-ansi', | 25 #'-ansi', |
| 26 '-fno-rtti', | 26 '-fno-rtti', |
| 27 '-fno-exceptions', | 27 '-fno-exceptions', |
| 28 '-fPIC', | |
| 29 '-fvisibility=hidden', | 28 '-fvisibility=hidden', |
| 30 '-fvisibility-inlines-hidden', | 29 '-fvisibility-inlines-hidden', |
| 31 '-fno-omit-frame-pointer', | |
| 32 ], | 30 ], |
| 33 }, | 31 }, |
| 34 | 32 |
| 35 'Dart_ia32_Base': { | 33 'Dart_ia32_Base': { |
| 36 'cflags': [ '-m32', '-msse2' ], | 34 'cflags': [ '-m32', '-msse2' ], |
| 37 'ldflags': [ '-m32', ], | 35 'ldflags': [ '-m32', ], |
| 38 }, | 36 }, |
| 39 | 37 |
| 40 'Dart_x64_Base': { | 38 'Dart_x64_Base': { |
| 41 'cflags': [ '-m64', '-msse2' ], | 39 'cflags': [ '-m64', '-msse2' ], |
| (...skipping 21 matching lines...) Expand all Loading... |
| 63 | 61 |
| 64 'Dart_mips_Base': { | 62 'Dart_mips_Base': { |
| 65 'cflags': [ | 63 'cflags': [ |
| 66 '-march=mips32r2', | 64 '-march=mips32r2', |
| 67 '-mhard-float', | 65 '-mhard-float', |
| 68 '-fno-strict-overflow', | 66 '-fno-strict-overflow', |
| 69 ], | 67 ], |
| 70 }, | 68 }, |
| 71 | 69 |
| 72 'Dart_Debug': { | 70 'Dart_Debug': { |
| 73 'cflags': [ '-O<(dart_debug_optimization_level)' ], | 71 'cflags': [ |
| 72 '-O<(dart_debug_optimization_level)', |
| 73 '-fno-omit-frame-pointer', |
| 74 ], |
| 74 }, | 75 }, |
| 75 | 76 |
| 76 'Dart_Release': { | 77 'Dart_Release': { |
| 77 'cflags': [ '-O3', ], | 78 'cflags': [ '-O3', ], |
| 78 }, | 79 }, |
| 79 }, | 80 }, |
| 80 }, | 81 }, |
| 81 } | 82 } |
| OLD | NEW |