| 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 26 matching lines...) Expand all Loading... |
| 37 'Dart_Linux_x64_Base': { | 37 'Dart_Linux_x64_Base': { |
| 38 'abstract': 1, | 38 'abstract': 1, |
| 39 'cflags': [ '-m64', '-msse2' ], | 39 'cflags': [ '-m64', '-msse2' ], |
| 40 'ldflags': [ '-m64', ], | 40 'ldflags': [ '-m64', ], |
| 41 }, | 41 }, |
| 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': [ | |
| 48 'ARM_FLOAT_ABI_HARD', | |
| 49 ], | |
| 50 }, | 47 }, |
| 51 | 48 |
| 52 'Dart_Linux_simarm64_Base': { | 49 'Dart_Linux_simarm64_Base': { |
| 53 'abstract': 1, | 50 'abstract': 1, |
| 54 'cflags': [ '-O3', '-m64', '-msse2' ], | 51 'cflags': [ '-O3', '-m64', '-msse2' ], |
| 55 'ldflags': [ '-m64', ], | 52 'ldflags': [ '-m64', ], |
| 56 'defines': [ | |
| 57 'ARM64_FLOAT_ABI_HARD', | |
| 58 ], | |
| 59 }, | 53 }, |
| 60 | 54 |
| 61 # ARM cross-build | 55 # ARM cross-build |
| 62 'Dart_Linux_xarm_Base': { | 56 'Dart_Linux_xarm_Base': { |
| 63 'abstract': 1, | 57 'abstract': 1, |
| 64 'target_conditions': [ | 58 'target_conditions': [ |
| 65 ['_toolset=="target"', { | 59 ['_toolset=="target"', { |
| 66 'cflags': [ | 60 'cflags': [ |
| 67 '-marm', | 61 '-marm', |
| 68 '-mfpu=vfp', | 62 '-mfpu=vfp', |
| 69 '-Wno-psabi', # suppresses va_list warning | 63 '-Wno-psabi', # suppresses va_list warning |
| 70 '-fno-strict-overflow', | 64 '-fno-strict-overflow', |
| 71 ], | 65 ], |
| 72 'defines': [ | |
| 73 # In build.py, we specify the hf compiler. | |
| 74 'ARM_FLOAT_ABI_HARD', | |
| 75 ], | |
| 76 }], | 66 }], |
| 77 ['_toolset=="host"', { | 67 ['_toolset=="host"', { |
| 78 'cflags': ['-m32', '-msse2'], | 68 'cflags': ['-m32', '-msse2'], |
| 79 'ldflags': ['-m32'], | 69 'ldflags': ['-m32'], |
| 80 }]] | 70 }]] |
| 81 }, | 71 }, |
| 82 | 72 |
| 83 # ARM native build | 73 # ARM native build |
| 84 'Dart_Linux_arm_Base': { | 74 'Dart_Linux_arm_Base': { |
| 85 'abstract': 1, | 75 'abstract': 1, |
| 86 'cflags': [ | 76 'cflags': [ |
| 87 '-marm', | 77 '-marm', |
| 88 '-mfpu=vfp', | 78 '-mfpu=vfp', |
| 89 '-Wno-psabi', # suppresses va_list warning | 79 '-Wno-psabi', # suppresses va_list warning |
| 90 '-fno-strict-overflow', | 80 '-fno-strict-overflow', |
| 91 ], | 81 ], |
| 92 'defines': [ | |
| 93 # In build.py, we specify the hf compiler. | |
| 94 'ARM_FLOAT_ABI_HARD', | |
| 95 ], | |
| 96 }, | 82 }, |
| 97 | 83 |
| 98 'Dart_Linux_simmips_Base': { | 84 'Dart_Linux_simmips_Base': { |
| 99 'abstract': 1, | 85 'abstract': 1, |
| 100 'cflags': [ '-O3', '-m32', '-msse2' ], | 86 'cflags': [ '-O3', '-m32', '-msse2' ], |
| 101 'ldflags': [ '-m32', ], | 87 'ldflags': [ '-m32', ], |
| 102 }, | 88 }, |
| 103 | 89 |
| 104 # MIPS cross-build | 90 # MIPS cross-build |
| 105 'Dart_Linux_xmips_Base': { | 91 'Dart_Linux_xmips_Base': { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 # The sampling profiler uses the frame pointer to walk the stack. | 133 # The sampling profiler uses the frame pointer to walk the stack. |
| 148 '-fno-omit-frame-pointer', | 134 '-fno-omit-frame-pointer', |
| 149 # Clang on Linux will still omit frame pointers from leaf functions | 135 # Clang on Linux will still omit frame pointers from leaf functions |
| 150 # unless told otherwise: | 136 # unless told otherwise: |
| 151 # '-mno-omit-leaf-frame-pointer', | 137 # '-mno-omit-leaf-frame-pointer', |
| 152 ], | 138 ], |
| 153 }, | 139 }, |
| 154 }, | 140 }, |
| 155 }, | 141 }, |
| 156 } | 142 } |
| OLD | NEW |