Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. 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': 'qcms', | 8 'target_name': 'qcms', |
| 9 'product_name': 'qcms', | 9 'product_name': 'qcms', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 './src', | 26 './src', |
| 27 ], | 27 ], |
| 28 }, | 28 }, |
| 29 # Warning (sign-conversion) fixed upstream by large refactoring. Can be | 29 # Warning (sign-conversion) fixed upstream by large refactoring. Can be |
| 30 # removed on next roll. | 30 # removed on next roll. |
| 31 'msvs_disabled_warnings': [ 4018 ], | 31 'msvs_disabled_warnings': [ 4018 ], |
| 32 | 32 |
| 33 'variables': { | 33 'variables': { |
| 34 'conditions': [ | 34 'conditions': [ |
| 35 # For x86, turn off SSE2 for non-CrOS *nix Chrome builds. | 35 # For x86, turn off SSE2 for non-CrOS *nix Chrome builds. |
| 36 # MSVC x64 doesn't support MMX until 2012. | |
| 36 ['disable_sse2==1 or \ | 37 ['disable_sse2==1 or \ |
| 37 (branding=="Chrome" and target_arch=="ia32" and \ | 38 (branding=="Chrome" and target_arch=="ia32" and \ |
| 38 os_posix==1 and OS!="mac" and chromeos==0)', { | 39 os_posix==1 and OS!="mac" and chromeos==0) or \ |
| 40 (OS=="win" and target_arch=="x64" and MSVS_VERSION<"2012")', { | |
|
scottmg
2013/02/01 01:18:42
items = ["2008", "2008e", "2010", "2010e", "2012",
jschuh
2013/02/01 01:32:04
I already TBR'd... but I will add your comment.
| |
| 39 'qcms_use_sse': 0, | 41 'qcms_use_sse': 0, |
| 40 }, { | 42 }, { |
| 41 'qcms_use_sse': 1, | 43 'qcms_use_sse': 1, |
| 42 }], | 44 }], |
| 43 ], | 45 ], |
| 44 }, | 46 }, |
| 45 | 47 |
| 46 'conditions': [ | 48 'conditions': [ |
| 47 [ 'qcms_use_sse==1', { | 49 [ 'qcms_use_sse==1', { |
| 48 'defines': [ | 50 'defines': [ |
| 49 'SSE2_ENABLE', | 51 'SSE2_ENABLE', |
| 50 ], | 52 ], |
| 51 'sources': [ | 53 'sources': [ |
| 52 'src/transform-sse1.c', | 54 'src/transform-sse1.c', |
| 53 'src/transform-sse2.c', | 55 'src/transform-sse2.c', |
| 54 ], | 56 ], |
| 55 }], | 57 }], |
| 56 ], | 58 ], |
| 57 }, | 59 }, |
| 58 ], | 60 ], |
| 59 } | 61 } |
| 60 | 62 |
| 61 # Local Variables: | 63 # Local Variables: |
| 62 # tab-width:2 | 64 # tab-width:2 |
| 63 # indent-tabs-mode:nil | 65 # indent-tabs-mode:nil |
| 64 # End: | 66 # End: |
| 65 # vim: set expandtab tabstop=2 shiftwidth=2: | 67 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |