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

Unified Diff: tools/gyp/configurations_msvs.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_make.gypi ('k') | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_msvs.gypi
diff --git a/tools/gyp/configurations_msvs.gypi b/tools/gyp/configurations_msvs.gypi
index 5675b13ad6542ee87282f21c585825ec9aaa99c1..7fc8f624259717ac76c8b003c975d49e2417430c 100644
--- a/tools/gyp/configurations_msvs.gypi
+++ b/tools/gyp/configurations_msvs.gypi
@@ -3,12 +3,15 @@
# BSD-style license that can be found in the LICENSE file.
{
+ 'variables': {
+ 'dart_debug_optimization_level%': '2',
+ },
'target_defaults': {
'configurations': {
'Dart_Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
- 'Optimization': '2',
+ 'Optimization': '<(dart_debug_optimization_level)',
'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2
'DebugInformationFormat': '3',
'ExceptionHandling': '0',
« no previous file with comments | « tools/gyp/configurations_make.gypi ('k') | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698