Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: webrtc/sound/BUILD.gn

Issue 1425583002: Add GN Build file for rtc_sound target. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sound/BUILD.gn
diff --git a/webrtc/sound/BUILD.gn b/webrtc/sound/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..82bfdd104e8ceb558ba841efcec5099dfe49f013
--- /dev/null
+++ b/webrtc/sound/BUILD.gn
@@ -0,0 +1,55 @@
+# Copyright 2015 The WebRTC project authors. All Rights Reserved.
+#
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file in the root of the source
+# tree. An additional intellectual property rights grant can be found
+# in the file PATENTS. All contributing project authors may
+# be found in the AUTHORS file in the root of the source tree.
+import("../build/webrtc.gni")
+
+static_library("rtc_sound") {
+ sources = [
+ "automaticallychosensoundsystem.h",
+ "nullsoundsystem.cc",
+ "nullsoundsystem.h",
+ "nullsoundsystemfactory.cc",
+ "nullsoundsystemfactory.h",
+ "platformsoundsystem.cc",
+ "platformsoundsystem.h",
+ "platformsoundsystemfactory.cc",
+ "platformsoundsystemfactory.h",
+ "sounddevicelocator.h",
+ "soundinputstreaminterface.h",
+ "soundoutputstreaminterface.h",
+ "soundsystemfactory.h",
+ "soundsysteminterface.cc",
+ "soundsysteminterface.h",
+ "soundsystemproxy.cc",
+ "soundsystemproxy.h",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ deps = [
+ "//webrtc/base:rtc_base",
+ ]
+
+ if (is_linux) {
+ sources += [
+ "alsasoundsystem.cc",
+ "alsasoundsystem.h",
+ "alsasymboltable.cc",
+ "alsasymboltable.h",
+ "linuxsoundsystem.cc",
+ "linuxsoundsystem.h",
+ "pulseaudiosoundsystem.cc",
+ "pulseaudiosoundsystem.h",
+ "pulseaudiosymboltable.cc",
+ "pulseaudiosymboltable.h",
+ ]
+ }
+}
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698