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

Unified Diff: tools/gyp/configurations_make.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 | « no previous file | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_make.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
index 9076ef7b4fd3036cb5679b674b47db21a058ccae..8636fb3e7962bd8c1eaa31531229401bbd53beaf 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -5,6 +5,7 @@
{
'variables': {
'arm_cross_libc%': '/opt/codesourcery/arm-2009q1/arm-none-linux-gnueabi/libc',
+ 'dart_debug_optimization_level%': '2',
},
'target_defaults': {
'configurations': {
@@ -60,7 +61,7 @@
},
'Dart_Debug': {
- 'cflags': [ '-O2' ],
+ 'cflags': [ '-O<(dart_debug_optimization_level)' ],
},
'Dart_Release': {
« no previous file with comments | « no previous file | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698