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

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

Issue 2888533005: MockAecDump and integration tests between AecDump and AudioProcessing (Closed)
Patch Set: Remove test which is special case of next test. Created 3 years, 6 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
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
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 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/BUILD.gn ('k') | webrtc/modules/audio_processing/aec_dump/aec_dump_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698