Chromium Code Reviews| 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 # 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', | |
|
cshapiro
2012/11/01 20:38:31
It would be great to keep these options sorted. T
| |
| 30 ], | 31 ], |
| 31 'ldflags': [ | 32 'ldflags': [ |
| 32 '-rdynamic', | 33 '-rdynamic', |
| 33 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', | 34 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', |
| 34 ], | 35 ], |
| 35 }, | 36 }, |
| 36 | 37 |
| 37 'Dart_ia32_Base': { | 38 'Dart_ia32_Base': { |
| 38 'cflags': [ '-m32', ], | 39 'cflags': [ '-m32', ], |
| 39 'ldflags': [ '-m32', ], | 40 'ldflags': [ '-m32', ], |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 64 'Dart_Debug': { | 65 'Dart_Debug': { |
| 65 'cflags': [ '-O<(dart_debug_optimization_level)' ], | 66 'cflags': [ '-O<(dart_debug_optimization_level)' ], |
| 66 }, | 67 }, |
| 67 | 68 |
| 68 'Dart_Release': { | 69 'Dart_Release': { |
| 69 'cflags': [ '-O3', ], | 70 'cflags': [ '-O3', ], |
| 70 }, | 71 }, |
| 71 }, | 72 }, |
| 72 }, | 73 }, |
| 73 } | 74 } |
| OLD | NEW |