2017-03-18 02:29:13 -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-09-15 06:47:31 +02:00
|
|
|
import("../../../../webrtc.gni")
|
2017-03-18 02:29:13 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
group("conversational_speech") {
|
|
|
|
|
testonly = true
|
|
|
|
|
deps = [ ":conversational_speech_generator" ]
|
|
|
|
|
}
|
2017-03-18 02:29:13 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("conversational_speech_generator") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "generator.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":lib",
|
|
|
|
|
"../../../../test:fileutils",
|
|
|
|
|
"../../../../test:test_support",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-03-23 05:17:06 -07:00
|
|
|
}
|
2017-03-18 03:45:31 -07:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("lib") {
|
2017-03-18 03:45:31 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"config.cc",
|
|
|
|
|
"config.h",
|
2017-03-28 05:39:59 -07:00
|
|
|
"multiend_call.cc",
|
|
|
|
|
"multiend_call.h",
|
2017-06-15 02:24:59 -07:00
|
|
|
"simulator.cc",
|
|
|
|
|
"simulator.h",
|
2017-03-22 08:23:46 -07:00
|
|
|
"timing.cc",
|
|
|
|
|
"timing.h",
|
2017-03-28 05:39:59 -07:00
|
|
|
"wavreader_abstract_factory.h",
|
|
|
|
|
"wavreader_factory.cc",
|
|
|
|
|
"wavreader_factory.h",
|
|
|
|
|
"wavreader_interface.h",
|
2017-03-22 08:23:46 -07:00
|
|
|
]
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../../../api:array_view",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../../common_audio",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../../rtc_base:rtc_base_approved",
|
2018-11-07 09:54:28 +01:00
|
|
|
"../../../../test:fileutils",
|
2017-03-18 03:45:31 -07:00
|
|
|
]
|
|
|
|
|
visibility = [ ":*" ] # Only targets in this file can depend on this.
|
2017-03-23 05:17:06 -07:00
|
|
|
}
|
2017-03-18 03:45:31 -07:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("unittest") {
|
2017-03-18 03:45:31 -07:00
|
|
|
testonly = true
|
2017-03-23 05:17:06 -07:00
|
|
|
sources = [
|
|
|
|
|
"generator_unittest.cc",
|
2017-04-07 12:05:08 -07:00
|
|
|
"mock_wavreader.cc",
|
2017-03-28 05:39:59 -07:00
|
|
|
"mock_wavreader.h",
|
|
|
|
|
"mock_wavreader_factory.cc",
|
|
|
|
|
"mock_wavreader_factory.h",
|
2017-03-23 05:17:06 -07:00
|
|
|
]
|
2017-03-18 03:45:31 -07:00
|
|
|
deps = [
|
|
|
|
|
":lib",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../../../api:array_view",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../../common_audio",
|
|
|
|
|
"../../../../rtc_base:rtc_base_approved",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../../../test:fileutils",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../../test:test_support",
|
2017-03-18 03:45:31 -07:00
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2017-03-18 02:29:13 -07:00
|
|
|
}
|