| 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 configs += [ "..:common_config" ] | |
| 32 public_configs = [ "..:common_inherited_config" ] | |
| 33 | |
| 34 if (is_clang) { | |
| 35 # Suppress warnings from Chrome's Clang plugins. | |
| 36 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 37 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
| 38 } | |
| 39 | |
| 40 deps = [ | |
| 41 "../base:rtc_base", | |
| 42 ] | |
| 43 | |
| 44 if (is_linux) { | |
| 45 sources += [ | |
| 46 "alsasoundsystem.cc", | |
| 47 "alsasoundsystem.h", | |
| 48 "alsasymboltable.cc", | |
| 49 "alsasymboltable.h", | |
| 50 "linuxsoundsystem.cc", | |
| 51 "linuxsoundsystem.h", | |
| 52 "pulseaudiosoundsystem.cc", | |
| 53 "pulseaudiosoundsystem.h", | |
| 54 "pulseaudiosymboltable.cc", | |
| 55 "pulseaudiosymboltable.h", | |
| 56 ] | |
| 57 } | |
| 58 } | |
| OLD | NEW |