1# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS.  All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
10  'includes': [ '../build/common.gypi', ],
11  'targets': [
12    {
13      'target_name': 'rtc_sound',
14      'type': 'static_library',
15      'dependencies': [
16        '<(webrtc_root)/base/base.gyp:rtc_base',
17      ],
18      'sources': [
19        'automaticallychosensoundsystem.h',
20        'nullsoundsystem.cc',
21        'nullsoundsystem.h',
22        'nullsoundsystemfactory.cc',
23        'nullsoundsystemfactory.h',
24        'platformsoundsystem.cc',
25        'platformsoundsystem.h',
26        'platformsoundsystemfactory.cc',
27        'platformsoundsystemfactory.h',
28        'sounddevicelocator.h',
29        'soundinputstreaminterface.cc',
30        'soundinputstreaminterface.h',
31        'soundoutputstreaminterface.cc',
32        'soundoutputstreaminterface.h',
33        'soundsystemfactory.h',
34        'soundsysteminterface.cc',
35        'soundsysteminterface.h',
36        'soundsystemproxy.cc',
37        'soundsystemproxy.h',
38      ],
39      'conditions': [
40        ['OS=="linux"', {
41          'sources': [
42            'alsasoundsystem.cc',
43            'alsasoundsystem.h',
44            'alsasymboltable.cc',
45            'alsasymboltable.h',
46            'linuxsoundsystem.cc',
47            'linuxsoundsystem.h',
48            'pulseaudiosoundsystem.cc',
49            'pulseaudiosoundsystem.h',
50            'pulseaudiosymboltable.cc',
51            'pulseaudiosymboltable.h',
52          ],
53        }],
54      ],
55    },
56  ],
57}
58