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

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

Issue 2747123007: Test submission of complete AEC-dump refactoring. (Closed)
Patch Set: Changed interface and build structure after reviewer comments. 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..efa631035a15867a1ba6a2458d315d52fef73d9d
--- /dev/null
+++ b/webrtc/modules/audio_processing/aec_dump/BUILD.gn
@@ -0,0 +1,74 @@
+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("aec_dump_impl") {
+ assert_no_deps = [ ":null_aec_dump_factory" ]
+ sources = [
+ "aec_dump_impl.cc",
+ "aec_dump_impl.h",
+ "capture_stream_info_impl.h",
+ ]
+
+ public = []
+
+ public_deps = [
+ ":aec_dump",
+ "..:aec_dump_interface",
+ ]
+
+ deps = [
+ "../../../base:rtc_base_approved",
+ "../../../base:rtc_task_queue",
+ "../../../system_wrappers",
+ ]
+
+ # Will not compile without proto.
+ if (rtc_enable_protobuf) {
+ deps += [ "../:audioproc_debug_proto" ]
+ }
+}
+
+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_interface",
+ ]
+ sources = []
+ if (rtc_enable_protobuf) {
+ deps += [
+ ":aec_dump",
+ "..:audioproc_debug_proto",
+ "../../../base:rtc_task_queue",
+ "../../../test:test_support",
+ "//testing/gtest",
+
+ # Might be added later:
+ # "..:audioproc_protobuf_utils",
+ # "..:audioproc_unittest_proto",
+ ]
+ sources += [ "aec_dump_unittest.cc" ]
+ }
+}
« no previous file with comments | « webrtc/modules/audio_processing/BUILD.gn ('k') | webrtc/modules/audio_processing/aec_dump/aec_dump_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698