OLD | NEW |
(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.cc", |
| 10 "aec_dumper.h", |
| 11 "null_aec_dumper.h", |
| 12 ] |
| 13 |
| 14 # Only targets in this file and audio_processing/ can depend on |
| 15 # this. |
| 16 visibility = [ |
| 17 "../:*", |
| 18 ":*", |
| 19 ] |
| 20 |
| 21 deps = [] |
| 22 } |
| 23 |
| 24 rtc_source_set("aec_dumper_impl") { |
| 25 assert_no_deps = [ ":aec_dumper_no_pb" ] |
| 26 |
| 27 sources = [ |
| 28 "aec_dumper_impl.cc", |
| 29 "capture_stream_info_impl.h", |
| 30 ] |
| 31 deps = [ |
| 32 ":aec_dumper", |
| 33 "../../../base:rtc_base_approved", |
| 34 "../../../base:rtc_task_queue", |
| 35 "../../../system_wrappers", |
| 36 ] |
| 37 |
| 38 # Will not compile without proto. |
| 39 if (rtc_enable_protobuf) { |
| 40 deps += [ "../:audioproc_debug_proto" ] |
| 41 } |
| 42 } |
| 43 |
| 44 rtc_source_set("aec_dumper_no_pb") { |
| 45 assert_no_deps = [ ":aec_dumper_impl" ] |
| 46 sources = [ |
| 47 "no_pb_aec_dumper.cc", |
| 48 ] |
| 49 deps = [ |
| 50 ":aec_dumper", |
| 51 ] |
| 52 } |
| 53 |
| 54 rtc_source_set("aec_dumper_unittests") { |
| 55 testonly = true |
| 56 defines = [] |
| 57 deps = [ |
| 58 ":aec_dumper", |
| 59 ] |
| 60 sources = [] |
| 61 if (rtc_enable_protobuf) { |
| 62 deps += [ |
| 63 ":aec_dumper_impl", |
| 64 "..:audioproc_debug_proto", |
| 65 "../../../base:rtc_task_queue", |
| 66 "../../../test:test_support", |
| 67 "//testing/gtest", |
| 68 |
| 69 # Might be added later: |
| 70 # "..:audioproc_protobuf_utils", |
| 71 # "..:audioproc_unittest_proto", |
| 72 ] |
| 73 sources += [ "aec_dumper_unittest.cc" ] |
| 74 } |
| 75 } |
OLD | NEW |