| 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': { |
| 16 # To switch to the LLVM based backend create a ~/.gyp/include.gypi |
| 17 # including: |
| 18 # |
| 19 # { |
| 20 # 'variables': { |
| 21 # 'xcode_gcc_version': 'com.apple.compilers.llvmgcc42', |
| 22 # } |
| 23 # } |
| 24 'xcode_gcc_version%': '4.2', |
| 25 }, |
| 15 'target_defaults': { | 26 'target_defaults': { |
| 16 'configurations': { | 27 'configurations': { |
| 17 'Dart_Base': { | 28 'Dart_Base': { |
| 18 'xcode_settings': { | 29 'xcode_settings': { |
| 19 # To switch to the LLVM based backend change the two lines below. | 30 'GCC_VERSION': '<(xcode_gcc_version)', |
| 20 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42', | |
| 21 'GCC_VERSION': '4.2', | |
| 22 'GCC_C_LANGUAGE_STANDARD': 'ansi', | 31 'GCC_C_LANGUAGE_STANDARD': 'ansi', |
| 23 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 32 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 24 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 33 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 25 'GCC_DEBUGGING_SYMBOLS': 'default', # -g | 34 'GCC_DEBUGGING_SYMBOLS': 'default', # -g |
| 26 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols | 35 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols |
| 27 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 36 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 28 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden | 37 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden |
| 29 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor | 38 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor |
| 30 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | 39 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 31 'WARNING_CFLAGS': [ | 40 'WARNING_CFLAGS': [ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 48 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. | 57 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. |
| 49 | 58 |
| 50 'GCC_ENABLE_PASCAL_STRINGS': 'NO', | 59 'GCC_ENABLE_PASCAL_STRINGS': 'NO', |
| 51 'GCC_ENABLE_TRIGRAPHS': 'NO', | 60 'GCC_ENABLE_TRIGRAPHS': 'NO', |
| 52 'PREBINDING': 'NO', | 61 'PREBINDING': 'NO', |
| 53 }, | 62 }, |
| 54 }, | 63 }, |
| 55 }, | 64 }, |
| 56 }, | 65 }, |
| 57 } | 66 } |
| OLD | NEW |