| 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': { |
| 7 'dart_debug_optimization_level%': '2', |
| 8 }, |
| 6 'target_defaults': { | 9 'target_defaults': { |
| 7 'configurations': { | 10 'configurations': { |
| 8 'Dart_Base': { | 11 'Dart_Base': { |
| 9 'xcode_settings': { | 12 'xcode_settings': { |
| 10 # To switch to the LLVM based backend change the two lines below. | 13 # To switch to the LLVM based backend change the two lines below. |
| 11 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42', | 14 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42', |
| 12 'GCC_VERSION': '4.2', | 15 'GCC_VERSION': '4.2', |
| 13 'GCC_C_LANGUAGE_STANDARD': 'ansi', | 16 'GCC_C_LANGUAGE_STANDARD': 'ansi', |
| 14 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 17 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 15 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 18 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 63 |
| 61 'Dart_simarm_Base': { | 64 'Dart_simarm_Base': { |
| 62 'xcode_settings': { | 65 'xcode_settings': { |
| 63 'ARCHS': [ 'i386' ], | 66 'ARCHS': [ 'i386' ], |
| 64 'GCC_OPTIMIZATION_LEVEL': '3', | 67 'GCC_OPTIMIZATION_LEVEL': '3', |
| 65 }, | 68 }, |
| 66 }, | 69 }, |
| 67 | 70 |
| 68 'Dart_Debug': { | 71 'Dart_Debug': { |
| 69 'xcode_settings': { | 72 'xcode_settings': { |
| 70 'GCC_OPTIMIZATION_LEVEL': '2', | 73 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)', |
| 71 }, | 74 }, |
| 72 }, | 75 }, |
| 73 | 76 |
| 74 'Dart_Release': { | 77 'Dart_Release': { |
| 75 'xcode_settings': { | 78 'xcode_settings': { |
| 76 'GCC_OPTIMIZATION_LEVEL': '3', | 79 'GCC_OPTIMIZATION_LEVEL': '3', |
| 77 }, | 80 }, |
| 78 }, | 81 }, |
| 79 }, | 82 }, |
| 80 }, | 83 }, |
| 81 } | 84 } |
| OLD | NEW |