Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: tools/gyp/configurations_xcode.gypi

Issue 12494015: Automatically determine the gcc compiler to use based on XCode version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/gyp/find_mac_gcc_version.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | tools/gyp/find_mac_gcc_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698