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

Side by Side Diff: webrtc/modules/audio_processing/aec_dumper/BUILD.gn

Issue 2747123007: Test submission of complete AEC-dump refactoring. (Closed)
Patch Set: Refactoring introduced bug: DCHECK(moved uptr) Created 3 years, 9 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_dumper") {
5 # Includes audio_processing.h TODO(aleloi): add a dependency for
6 # that when the header is not part of ..:audio_processing.
7 check_includes = false
8 sources = [
9 "aec_dumper.h",
10 "null_aec_dumper.h",
11 ]
12
13 # Only targets in this file and audio_processing/ can depend on
14 # this.
15 visibility = [
16 "../:*",
17 ":*",
18 ]
19
20 deps = []
21 }
22
23 rtc_source_set("aec_dumper_impl") {
24 assert_no_deps = [ ":aec_dumper_no_pb" ]
25
26 sources = [
27 "aec_dumper_impl.cc",
28 "capture_stream_info_impl.h",
29 ]
30 deps = [
31 ":aec_dumper",
32 "../../../base:rtc_base_approved",
33 "../../../base:rtc_task_queue",
34 "../../../system_wrappers",
35 ]
36
37 # Will not compile without proto.
38 if (rtc_enable_protobuf) {
39 deps += [ "../:audioproc_debug_proto" ]
40 }
41 }
42
43 rtc_source_set("aec_dumper_no_pb") {
44 assert_no_deps = [ ":aec_dumper_impl" ]
45 sources = [
46 "no_pb_aec_dumper.cc",
47 ]
48 deps = [
49 ":aec_dumper",
50 ]
51 }
52
53 rtc_source_set("aec_dumper_unittests") {
54 testonly = true
55 defines = []
56 deps = [
57 ":aec_dumper",
58 ]
59 sources = []
60 if (rtc_enable_protobuf) {
61 deps += [
62 ":aec_dumper_impl",
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_dumper_unittest.cc" ]
73 }
74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698