OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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', |
11 'sources': [ | 11 'sources': [ |
12 'qcms.h', | 12 'qcms.h', |
13 'qcmsint.h', | 13 'qcmsint.h', |
14 'qcmstypes.h', | 14 'qcmstypes.h', |
15 'iccread.c', | 15 'iccread.c', |
16 'transform-sse1.c', | 16 'transform-sse1.c', |
17 'transform-sse2.c', | 17 'transform-sse2.c', |
18 'transform.c', | 18 'transform.c', |
19 ], | 19 ], |
20 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
21 'include_dirs': [ | 21 'include_dirs': [ |
22 '.', | 22 '.', |
23 ], | 23 ], |
24 }, | 24 }, |
25 'conditions': [ | 25 'conditions': [ |
26 ['OS=="linux" and (branding=="Chrome" or disable_sse2==1)', { | 26 ['os_posix == 1 and OS != "mac" and (branding == "Chrome" or disable_sse
2 == 1)', { |
27 'sources/': [ | 27 'sources/': [ |
28 ['exclude', 'transform-sse1.c'], | 28 ['exclude', 'transform-sse1.c'], |
29 ['exclude', 'transform-sse2.c'], | 29 ['exclude', 'transform-sse2.c'], |
30 ], | 30 ], |
31 },], | 31 },], |
32 ], | 32 ], |
33 }, | 33 }, |
34 ], | 34 ], |
35 } | 35 } |
36 | 36 |
37 # Local Variables: | 37 # Local Variables: |
38 # tab-width:2 | 38 # tab-width:2 |
39 # indent-tabs-mode:nil | 39 # indent-tabs-mode:nil |
40 # End: | 40 # End: |
41 # vim: set expandtab tabstop=2 shiftwidth=2: | 41 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |