2017-06-08 08:12:46 -07:00
|
|
|
# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-05-23 08:52:05 -07:00
|
|
|
import("../../../webrtc.gni") # This contains def of 'rtc_enable_protobuf'
|
|
|
|
|
|
|
|
|
|
rtc_source_set("aec_dump") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-05-23 08:52:05 -07:00
|
|
|
sources = [
|
|
|
|
|
"aec_dump_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-26 15:11:40 +01:00
|
|
|
"..:aec_dump_interface",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../rtc_base:rtc_base_approved",
|
2017-05-23 08:52:05 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-08 08:12:46 -07:00
|
|
|
rtc_source_set("mock_aec_dump") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"mock_aec_dump.cc",
|
|
|
|
|
"mock_aec_dump.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"..:aec_dump_interface",
|
|
|
|
|
"../..:module_api",
|
|
|
|
|
"../../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("mock_aec_dump_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"aec_dump_integration_test.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":mock_aec_dump",
|
|
|
|
|
"..:audio_processing",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../rtc_base:rtc_base_approved",
|
2017-06-08 08:12:46 -07:00
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-23 08:52:05 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
rtc_source_set("aec_dump_impl") {
|
|
|
|
|
sources = [
|
|
|
|
|
"aec_dump_impl.cc",
|
|
|
|
|
"aec_dump_impl.h",
|
|
|
|
|
"capture_stream_info.cc",
|
|
|
|
|
"capture_stream_info.h",
|
|
|
|
|
"write_to_file_task.cc",
|
|
|
|
|
"write_to_file_task.h",
|
|
|
|
|
]
|
|
|
|
|
|
2018-01-26 15:11:40 +01:00
|
|
|
deps = [
|
2017-05-23 08:52:05 -07:00
|
|
|
":aec_dump",
|
|
|
|
|
"..:aec_dump_interface",
|
|
|
|
|
"../../../modules:module_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../rtc_base:protobuf_utils",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../rtc_base:rtc_task_queue",
|
2018-03-23 10:39:34 +01:00
|
|
|
"../../../rtc_base/system:file_wrapper",
|
2017-05-23 08:52:05 -07:00
|
|
|
"../../../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps += [ "../:audioproc_debug_proto" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("aec_dump_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
defines = []
|
|
|
|
|
deps = [
|
2018-01-26 15:11:40 +01:00
|
|
|
":aec_dump",
|
2017-05-23 08:52:05 -07:00
|
|
|
":aec_dump_impl",
|
|
|
|
|
"..:aec_dump_interface",
|
|
|
|
|
"..:audioproc_debug_proto",
|
|
|
|
|
"../../../modules:module_api",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../rtc_base:rtc_task_queue",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../../test:fileutils",
|
2017-05-23 08:52:05 -07:00
|
|
|
"../../../test:test_support",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"aec_dump_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("null_aec_dump_factory") {
|
|
|
|
|
assert_no_deps = [ ":aec_dump_impl" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"null_aec_dump_factory.cc",
|
|
|
|
|
]
|
|
|
|
|
|
2018-01-26 15:11:40 +01:00
|
|
|
deps = [
|
2017-05-23 08:52:05 -07:00
|
|
|
":aec_dump",
|
|
|
|
|
"..:aec_dump_interface",
|
|
|
|
|
]
|
|
|
|
|
}
|