| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 # The purpose of this file and others in this directory is to simulate | 5 # The purpose of this file and others in this directory is to simulate |
| 6 # the Chromium build enviroment. This file is included in all GYP | 6 # the Chromium build enviroment. This file is included in all GYP |
| 7 # files that are used by the Dart project. This includes V8's GYP | 7 # files that are used by the Dart project. This includes V8's GYP |
| 8 # files. | 8 # files. |
| 9 | 9 |
| 10 # READ BEFORE EDITING: | 10 # READ BEFORE EDITING: |
| 11 # Do not add Dart VM specific configuration to this file. Instead, | 11 # Do not add Dart VM specific configuration to this file. Instead, |
| 12 # modify runtime/tools/gyp/runtime-configurations.gypi. | 12 # modify runtime/tools/gyp/runtime-configurations.gypi. |
| 13 | 13 |
| 14 { | 14 { |
| 15 'variables': { | 15 'variables': { |
| 16 # To switch to the LLVM based backend create a ~/.gyp/include.gypi | 16 'xcode_gcc_version%': '<!(python <(DEPTH)/tools/gyp/find_mac_gcc_version.py)
', |
| 17 # including: | |
| 18 # | |
| 19 # { | |
| 20 # 'variables': { | |
| 21 # 'xcode_gcc_version': 'com.apple.compilers.llvmgcc42', | |
| 22 # } | |
| 23 # } | |
| 24 'xcode_gcc_version%': '4.2', | |
| 25 }, | 17 }, |
| 26 'target_defaults': { | 18 'target_defaults': { |
| 27 'configurations': { | 19 'configurations': { |
| 28 'Dart_Base': { | 20 'Dart_Base': { |
| 29 'abstract': 1, | 21 'abstract': 1, |
| 30 'xcode_settings': { | 22 'xcode_settings': { |
| 31 'GCC_VERSION': '<(xcode_gcc_version)', | 23 'GCC_VERSION': '<(xcode_gcc_version)', |
| 32 'GCC_C_LANGUAGE_STANDARD': 'ansi', | 24 'GCC_C_LANGUAGE_STANDARD': 'ansi', |
| 33 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 25 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 34 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 26 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| (...skipping 23 matching lines...) Expand all Loading... |
| 58 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. | 50 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. |
| 59 | 51 |
| 60 'GCC_ENABLE_PASCAL_STRINGS': 'NO', | 52 'GCC_ENABLE_PASCAL_STRINGS': 'NO', |
| 61 'GCC_ENABLE_TRIGRAPHS': 'NO', | 53 'GCC_ENABLE_TRIGRAPHS': 'NO', |
| 62 'PREBINDING': 'NO', | 54 'PREBINDING': 'NO', |
| 63 }, | 55 }, |
| 64 }, | 56 }, |
| 65 }, | 57 }, |
| 66 }, | 58 }, |
| 67 } | 59 } |
| OLD | NEW |