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. | 7 # files that are used by the Dart project. |
8 | 8 |
9 # READ BEFORE EDITING: | 9 # READ BEFORE EDITING: |
10 # Do not add Dart VM specific configuration to this file. Instead, | 10 # Do not add Dart VM specific configuration to this file. Instead, |
11 # modify runtime/tools/gyp/runtime-configurations.gypi. | 11 # modify runtime/tools/gyp/runtime-configurations.gypi. |
12 | 12 |
13 { | 13 { |
14 'variables': { | 14 'variables': { |
15 'xcode_gcc_version%': '<!(python <(DEPTH)/tools/gyp/find_mac_gcc_version.py)
', | 15 'xcode_gcc_version%': '<!(python <(DEPTH)/tools/gyp/find_mac_gcc_version.py)
', |
16 }, | 16 }, |
17 'target_defaults': { | 17 'target_defaults': { |
18 'configurations': { | 18 'configurations': { |
19 'Dart_Base': { | 19 'Dart_Macos_Base': { |
20 'abstract': 1, | 20 'abstract': 1, |
21 'xcode_settings': { | 21 'xcode_settings': { |
22 'GCC_VERSION': '<(xcode_gcc_version)', | 22 'GCC_VERSION': '<(xcode_gcc_version)', |
23 'GCC_C_LANGUAGE_STANDARD': 'ansi', | 23 'GCC_C_LANGUAGE_STANDARD': 'ansi', |
24 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 24 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
25 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 25 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
26 'GCC_DEBUGGING_SYMBOLS': 'default', # -g | 26 'GCC_DEBUGGING_SYMBOLS': 'default', # -g |
27 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols | 27 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols |
28 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 28 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
29 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden | 29 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden |
(...skipping 16 matching lines...) Expand all Loading... |
46 'ALWAYS_SEARCH_USER_PATHS': 'NO', | 46 'ALWAYS_SEARCH_USER_PATHS': 'NO', |
47 | 47 |
48 # Attempt to remove compiler options that Xcode adds by default. | 48 # Attempt to remove compiler options that Xcode adds by default. |
49 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. | 49 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. |
50 | 50 |
51 'GCC_ENABLE_PASCAL_STRINGS': 'NO', | 51 'GCC_ENABLE_PASCAL_STRINGS': 'NO', |
52 'GCC_ENABLE_TRIGRAPHS': 'NO', | 52 'GCC_ENABLE_TRIGRAPHS': 'NO', |
53 'COMBINE_HIDPI_IMAGES': 'YES', | 53 'COMBINE_HIDPI_IMAGES': 'YES', |
54 }, | 54 }, |
55 }, | 55 }, |
| 56 'Dart_Macos_ia32_Base': { |
| 57 'abstract': 1, |
| 58 }, |
| 59 'Dart_Macos_x64_Base': { |
| 60 'abstract': 1, |
| 61 }, |
| 62 'Dart_Macos_simarm_Base': { |
| 63 'abstract': 1, |
| 64 }, |
| 65 'Dart_Macos_simmips_Base': { |
| 66 'abstract': 1, |
| 67 }, |
| 68 'Dart_Macos_Debug': { |
| 69 'abstract': 1, |
| 70 }, |
| 71 'Dart_Macos_Release': { |
| 72 'abstract': 1, |
| 73 }, |
56 }, | 74 }, |
57 }, | 75 }, |
58 } | 76 } |
OLD | NEW |