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 '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"', { |
| 89 'defines': [ | |
| 90 'SSE2_ENABLE', | |
| 91 ], | |
| 92 'sources': [ | 92 'sources': [ |
| 93 'src/tests/qcms_test_tetra_clut_rgba.c', | 93 'src/tests/qcms_test_tetra_clut_rgba.c', |
|
radu.velea
2016/03/04 13:33:08
Can we maybe have the ifdefs in qcms_test_tetra_cl
lmilko
2016/03/08 13:21:59
Done.
| |
| 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 ], | 94 ], |
| 99 }], | 95 }], |
| 100 ], | 96 ], |
| 97 'sources': [ | |
| 98 'src/tests/qcms_test_main.c', | |
| 99 'src/tests/qcms_test_internal_srgb.c', | |
| 100 'src/tests/qcms_test_munsell.c', | |
| 101 'src/tests/qcms_test_ntsc_gamut.c', | |
| 102 ], | |
| 101 }, | 103 }, |
| 102 ], | 104 ], |
| 103 }], | 105 }], |
| 104 ], | 106 ], |
| 105 } | 107 } |
| 106 | 108 |
| 107 # Local Variables: | 109 # Local Variables: |
| 108 # tab-width:2 | 110 # tab-width:2 |
| 109 # indent-tabs-mode:nil | 111 # indent-tabs-mode:nil |
| 110 # End: | 112 # End: |
| 111 # vim: set expandtab tabstop=2 shiftwidth=2: | 113 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |