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-04-07 12:05:08 -07:00
|
|
|
import("../../../../../webrtc/webrtc.gni")
|
2017-03-18 02:29:13 -07:00
|
|
|
|
|
|
|
|
group("conversational_speech") {
|
|
|
|
|
testonly = true
|
|
|
|
|
deps = [
|
2017-03-18 03:45:31 -07:00
|
|
|
":conversational_speech_generator",
|
2017-03-18 02:29:13 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-18 03:45:31 -07:00
|
|
|
rtc_executable("conversational_speech_generator") {
|
2017-03-18 02:29:13 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2017-03-18 03:45:31 -07:00
|
|
|
"generator.cc",
|
2017-03-18 02:29:13 -07:00
|
|
|
]
|
|
|
|
|
deps = [
|
2017-03-18 03:45:31 -07:00
|
|
|
":lib",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../../test:test_support",
|
2017-03-18 02:29:13 -07:00
|
|
|
"//third_party/gflags",
|
|
|
|
|
]
|
2017-03-23 05:17:06 -07:00
|
|
|
}
|
2017-03-18 03:45:31 -07:00
|
|
|
|
|
|
|
|
rtc_static_library("lib") {
|
|
|
|
|
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-07-19 10:40:47 -07:00
|
|
|
"../../../..:webrtc_common",
|
|
|
|
|
"../../../../common_audio",
|
|
|
|
|
"../../../../rtc_base:rtc_base_approved",
|
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
|
|
|
|
2017-03-23 05:17:06 -07:00
|
|
|
rtc_source_set("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-07-19 10:40:47 -07:00
|
|
|
"../../../..:webrtc_common",
|
|
|
|
|
"../../../../common_audio",
|
|
|
|
|
"../../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../../test:test_support",
|
2017-03-23 05:17:06 -07:00
|
|
|
"//testing/gmock",
|
2017-03-18 03:45:31 -07:00
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
2017-03-18 02:29:13 -07:00
|
|
|
}
|