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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gyp/configurations_msvs.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_xcode.gypi
diff --git a/tools/gyp/configurations_xcode.gypi b/tools/gyp/configurations_xcode.gypi
index 1bb9d6e6807c7c51fa598c7bbdb678a7cdfe3cb5..1549da945c6509e2b7df4d3d5e961ae1f6228737 100644
--- a/tools/gyp/configurations_xcode.gypi
+++ b/tools/gyp/configurations_xcode.gypi
@@ -3,6 +3,9 @@
# BSD-style license that can be found in the LICENSE file.
{
+ 'variables': {
+ 'dart_debug_optimization_level%': '2',
+ },
'target_defaults': {
'configurations': {
'Dart_Base': {
@@ -67,7 +70,7 @@
'Dart_Debug': {
'xcode_settings': {
- 'GCC_OPTIMIZATION_LEVEL': '2',
+ 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
},
},
« 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