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.h',
30        'soundoutputstreaminterface.h',
31        'soundsystemfactory.h',
32        'soundsysteminterface.cc',
33        'soundsysteminterface.h',
34        'soundsystemproxy.cc',
35        'soundsystemproxy.h',
36      ],
37      'conditions': [
38        ['OS=="linux"', {
39          'sources': [
40            'alsasoundsystem.cc',
41            'alsasoundsystem.h',
42            'alsasymboltable.cc',
43            'alsasymboltable.h',
44            'linuxsoundsystem.cc',
45            'linuxsoundsystem.h',
46            'pulseaudiosoundsystem.cc',
47            'pulseaudiosoundsystem.h',
48            'pulseaudiosymboltable.cc',
49            'pulseaudiosymboltable.h',
50          ],
51        }],
52      ],
53    },
54  ],
55}
56