| 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 'dart_debug_optimization_level%': '2', | 7 'dart_debug_optimization_level%': '2', |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'configurations': { | 10 'configurations': { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 'Dart_Linux_simarm_Base': { | 43 'Dart_Linux_simarm_Base': { |
| 44 'abstract': 1, | 44 'abstract': 1, |
| 45 'cflags': [ '-O3', '-m32', '-msse2' ], | 45 'cflags': [ '-O3', '-m32', '-msse2' ], |
| 46 'ldflags': [ '-m32', ], | 46 'ldflags': [ '-m32', ], |
| 47 'defines': [ | 47 'defines': [ |
| 48 'ARM_FLOAT_ABI_HARD', | 48 'ARM_FLOAT_ABI_HARD', |
| 49 ], | 49 ], |
| 50 }, | 50 }, |
| 51 | 51 |
| 52 'Dart_Linux_arm_Base': { | 52 # ARM cross-build |
| 53 'Dart_Linux_xarm_Base': { |
| 53 'abstract': 1, | 54 'abstract': 1, |
| 54 'target_conditions': [ | 55 'target_conditions': [ |
| 55 ['_toolset=="target"', { | 56 ['_toolset=="target"', { |
| 56 'cflags': [ | 57 'cflags': [ |
| 57 '-marm', | 58 '-marm', |
| 58 '-mfpu=vfp', | 59 '-mfpu=vfp', |
| 59 '-Wno-psabi', # suppresses va_list warning | 60 '-Wno-psabi', # suppresses va_list warning |
| 60 '-fno-strict-overflow', | 61 '-fno-strict-overflow', |
| 61 ], | 62 ], |
| 62 'defines': [ | 63 'defines': [ |
| 63 # In build.py, we specify the hf compiler. | 64 # In build.py, we specify the hf compiler. |
| 64 'ARM_FLOAT_ABI_HARD', | 65 'ARM_FLOAT_ABI_HARD', |
| 65 ], | 66 ], |
| 66 }], | 67 }], |
| 67 ['_toolset=="host"', { | 68 ['_toolset=="host"', { |
| 68 'cflags': ['-m32', '-msse2'], | 69 'cflags': ['-m32', '-msse2'], |
| 69 'ldflags': ['-m32'], | 70 'ldflags': ['-m32'], |
| 70 }]] | 71 }]] |
| 71 }, | 72 }, |
| 72 | 73 |
| 74 # ARM native build |
| 75 'Dart_Linux_arm_Base': { |
| 76 'abstract': 1, |
| 77 'cflags': [ |
| 78 '-marm', |
| 79 '-mfpu=vfp', |
| 80 '-Wno-psabi', # suppresses va_list warning |
| 81 '-fno-strict-overflow', |
| 82 ], |
| 83 'defines': [ |
| 84 # In build.py, we specify the hf compiler. |
| 85 'ARM_FLOAT_ABI_HARD', |
| 86 ], |
| 87 }, |
| 88 |
| 73 'Dart_Linux_simmips_Base': { | 89 'Dart_Linux_simmips_Base': { |
| 74 'abstract': 1, | 90 'abstract': 1, |
| 75 'cflags': [ '-O3', '-m32', '-msse2' ], | 91 'cflags': [ '-O3', '-m32', '-msse2' ], |
| 76 'ldflags': [ '-m32', ], | 92 'ldflags': [ '-m32', ], |
| 77 }, | 93 }, |
| 78 | 94 |
| 79 # MIPS cross-build | 95 # MIPS cross-build |
| 80 'Dart_Linux_xmips_Base': { | 96 'Dart_Linux_xmips_Base': { |
| 81 'abstract': 1, | 97 'abstract': 1, |
| 82 'target_conditions': [ | 98 'target_conditions': [ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 # The sampling profiler uses the frame pointer to walk the stack. | 138 # The sampling profiler uses the frame pointer to walk the stack. |
| 123 '-fno-omit-frame-pointer', | 139 '-fno-omit-frame-pointer', |
| 124 # Clang on Linux will still omit frame pointers from leaf functions | 140 # Clang on Linux will still omit frame pointers from leaf functions |
| 125 # unless told otherwise: | 141 # unless told otherwise: |
| 126 # '-mno-omit-leaf-frame-pointer', | 142 # '-mno-omit-leaf-frame-pointer', |
| 127 ], | 143 ], |
| 128 }, | 144 }, |
| 129 }, | 145 }, |
| 130 }, | 146 }, |
| 131 } | 147 } |
| OLD | NEW |