| 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 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 # Do not build QCMS on Android or iOS. (See http://crbug.com/577155) | 8 # Do not build QCMS on Android or iOS. (See http://crbug.com/577155) |
| 9 ['OS == "android" or OS == "ios"', { | 9 ['OS == "android" or OS == "ios"', { |
| 10 'disable_qcms%': 1, | 10 'disable_qcms%': 1, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 ], | 69 ], |
| 70 }, | 70 }, |
| 71 ], | 71 ], |
| 72 'conditions': [ | 72 'conditions': [ |
| 73 ['disable_qcms == 0', { | 73 ['disable_qcms == 0', { |
| 74 'targets': [ | 74 'targets': [ |
| 75 { | 75 { |
| 76 'target_name': 'qcms_tests', | 76 'target_name': 'qcms_tests', |
| 77 'product_name': 'qcms_tests', | 77 'product_name': 'qcms_tests', |
| 78 'type': 'executable', | 78 'type': 'executable', |
| 79 'defines': [ | |
| 80 'SSE2_ENABLE', | |
| 81 ], | |
| 82 'dependencies': [ | 79 'dependencies': [ |
| 83 'qcms', | 80 'qcms', |
| 84 ], | 81 ], |
| 85 'conditions': [ | 82 'conditions': [ |
| 86 ['OS != "win"', { | 83 ['OS != "win"', { |
| 87 'libraries': [ | 84 'libraries': [ |
| 88 '-lm', | 85 '-lm', |
| 89 ], | 86 ], |
| 90 }], | 87 }], |
| 91 ['target_arch=="ia32" or target_arch=="x64"', { | 88 ['target_arch=="ia32" or target_arch=="x64"', { |
| 92 'sources': [ | 89 'defines': [ |
| 93 'src/tests/qcms_test_tetra_clut_rgba.c', | 90 'SSE2_ENABLE', |
| 94 'src/tests/qcms_test_main.c', | |
| 95 'src/tests/qcms_test_internal_srgb.c', | |
| 96 'src/tests/qcms_test_munsell.c', | |
| 97 'src/tests/qcms_test_ntsc_gamut.c', | |
| 98 ], | 91 ], |
| 99 }], | 92 }], |
| 100 ], | 93 ], |
| 94 'sources': [ |
| 95 'src/tests/qcms_test_main.c', |
| 96 'src/tests/qcms_test_internal_srgb.c', |
| 97 'src/tests/qcms_test_munsell.c', |
| 98 'src/tests/qcms_test_ntsc_gamut.c', |
| 99 'src/tests/qcms_test_tetra_clut_rgba.c', |
| 100 ], |
| 101 }, | 101 }, |
| 102 ], | 102 ], |
| 103 }], | 103 }], |
| 104 ], | 104 ], |
| 105 } | 105 } |
| 106 | 106 |
| 107 # Local Variables: | 107 # Local Variables: |
| 108 # tab-width:2 | 108 # tab-width:2 |
| 109 # indent-tabs-mode:nil | 109 # indent-tabs-mode:nil |
| 110 # End: | 110 # End: |
| 111 # vim: set expandtab tabstop=2 shiftwidth=2: | 111 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |