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': '<(library)', | 10 'type': '<(library)', |
| 11 'toolsets': ['host', 'target'], |
11 'sources': [ | 12 'sources': [ |
12 'src/chain.c', | 13 'src/chain.c', |
13 'src/chain.h', | 14 'src/chain.h', |
14 'src/iccread.c', | 15 'src/iccread.c', |
15 'src/matrix.c', | 16 'src/matrix.c', |
16 'src/matrix.h', | 17 'src/matrix.h', |
17 'src/qcms.h', | 18 'src/qcms.h', |
18 'src/qcmsint.h', | 19 'src/qcmsint.h', |
19 'src/qcmstypes.h', | 20 'src/qcmstypes.h', |
20 'src/transform.c', | 21 'src/transform.c', |
(...skipping 14 matching lines...) Expand all Loading... |
35 }], | 36 }], |
36 [ 'target_arch != "arm"', { | 37 [ 'target_arch != "arm"', { |
37 'sources': [ | 38 'sources': [ |
38 'src/transform-sse1.c', | 39 'src/transform-sse1.c', |
39 'src/transform-sse2.c', | 40 'src/transform-sse2.c', |
40 ], | 41 ], |
41 }], | 42 }], |
42 ], | 43 ], |
43 }, | 44 }, |
44 ], | 45 ], |
| 46 'conditions': [ |
| 47 ['OS == "win"', { |
| 48 'targets': [ |
| 49 { |
| 50 'target_name': 'qcms_win64', |
| 51 'type': 'static_library', |
| 52 # We can't use qcms target for win64 build since it is a 32-bit |
| 53 # library. |
| 54 'include_dirs': [ |
| 55 './src', |
| 56 ], |
| 57 'sources': [ |
| 58 'src/chain.c', |
| 59 'src/chain.h', |
| 60 'src/iccread.c', |
| 61 'src/matrix.c', |
| 62 'src/matrix.h', |
| 63 'src/qcms.h', |
| 64 'src/qcmsint.h', |
| 65 'src/qcmstypes.h', |
| 66 'src/transform.c', |
| 67 'src/transform-sse1.c', |
| 68 'src/transform-sse2.c', |
| 69 'src/transform_util.c', |
| 70 'src/transform_util.h', |
| 71 ], |
| 72 'configurations': { |
| 73 'Common_Base': { |
| 74 'msvs_target_platform': 'x64', |
| 75 }, |
| 76 }, |
| 77 }, |
| 78 ], |
| 79 }], |
| 80 ], |
45 } | 81 } |
46 | 82 |
47 # Local Variables: | 83 # Local Variables: |
48 # tab-width:2 | 84 # tab-width:2 |
49 # indent-tabs-mode:nil | 85 # indent-tabs-mode:nil |
50 # End: | 86 # End: |
51 # vim: set expandtab tabstop=2 shiftwidth=2: | 87 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |