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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 import("//third_party/protobuf/proto_library.gni")
2 import("../../../webrtc.gni")
3
4 rtc_source_set("aec_dump") {
5 sources = [
6 "aec_dump_factory.h",
7 ]
8
9 public_deps = [
10 "..:aec_dump_interface",
11 ]
12 }
13
14 rtc_source_set("aec_dump_impl") {
15 assert_no_deps = [ ":null_aec_dump_factory" ]
16 sources = [
17 "aec_dump_impl.cc",
18 "aec_dump_impl.h",
19 "capture_stream_info_impl.h",
20 ]
21
22 public = []
23
24 public_deps = [
25 ":aec_dump",
26 "..:aec_dump_interface",
27 ]
28
29 deps = [
30 "../../../base:rtc_base_approved",
31 "../../../base:rtc_task_queue",
32 "../../../system_wrappers",
33 ]
34
35 # Will not compile without proto.
36 if (rtc_enable_protobuf) {
37 deps += [ "../:audioproc_debug_proto" ]
38 }
39 }
40
41 rtc_source_set("null_aec_dump_factory") {
42 assert_no_deps = [ ":aec_dump_impl" ]
43 sources = [
44 "null_aec_dump_factory.cc",
45 ]
46
47 public_deps = [
48 ":aec_dump",
49 "..:aec_dump_interface",
50 ]
51 }
52
53 rtc_source_set("aec_dump_unittests") {
54 testonly = true
55 defines = []
56 deps = [
57 "..:aec_dump_interface",
58 ]
59 sources = []
60 if (rtc_enable_protobuf) {
61 deps += [
62 ":aec_dump",
63 "..:audioproc_debug_proto",
64 "../../../base:rtc_task_queue",
65 "../../../test:test_support",
66 "//testing/gtest",
67
68 # Might be added later:
69 # "..:audioproc_protobuf_utils",
70 # "..:audioproc_unittest_proto",
71 ]
72 sources += [ "aec_dump_unittest.cc" ]
73 }
74 }
OLDNEW
« 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