summaryrefslogtreecommitdiffstats
path: root/third_party/qcms/qcms.gyp
blob: 93fc3ad1ae5c62b9c3d56f4e841eef3484a3ab25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'qcms',
      'type': 'static_library',
      'sources': [
        'qcms.h',
        'qcmsint.h',
        'qcmstypes.h',
        'iccread.c',
        'transform-sse1.c',
        'transform-sse2.c',
        'transform.c',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '.',
        ],
      },
      'conditions': [
        ['os_posix == 1 and OS != "mac" and (branding == "Chrome" or disable_sse2 == 1)', {
          'sources/': [
            ['exclude', 'transform-sse1.c'],
            ['exclude', 'transform-sse2.c'],
          ],
        },],
      ],
    },
  ],
}