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