summaryrefslogtreecommitdiffstats
path: root/third_party/iccjpeg/iccjpeg.gyp
blob: 25d25edd06938b65ff9ca519cf9b8bd67da3220a (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
# Copyright (c) 2011 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': 'iccjpeg',
      'type': 'static_library',
      'dependencies': [
        '<(libjpeg_gyp_path):libjpeg',
      ],
      'sources': [
        'iccjpeg.c',
        'iccjpeg.h',
      ],
      'conditions': [
        ['os_bsd==1 and use_system_libjpeg==1', {
          'include_dirs': [
            '/usr/local/include',
          ],
        }],
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '.',
        ],
      },
    },
  ],
}