| 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 '-Woverloaded-virtual', | 20 '-Woverloaded-virtual', |
| 21 '-g3', | 21 '-g3', |
| 22 '-ggdb3', | 22 '-ggdb3', |
| 23 '-rdynamic', |
| 23 # TODO(iposva): Figure out if we need to pass anything else. | 24 # TODO(iposva): Figure out if we need to pass anything else. |
| 24 #'-ansi', | 25 #'-ansi', |
| 25 '-fno-rtti', | 26 '-fno-rtti', |
| 26 '-fno-exceptions', | 27 '-fno-exceptions', |
| 27 '-fvisibility=hidden', | 28 # '-fvisibility=hidden', |
| 28 '-fvisibility-inlines-hidden', | 29 # '-fvisibility-inlines-hidden', |
| 29 ], | 30 ], |
| 30 }, | 31 }, |
| 31 | 32 |
| 32 'Dart_ia32_Base': { | 33 'Dart_ia32_Base': { |
| 33 'cflags': [ '-m32', '-msse2' ], | 34 'cflags': [ '-m32', '-msse2' ], |
| 34 'ldflags': [ '-m32', ], | 35 'ldflags': [ '-m32', ], |
| 35 }, | 36 }, |
| 36 | 37 |
| 37 'Dart_x64_Base': { | 38 'Dart_x64_Base': { |
| 38 'cflags': [ '-m64', '-msse2' ], | 39 'cflags': [ '-m64', '-msse2' ], |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 '-fno-omit-frame-pointer', | 88 '-fno-omit-frame-pointer', |
| 88 ], | 89 ], |
| 89 }, | 90 }, |
| 90 | 91 |
| 91 'Dart_Release': { | 92 'Dart_Release': { |
| 92 'cflags': [ '-O3', ], | 93 'cflags': [ '-O3', ], |
| 93 }, | 94 }, |
| 94 }, | 95 }, |
| 95 }, | 96 }, |
| 96 } | 97 } |
| OLD | NEW |