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

Unified Diff: test/win/compiler-flags/optimizations.gyp

Issue 10381032: ninja windows: fix mapping of optimization flags (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: fix Os/Ot map Created 8 years, 7 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
Index: test/win/compiler-flags/optimizations.gyp
diff --git a/test/win/compiler-flags/optimizations.gyp b/test/win/compiler-flags/optimizations.gyp
index 6c0e9a5a3114bb51a9502f143438441769f028af..664fbd24029b65ab48a0e0cd934718150814fb14 100644
--- a/test/win/compiler-flags/optimizations.gyp
+++ b/test/win/compiler-flags/optimizations.gyp
@@ -15,7 +15,17 @@
'sources': ['hello.cc'],
},
{
- 'target_name': 'test_opt_level_s',
+ 'target_name': 'test_opt_lev_size',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'Optimization': '1'
+ }
+ },
+ 'sources': ['hello.cc'],
+ },
+ {
+ 'target_name': 'test_opt_lev_speed',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
@@ -25,6 +35,16 @@
'sources': ['hello.cc'],
},
{
+ 'target_name': 'test_opt_lev_max',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'Optimization': '3'
+ }
+ },
+ 'sources': ['hello.cc'],
+ },
+ {
'target_name': 'test_opt_unset',
'type': 'executable',
'msvs_settings': {
@@ -84,7 +104,7 @@
'sources': ['hello.cc'],
},
{
- 'target_name': 'test_opt_size',
+ 'target_name': 'test_opt_speed',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
@@ -94,7 +114,7 @@
'sources': ['hello.cc'],
},
{
- 'target_name': 'test_opt_speed',
+ 'target_name': 'test_opt_size',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {

Powered by Google App Engine
This is Rietveld 408576698