OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 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 import("../build/webrtc.gni") |
| 9 |
| 10 static_library("rtc_sound") { |
| 11 sources = [ |
| 12 "automaticallychosensoundsystem.h", |
| 13 "nullsoundsystem.cc", |
| 14 "nullsoundsystem.h", |
| 15 "nullsoundsystemfactory.cc", |
| 16 "nullsoundsystemfactory.h", |
| 17 "platformsoundsystem.cc", |
| 18 "platformsoundsystem.h", |
| 19 "platformsoundsystemfactory.cc", |
| 20 "platformsoundsystemfactory.h", |
| 21 "sounddevicelocator.h", |
| 22 "soundinputstreaminterface.h", |
| 23 "soundoutputstreaminterface.h", |
| 24 "soundsystemfactory.h", |
| 25 "soundsysteminterface.cc", |
| 26 "soundsysteminterface.h", |
| 27 "soundsystemproxy.cc", |
| 28 "soundsystemproxy.h", |
| 29 ] |
| 30 |
| 31 if (is_clang) { |
| 32 # Suppress warnings from Chrome's Clang plugins. |
| 33 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 34 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 35 } |
| 36 |
| 37 deps = [ |
| 38 "//webrtc/base:rtc_base", |
| 39 ] |
| 40 |
| 41 if (is_linux) { |
| 42 sources += [ |
| 43 "alsasoundsystem.cc", |
| 44 "alsasoundsystem.h", |
| 45 "alsasymboltable.cc", |
| 46 "alsasymboltable.h", |
| 47 "linuxsoundsystem.cc", |
| 48 "linuxsoundsystem.h", |
| 49 "pulseaudiosoundsystem.cc", |
| 50 "pulseaudiosoundsystem.h", |
| 51 "pulseaudiosymboltable.cc", |
| 52 "pulseaudiosymboltable.h", |
| 53 ] |
| 54 } |
| 55 } |
OLD | NEW |