summaryrefslogtreecommitdiffstats
path: root/chromium/build/linux/unbundle/speex.gyp
blob: 75376c8cf235ff2528ddfb660de395ebbde6bf44 (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
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2013 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': 'libspeex',
      'type': 'none',
      'variables': {
        'headers_root_path': 'include',
        'header_filenames': [
          'speex/speex_types.h',
          'speex/speex_callbacks.h',
          'speex/speex_config_types.h',
          'speex/speex_stereo.h',
          'speex/speex_echo.h',
          'speex/speex_preprocess.h',
          'speex/speex_jitter.h',
          'speex/speex.h',
          'speex/speex_resampler.h',
          'speex/speex_buffer.h',
          'speex/speex_header.h',
          'speex/speex_bits.h',
        ],
      },
      'includes': [
        '../../build/shim_headers.gypi',
      ],
      'direct_dependent_settings': {
        'cflags': [
          '<!@(pkg-config --cflags speex)',
        ],
      },
      'link_settings': {
        'ldflags': [
          '<!@(pkg-config --libs-only-L --libs-only-other speex)',
        ],
        'libraries': [
          '<!@(pkg-config --libs-only-l speex)',
        ],
      },
    },
  ],
}