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

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

Issue 2778783002: AecDump interface (Closed)
Patch Set: Implemented most of Karl's suggestions. 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")
peah-webrtc 2017/03/31 07:24:42 Should there be a separate build target for this?
aleloi 2017/04/06 15:46:10 I think it's best: it disconnects the APM from the
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
9 # Will be removed once implementation is added.
10 assert_no_deps = [ ":aec_dumper_impl" ]
11
12 sources = [
13 "aec_dumper.cc",
14 "aec_dumper.h",
15 "null_aec_dumper.h",
16 ]
17
18 # Only targets in this file and audio_processing/ can depend on
19 # this.
20 visibility = [
21 "../:*",
22 ":*",
23 ]
24
25 deps = []
26 }
27
28 rtc_source_set("aec_dumper_impl") {
29 assert_no_deps = [ ":aec_dumper_no_pb" ]
30
31 # Will be added later
32 sources = []
33 deps = []
34
35 # When completed, it will not compile without protobuf support.
36 if (rtc_enable_protobuf) {
37 deps += [ "../:audioproc_debug_proto" ]
38 }
39 }
40
41 rtc_source_set("aec_dumper_no_pb") {
42 assert_no_deps = [ ":aec_dumper_impl" ]
43 sources = [
44 "no_pb_aec_dumper.cc",
45 ]
46 deps = [
47 ":aec_dumper",
48 ]
49 }
50
51 rtc_source_set("aec_dumper_unittests") {
52 testonly = true
53 deps = [
54 ":aec_dumper",
55 ":aec_dumper_no_pb",
56 "../../../base:rtc_task_queue",
57 "../../../test:test_support",
58 "//testing/gtest",
59 ]
60 sources = []
61 if (rtc_enable_protobuf) {
62 deps += [
63 ":aec_dumper_impl",
64 # Might be added later:
65 # "..:audioproc_protobuf_utils",
66 # "..:audioproc_unittest_proto",
67 ]
68 } else {
69 deps += [ ":aec_dumper_no_pb" ]
70 }
71 sources += [ "aec_dumper_unittest.cc" ]
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698