OLD | NEW |
| 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
1 import("../../../webrtc.gni") # This contains def of 'rtc_enable_protobuf' | 9 import("../../../webrtc.gni") # This contains def of 'rtc_enable_protobuf' |
2 | 10 |
3 rtc_source_set("aec_dump") { | 11 rtc_source_set("aec_dump") { |
4 sources = [ | 12 sources = [ |
5 "aec_dump_factory.h", | 13 "aec_dump_factory.h", |
6 ] | 14 ] |
7 | 15 |
8 public_deps = [ | 16 public_deps = [ |
9 "..:aec_dump_interface", | 17 "..:aec_dump_interface", |
10 ] | 18 ] |
11 | 19 |
12 deps = [ | 20 deps = [ |
13 "../../../base:rtc_base_approved", | 21 "../../../base:rtc_base_approved", |
14 ] | 22 ] |
15 } | 23 } |
16 | 24 |
| 25 rtc_source_set("mock_aec_dump") { |
| 26 testonly = true |
| 27 sources = [ |
| 28 "mock_aec_dump.cc", |
| 29 "mock_aec_dump.h", |
| 30 ] |
| 31 |
| 32 deps = [ |
| 33 "..:aec_dump_interface", |
| 34 ] |
| 35 public_deps = [ |
| 36 "../..:module_api", |
| 37 "../../../test:test_support", |
| 38 "//testing/gmock", |
| 39 ] |
| 40 } |
| 41 |
| 42 rtc_source_set("mock_aec_dump_unittests") { |
| 43 testonly = true |
| 44 |
| 45 sources = [ |
| 46 "aec_dump_integration_test.cc", |
| 47 ] |
| 48 |
| 49 deps = [ |
| 50 ":mock_aec_dump", |
| 51 "..:audio_processing", |
| 52 "../../../base:rtc_base_approved", |
| 53 "//testing/gtest", |
| 54 ] |
| 55 } |
| 56 |
17 if (rtc_enable_protobuf) { | 57 if (rtc_enable_protobuf) { |
18 rtc_source_set("aec_dump_impl") { | 58 rtc_source_set("aec_dump_impl") { |
19 sources = [ | 59 sources = [ |
20 "aec_dump_impl.cc", | 60 "aec_dump_impl.cc", |
21 "aec_dump_impl.h", | 61 "aec_dump_impl.h", |
22 "capture_stream_info.cc", | 62 "capture_stream_info.cc", |
23 "capture_stream_info.h", | 63 "capture_stream_info.h", |
24 "write_to_file_task.cc", | 64 "write_to_file_task.cc", |
25 "write_to_file_task.h", | 65 "write_to_file_task.h", |
26 ] | 66 ] |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 assert_no_deps = [ ":aec_dump_impl" ] | 105 assert_no_deps = [ ":aec_dump_impl" ] |
66 sources = [ | 106 sources = [ |
67 "null_aec_dump_factory.cc", | 107 "null_aec_dump_factory.cc", |
68 ] | 108 ] |
69 | 109 |
70 public_deps = [ | 110 public_deps = [ |
71 ":aec_dump", | 111 ":aec_dump", |
72 "..:aec_dump_interface", | 112 "..:aec_dump_interface", |
73 ] | 113 ] |
74 } | 114 } |
OLD | NEW |