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

Unified Diff: webrtc/modules/audio_mixer/BUILD.gn

Issue 2411313003: Split audio mixer into interface and implementation. (Closed)
Patch Set: Created an 'audio_frame_manipulator' target. Created 4 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
Index: webrtc/modules/audio_mixer/BUILD.gn
diff --git a/webrtc/modules/audio_mixer/BUILD.gn b/webrtc/modules/audio_mixer/BUILD.gn
index 412b4d08f78a6e62665129eefb60ae1f04f893fa..c499e44bea333c7fdcc828be2f680b57c6d4987e 100644
--- a/webrtc/modules/audio_mixer/BUILD.gn
+++ b/webrtc/modules/audio_mixer/BUILD.gn
@@ -8,15 +8,12 @@
import("../../build/webrtc.gni")
-config("audio_conference_mixer_config") {
- include_dirs = [ "../../modules/include" ]
-}
-
-rtc_static_library("audio_mixer") {
+rtc_static_library("audio_mixer_impl") {
+ visibility = [
+ "../../audio:audio",
+ "../../modules/*",
+ ]
sources = [
- "audio_frame_manipulator.cc",
- "audio_frame_manipulator.h",
- "audio_mixer.h",
"audio_mixer_impl.cc",
"audio_mixer_impl.h",
"audio_source_with_mix_status.cc",
@@ -24,17 +21,36 @@ rtc_static_library("audio_mixer") {
]
public = [
- "audio_mixer.h",
+ "audio_mixer_impl.h",
]
- public_configs = [ ":audio_conference_mixer_config" ]
+ public_deps = [
+ "../../api:audio_mixer_api",
+ ]
aleloi 2016/10/13 09:25:23 This way, targets that create the mixer and includ
deps = [
+ ":audio_frame_manipulator",
"../..:webrtc_common",
"../../base:rtc_base_approved",
"../../modules/audio_processing",
"../../modules/utility",
"../../system_wrappers",
- "../../voice_engine:level_indicator",
+ ]
+}
+
+rtc_static_library("audio_frame_manipulator") {
+ visibility = [
+ ":*",
+ "../../modules:modules_unittests",
+ ]
+
+ sources = [
+ "audio_frame_manipulator.cc",
+ "audio_frame_manipulator.h",
+ ]
+
+ deps = [
+ "../../base:rtc_base_approved",
+ "../../modules/utility",
]
}
aleloi 2016/10/13 09:25:23 The mixer directory contains a test file called au

Powered by Google App Engine
This is Rietveld 408576698