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

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: neither test, and reorder 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
« no previous file with comments | « pylib/gyp/msvs_emulation.py ('k') | test/win/gyptest-cl-optimizations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fd4b07005d9b05e5db15886f8ad7a5d7ea96dddd 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,11 +104,11 @@
'sources': ['hello.cc'],
},
{
- 'target_name': 'test_opt_size',
+ 'target_name': 'test_opt_neither',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
- 'FavorSizeOrSpeed': '1'
+ 'FavorSizeOrSpeed': '0'
}
},
'sources': ['hello.cc'],
@@ -98,6 +118,16 @@
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
+ 'FavorSizeOrSpeed': '1'
+ }
+ },
+ 'sources': ['hello.cc'],
+ },
+ {
+ 'target_name': 'test_opt_size',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
'FavorSizeOrSpeed': '2'
}
},
« no previous file with comments | « pylib/gyp/msvs_emulation.py ('k') | test/win/gyptest-cl-optimizations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698