| 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_Macos_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 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | |
| 24 'GCC_C_LANGUAGE_STANDARD': 'ansi', | 23 'GCC_C_LANGUAGE_STANDARD': 'ansi', |
| 25 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 24 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 26 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 25 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 27 'GCC_DEBUGGING_SYMBOLS': 'default', # -g | 26 'GCC_DEBUGGING_SYMBOLS': 'default', # -g |
| 28 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols | 27 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols |
| 29 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 28 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 30 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden | 29 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden |
| 31 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor | 30 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor |
| 32 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | 31 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 33 'WARNING_CFLAGS': [ | 32 'WARNING_CFLAGS': [ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 }, | 85 }, |
| 87 'Dart_Macos_Debug': { | 86 'Dart_Macos_Debug': { |
| 88 'abstract': 1, | 87 'abstract': 1, |
| 89 }, | 88 }, |
| 90 'Dart_Macos_Release': { | 89 'Dart_Macos_Release': { |
| 91 'abstract': 1, | 90 'abstract': 1, |
| 92 }, | 91 }, |
| 93 }, | 92 }, |
| 94 }, | 93 }, |
| 95 } | 94 } |
| OLD | NEW |