Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'test_opt_off', | 8 'target_name': 'test_opt_off', |
| 9 'type': 'executable', | 9 'type': 'executable', |
| 10 'msvs_settings': { | 10 'msvs_settings': { |
| 11 'VCCLCompilerTool': { | 11 'VCCLCompilerTool': { |
| 12 'Optimization': '0' | 12 'Optimization': '0' |
| 13 } | 13 } |
| 14 }, | 14 }, |
| 15 'sources': ['hello.cc'], | 15 'sources': ['hello.cc'], |
| 16 }, | 16 }, |
| 17 { | 17 { |
| 18 'target_name': 'test_opt_level_s', | 18 'target_name': 'test_opt_lev_size', |
| 19 'type': 'executable', | 19 'type': 'executable', |
| 20 'msvs_settings': { | 20 'msvs_settings': { |
| 21 'VCCLCompilerTool': { | 21 'VCCLCompilerTool': { |
| 22 'Optimization': '1' | |
| 23 } | |
| 24 }, | |
| 25 'sources': ['hello.cc'], | |
| 26 }, | |
| 27 { | |
| 28 'target_name': 'test_opt_lev_speed', | |
| 29 'type': 'executable', | |
| 30 'msvs_settings': { | |
| 31 'VCCLCompilerTool': { | |
| 22 'Optimization': '2' | 32 'Optimization': '2' |
| 23 } | 33 } |
| 24 }, | 34 }, |
| 25 'sources': ['hello.cc'], | 35 'sources': ['hello.cc'], |
| 26 }, | 36 }, |
| 27 { | 37 { |
| 38 'target_name': 'test_opt_lev_max', | |
| 39 'type': 'executable', | |
| 40 'msvs_settings': { | |
| 41 'VCCLCompilerTool': { | |
| 42 'Optimization': '3' | |
| 43 } | |
| 44 }, | |
| 45 'sources': ['hello.cc'], | |
| 46 }, | |
| 47 { | |
| 28 'target_name': 'test_opt_unset', | 48 'target_name': 'test_opt_unset', |
| 29 'type': 'executable', | 49 'type': 'executable', |
| 30 'msvs_settings': { | 50 'msvs_settings': { |
| 31 'VCCLCompilerTool': { | 51 'VCCLCompilerTool': { |
| 32 } | 52 } |
| 33 }, | 53 }, |
| 34 'sources': ['hello.cc'], | 54 'sources': ['hello.cc'], |
| 35 }, | 55 }, |
| 36 { | 56 { |
| 37 'target_name': 'test_opt_fpo', | 57 'target_name': 'test_opt_fpo', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 77 'target_name': 'test_opt_inline_auto', | 97 'target_name': 'test_opt_inline_auto', |
| 78 'type': 'executable', | 98 'type': 'executable', |
| 79 'msvs_settings': { | 99 'msvs_settings': { |
| 80 'VCCLCompilerTool': { | 100 'VCCLCompilerTool': { |
| 81 'InlineFunctionExpansion': '2' | 101 'InlineFunctionExpansion': '2' |
| 82 } | 102 } |
| 83 }, | 103 }, |
| 84 'sources': ['hello.cc'], | 104 'sources': ['hello.cc'], |
| 85 }, | 105 }, |
| 86 { | 106 { |
| 87 'target_name': 'test_opt_size', | 107 'target_name': 'test_opt_speed', |
| 88 'type': 'executable', | 108 'type': 'executable', |
| 89 'msvs_settings': { | 109 'msvs_settings': { |
| 90 'VCCLCompilerTool': { | 110 'VCCLCompilerTool': { |
| 91 'FavorSizeOrSpeed': '1' | 111 'FavorSizeOrSpeed': '1' |
| 92 } | 112 } |
| 93 }, | 113 }, |
| 94 'sources': ['hello.cc'], | 114 'sources': ['hello.cc'], |
| 95 }, | 115 }, |
| 96 { | 116 { |
| 97 'target_name': 'test_opt_speed', | 117 'target_name': 'test_opt_size', |
| 98 'type': 'executable', | 118 'type': 'executable', |
| 99 'msvs_settings': { | 119 'msvs_settings': { |
| 100 'VCCLCompilerTool': { | 120 'VCCLCompilerTool': { |
| 101 'FavorSizeOrSpeed': '2' | 121 'FavorSizeOrSpeed': '2' |
| 102 } | 122 } |
| 103 }, | 123 }, |
| 104 'sources': ['hello.cc'], | 124 'sources': ['hello.cc'], |
| 105 }, | 125 }, |
|
Nico
2012/05/06 20:16:47
nit: I read http://msdn.microsoft.com/en-us/librar
| |
| 106 { | 126 { |
| 107 'target_name': 'test_opt_wpo', | 127 'target_name': 'test_opt_wpo', |
| 108 'type': 'executable', | 128 'type': 'executable', |
| 109 'msvs_settings': { | 129 'msvs_settings': { |
| 110 'VCCLCompilerTool': { | 130 'VCCLCompilerTool': { |
| 111 'WholeProgramOptimization': 'true' | 131 'WholeProgramOptimization': 'true' |
| 112 } | 132 } |
| 113 }, | 133 }, |
| 114 'sources': ['hello.cc'], | 134 'sources': ['hello.cc'], |
| 115 }, | 135 }, |
| 116 ] | 136 ] |
| 117 } | 137 } |
| OLD | NEW |