| 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 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'configurations': { | 10 'configurations': { |
| 11 'Dart_Base': { | 11 'Dart_Base': { |
| 12 'cflags': [ | 12 'cflags': [ |
| 13 '-Werror', | 13 '-Werror', |
| 14 '<@(common_gcc_warning_flags)', | 14 '<@(common_gcc_warning_flags)', |
| 15 '-Wnon-virtual-dtor', | 15 '-Wnon-virtual-dtor', |
| 16 '-Wvla', | 16 '-Wvla', |
| 17 # TODO(v8-team): Fix V8 build. | 17 # TODO(v8-team): Fix V8 build. |
| 18 #'-Woverloaded-virtual', | 18 #'-Woverloaded-virtual', |
| 19 '-g', | 19 '-g3', |
| 20 '-ggdb3', |
| 20 '-ansi', | 21 '-ansi', |
| 21 '-fno-rtti', | 22 '-fno-rtti', |
| 22 '-fno-exceptions', | 23 '-fno-exceptions', |
| 23 '-fPIC', | 24 '-fPIC', |
| 24 '-fvisibility=hidden', | 25 '-fvisibility=hidden', |
| 25 '-fvisibility-inlines-hidden', | 26 '-fvisibility-inlines-hidden', |
| 26 ], | 27 ], |
| 27 'ldflags': [ | 28 'ldflags': [ |
| 28 '-rdynamic', | 29 '-rdynamic', |
| 29 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', | 30 '-Wl,-rpath,<(PRODUCT_DIR)/lib.target', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 51 '-mfpu=vfp', | 52 '-mfpu=vfp', |
| 52 '-mfloat-abi=softfp', | 53 '-mfloat-abi=softfp', |
| 53 '-fno-strict-overflow', | 54 '-fno-strict-overflow', |
| 54 ], | 55 ], |
| 55 'ldflags': [ | 56 'ldflags': [ |
| 56 '-Wl,-rpath=<(arm_cross_libc)/usr/lib', | 57 '-Wl,-rpath=<(arm_cross_libc)/usr/lib', |
| 57 ], | 58 ], |
| 58 }, | 59 }, |
| 59 | 60 |
| 60 'Dart_Debug': { | 61 'Dart_Debug': { |
| 61 'cflags': [ '-O0', ], | 62 'cflags': [ '-O2' ], |
| 62 }, | 63 }, |
| 63 | 64 |
| 64 'Dart_Release': { | 65 'Dart_Release': { |
| 65 'cflags': [ '-O3', ], | 66 'cflags': [ '-O3', ], |
| 66 }, | 67 }, |
| 67 }, | 68 }, |
| 68 }, | 69 }, |
| 69 } | 70 } |
| OLD | NEW |