mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 03:51:33 +00:00
9fb0984c9d
Review URL: https://codereview.chromium.org//12223115 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18493 260f80e4-7a28-3924-810f-c04153c831b5
82 lines
1.9 KiB
Python
82 lines
1.9 KiB
Python
# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
{
|
|
'variables': {
|
|
'arm_cross_libc%': '/opt/codesourcery/arm-2009q1/arm-none-linux-gnueabi/libc',
|
|
'dart_debug_optimization_level%': '2',
|
|
},
|
|
'target_defaults': {
|
|
'configurations': {
|
|
'Dart_Base': {
|
|
'abstract': 1,
|
|
'cflags': [
|
|
'-Werror',
|
|
'<@(common_gcc_warning_flags)',
|
|
'-Wnon-virtual-dtor',
|
|
'-Wvla',
|
|
'-Wno-conversion-null',
|
|
# TODO(v8-team): Fix V8 build.
|
|
#'-Woverloaded-virtual',
|
|
'-g3',
|
|
'-ggdb3',
|
|
# TODO(iposva): Figure out if we need to pass anything else.
|
|
#'-ansi',
|
|
'-fno-rtti',
|
|
'-fno-exceptions',
|
|
'-fPIC',
|
|
'-fvisibility=hidden',
|
|
'-fvisibility-inlines-hidden',
|
|
'-fno-omit-frame-pointer',
|
|
],
|
|
},
|
|
|
|
'Dart_ia32_Base': {
|
|
'cflags': [ '-m32', '-msse2' ],
|
|
'ldflags': [ '-m32', ],
|
|
},
|
|
|
|
'Dart_x64_Base': {
|
|
'cflags': [ '-m64', '-msse2' ],
|
|
'ldflags': [ '-m64', ],
|
|
},
|
|
|
|
'Dart_simarm_Base': {
|
|
'cflags': [ '-O3', '-m32', '-msse2' ],
|
|
'ldflags': [ '-m32', ],
|
|
},
|
|
|
|
'Dart_arm_Base': {
|
|
'cflags': [
|
|
'-march=armv7-a',
|
|
'-mfpu=vfp',
|
|
'-mfloat-abi=softfp',
|
|
'-fno-strict-overflow',
|
|
],
|
|
},
|
|
|
|
'Dart_simmips_Base': {
|
|
'cflags': [ '-O3', '-m32', '-msse2' ],
|
|
'ldflags': [ '-m32', ],
|
|
},
|
|
|
|
'Dart_mips_Base': {
|
|
'cflags': [
|
|
'-march=mips32r2',
|
|
'-mhard-float',
|
|
'-fno-strict-overflow',
|
|
],
|
|
},
|
|
|
|
'Dart_Debug': {
|
|
'cflags': [ '-O<(dart_debug_optimization_level)' ],
|
|
},
|
|
|
|
'Dart_Release': {
|
|
'cflags': [ '-O3', ],
|
|
},
|
|
},
|
|
},
|
|
}
|