| 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 'cflags': [ | 13 'cflags': [ |
| 14 '-Werror', | 14 '-Werror', |
| 15 '<@(common_gcc_warning_flags)', | 15 '<@(common_gcc_warning_flags)', |
| 16 '-Wnon-virtual-dtor', | 16 '-Wnon-virtual-dtor', |
| 17 '-Wvla', | 17 '-Wvla', |
| 18 '-Wno-conversion-null', | 18 '-Wno-conversion-null', |
| 19 # TODO(v8-team): Fix V8 build. | 19 # TODO(v8-team): Fix V8 build. |
| 20 #'-Woverloaded-virtual', | 20 #'-Woverloaded-virtual', |
| 21 '-g3', | 21 '-g3', |
| 22 '-ggdb3', | 22 '-ggdb3', |
| 23 '-ansi', | 23 # TODO(iposva): Figure out if we need to pass anything else. |
| 24 #'-ansi', |
| 24 '-fno-rtti', | 25 '-fno-rtti', |
| 25 '-fno-exceptions', | 26 '-fno-exceptions', |
| 26 '-fPIC', | 27 '-fPIC', |
| 27 '-fvisibility=hidden', | 28 '-fvisibility=hidden', |
| 28 '-fvisibility-inlines-hidden', | 29 '-fvisibility-inlines-hidden', |
| 29 ], | 30 ], |
| 30 'ldflags': [ | 31 'ldflags': [ |
| 31 '-rdynamic', | 32 '-rdynamic', |
| 32 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', | 33 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', |
| 33 ], | 34 ], |
| (...skipping 29 matching lines...) Expand all Loading... |
| 63 'Dart_Debug': { | 64 'Dart_Debug': { |
| 64 'cflags': [ '-O<(dart_debug_optimization_level)' ], | 65 'cflags': [ '-O<(dart_debug_optimization_level)' ], |
| 65 }, | 66 }, |
| 66 | 67 |
| 67 'Dart_Release': { | 68 'Dart_Release': { |
| 68 'cflags': [ '-O3', ], | 69 'cflags': [ '-O3', ], |
| 69 }, | 70 }, |
| 70 }, | 71 }, |
| 71 }, | 72 }, |
| 72 } | 73 } |
| OLD | NEW |