Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2014 Google Inc. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'sse_extensions', | |
| 9 'type': 'executable', | |
| 10 'msvs_settings': { | |
| 11 'VCCLCompilerTool': { | |
| 12 'EnableEnhancedInstructionSet': '1', # StreamingSIMDExtensions | |
| 13 } | |
| 14 }, | |
| 15 'sources': ['enable-enhanced-instruction-set.cc'], | |
| 16 }, | |
| 17 { | |
| 18 'target_name': 'sse2_extensions', | |
| 19 'type': 'executable', | |
| 20 'msvs_settings': { | |
| 21 'VCCLCompilerTool': { | |
| 22 'EnableEnhancedInstructionSet': '2', # StreamingSIMDExtensions2 | |
| 23 } | |
| 24 }, | |
| 25 'sources': ['enable-enhanced-instruction-set.cc'], | |
| 26 }, | |
| 27 ], | |
| 28 'conditions': [ | |
| 29 ['MSVS_VERSION[0:4]>"2010"', { | |
| 30 'targets': [ | |
| 31 { | |
| 32 'target_name': 'avx_extensions', | |
| 33 'type': 'executable', | |
| 34 'msvs_settings': { | |
| 35 'VCCLCompilerTool': { | |
| 36 'EnableEnhancedInstructionSet': '3', # AdvancedVectorExtensions | |
| 37 } | |
| 38 }, | |
| 39 'sources': ['enable-enhanced-instruction-set.cc'], | |
| 40 }, | |
| 41 { | |
| 42 'target_name': 'no_extensions', | |
| 43 'type': 'executable', | |
| 44 'msvs_settings': { | |
| 45 'VCCLCompilerTool': { | |
| 46 'EnableEnhancedInstructionSet': '4', # NoExtensions | |
| 47 } | |
| 48 }, | |
| 49 'sources': ['enable-enhanced-instruction-set.cc'], | |
| 50 }, | |
|
scottmg
2014/03/11 16:32:58
Could you add an "unset" test too? It changed from
grt (UTC plus 2)
2014/03/11 17:08:45
I thought about that. I would need to add a condit
| |
| 51 ], | |
| 52 }], | |
| 53 ], | |
| 54 } | |
| OLD | NEW |