From 55bfd45d9a1a8266c7ed0f9eeedffe714123718e Mon Sep 17 00:00:00 2001 From: "bungeman@google.com" Date: Fri, 3 Jun 2011 15:48:17 +0000 Subject: [PATCH] Turn off optimization on VC debug builds. http://codereview.appspot.com/4568052/ git-svn-id: http://skia.googlecode.com/svn/trunk@1488 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gyp/target_defaults.gypi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gyp/target_defaults.gypi b/gyp/target_defaults.gypi index 5c512fb342..cb5436723f 100644 --- a/gyp/target_defaults.gypi +++ b/gyp/target_defaults.gypi @@ -9,7 +9,14 @@ 'msvs_settings': { 'VCLinkerTool': { 'GenerateDebugInformation': 'true', - }, + }, + 'VCCLCompilerTool': { + #0 Disabled (/Od) + #1 Minimize Size (/O1) + #2 Maximize Speed (/O2) + #3 Full Optimization (/Ox) + 'Optimization': '0', + }, }, }, 'Release': {