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

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

Issue 10832125: Make the debug optimization level configurable through a variable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « tools/gyp/configurations_msvs.gypi ('k') | no next file » | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, 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 { 5 {
6 'variables': {
7 'dart_debug_optimization_level%': '2',
8 },
6 'target_defaults': { 9 'target_defaults': {
7 'configurations': { 10 'configurations': {
8 'Dart_Base': { 11 'Dart_Base': {
9 'xcode_settings': { 12 'xcode_settings': {
10 # To switch to the LLVM based backend change the two lines below. 13 # To switch to the LLVM based backend change the two lines below.
11 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42', 14 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42',
12 'GCC_VERSION': '4.2', 15 'GCC_VERSION': '4.2',
13 'GCC_C_LANGUAGE_STANDARD': 'ansi', 16 'GCC_C_LANGUAGE_STANDARD': 'ansi',
14 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions 17 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
15 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti 18 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 63
61 'Dart_simarm_Base': { 64 'Dart_simarm_Base': {
62 'xcode_settings': { 65 'xcode_settings': {
63 'ARCHS': [ 'i386' ], 66 'ARCHS': [ 'i386' ],
64 'GCC_OPTIMIZATION_LEVEL': '3', 67 'GCC_OPTIMIZATION_LEVEL': '3',
65 }, 68 },
66 }, 69 },
67 70
68 'Dart_Debug': { 71 'Dart_Debug': {
69 'xcode_settings': { 72 'xcode_settings': {
70 'GCC_OPTIMIZATION_LEVEL': '2', 73 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
71 }, 74 },
72 }, 75 },
73 76
74 'Dart_Release': { 77 'Dart_Release': {
75 'xcode_settings': { 78 'xcode_settings': {
76 'GCC_OPTIMIZATION_LEVEL': '3', 79 'GCC_OPTIMIZATION_LEVEL': '3',
77 }, 80 },
78 }, 81 },
79 }, 82 },
80 }, 83 },
81 } 84 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations_msvs.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698