| 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 }, | 9 }, |
| 9 'target_defaults': { | 10 'target_defaults': { |
| 10 'configurations': { | 11 'configurations': { |
| 11 'Dart_Base': { | 12 'Dart_Base': { |
| 12 'cflags': [ | 13 'cflags': [ |
| 13 '-Werror', | 14 '-Werror', |
| 14 '<@(common_gcc_warning_flags)', | 15 '<@(common_gcc_warning_flags)', |
| 15 '-Wnon-virtual-dtor', | 16 '-Wnon-virtual-dtor', |
| 16 '-Wvla', | 17 '-Wvla', |
| 17 '-Wno-conversion-null', | 18 '-Wno-conversion-null', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 '-mfpu=vfp', | 54 '-mfpu=vfp', |
| 54 '-mfloat-abi=softfp', | 55 '-mfloat-abi=softfp', |
| 55 '-fno-strict-overflow', | 56 '-fno-strict-overflow', |
| 56 ], | 57 ], |
| 57 'ldflags': [ | 58 'ldflags': [ |
| 58 '-Wl,-rpath=<(arm_cross_libc)/usr/lib', | 59 '-Wl,-rpath=<(arm_cross_libc)/usr/lib', |
| 59 ], | 60 ], |
| 60 }, | 61 }, |
| 61 | 62 |
| 62 'Dart_Debug': { | 63 'Dart_Debug': { |
| 63 'cflags': [ '-O2' ], | 64 'cflags': [ '-O<(dart_debug_optimization_level)' ], |
| 64 }, | 65 }, |
| 65 | 66 |
| 66 'Dart_Release': { | 67 'Dart_Release': { |
| 67 'cflags': [ '-O3', ], | 68 'cflags': [ '-O3', ], |
| 68 }, | 69 }, |
| 69 }, | 70 }, |
| 70 }, | 71 }, |
| 71 } | 72 } |
| OLD | NEW |