Conversational Speech tool, rtc_test target replaced with entry in modules_unittests

The ConversationalSpeechTest.* unit tests are now part of modules_unittests.
The rtc_test target has been replaced with an rtc_source_set one.
The latter is included as dependency in audio_processing_unittests.

BUG=webrtc:7218

Review-Url: https://codereview.webrtc.org/2769863005
Cr-Commit-Position: refs/heads/master@{#17360}
This commit is contained in:
alessiob 2017-03-23 05:17:06 -07:00 committed by Commit bot
parent 33bf69ae66
commit 4b6463c0c9
2 changed files with 10 additions and 12 deletions

View File

@ -530,6 +530,7 @@ if (rtc_include_tests) {
"../../system_wrappers:system_wrappers",
"../../test:test_support",
"../audio_coding:neteq_unittest_tools",
"test/conversational_speech:unittest",
"//testing/gmock",
"//testing/gtest",
]

View File

@ -12,7 +12,6 @@ group("conversational_speech") {
testonly = true
deps = [
":conversational_speech_generator",
":conversational_speech_generator_unittest",
]
}
@ -27,8 +26,7 @@ rtc_executable("conversational_speech_generator") {
"//webrtc/base:rtc_base_approved",
"//webrtc/test:test_support",
]
visibility = [ ":*" ] # Only targets in this file can depend on this.
} # bin
}
rtc_static_library("lib") {
testonly = true
@ -42,18 +40,17 @@ rtc_static_library("lib") {
"//webrtc/base:rtc_base_approved",
]
visibility = [ ":*" ] # Only targets in this file can depend on this.
} # lib
}
rtc_test("conversational_speech_generator_unittest") {
rtc_source_set("unittest") {
testonly = true
deps = [
":lib",
"//testing/gtest",
"//webrtc//base:rtc_base_tests_main",
"//webrtc/test:test_support",
]
sources = [
"generator_unittest.cc",
]
visibility = [ ":*" ] # Only targets in this file can depend on this.
deps = [
":lib",
"//testing/gmock",
"//testing/gtest",
"//webrtc/test:test_support",
]
}