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

Unified Diff: webrtc/modules/audio_processing/aec_dump/BUILD.gn

Issue 2778783002: AecDump interface (Closed)
Patch Set: Next version; large changes to interface. Created 3 years, 8 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_processing/aec_dump/BUILD.gn
diff --git a/webrtc/modules/audio_processing/aec_dump/BUILD.gn b/webrtc/modules/audio_processing/aec_dump/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..25982a441c09f62215cdd5d25952f3a90b73ac4e
--- /dev/null
+++ b/webrtc/modules/audio_processing/aec_dump/BUILD.gn
@@ -0,0 +1,51 @@
+import("//third_party/protobuf/proto_library.gni")
+import("../../../webrtc.gni")
+
+rtc_source_set("aec_dump") {
+ sources = [
+ "aec_dump_factory.h",
+ ]
+
+ public_deps = [
+ "..:aec_dump_interface",
+ ]
+}
+
+rtc_source_set("null_aec_dump_factory") {
+ assert_no_deps = [ ":aec_dump_impl" ]
+ sources = [
+ "null_aec_dump_factory.cc",
+ ]
+
+ public_deps = [
+ ":aec_dump",
+ "..:aec_dump_interface",
+ ]
+}
+
+rtc_source_set("aec_dump_unittests") {
+ testonly = true
+ defines = []
+ deps = [
+ ":aec_dump",
+ "..:aec_dump_interface",
+ ]
+ sources = [
+ "aec_dump_unittest.cc",
+ ]
+ if (rtc_enable_protobuf) {
+ deps += [
+ ":null_aec_dump_factory",
+ "..:audioproc_debug_proto",
+ "../../../base:rtc_task_queue",
+ "../../../test:test_support",
+ "//testing/gtest",
+
+ # Might be added later:
+ # "..:audioproc_protobuf_utils",
+ # "..:audioproc_unittest_proto",
+ ]
+ } else {
+ deps += [ ":null_aec_dump_factory" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698