| Index: webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
|
| diff --git a/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn b/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
|
| index 574adb9de3d55a257d1d0b4aea8d3f8966343682..65488a22c607791b279ac7f9ac2655c4c000ac90 100644
|
| --- a/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
|
| +++ b/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
|
| @@ -6,26 +6,49 @@
|
| # in the file PATENTS. All contributing project authors may
|
| # be found in the AUTHORS file in the root of the source tree.
|
|
|
| -import("../../../../webrtc.gni")
|
| +import("//webrtc/webrtc.gni")
|
|
|
| group("conversational_speech") {
|
| testonly = true
|
| deps = [
|
| - ":convspeech_gen",
|
| + ":conversational_speech_generator",
|
| + ":conversational_speech_generator_unittest",
|
| ]
|
| } # conversational_speech
|
|
|
| -rtc_executable("convspeech_gen") {
|
| +rtc_executable("conversational_speech_generator") {
|
| testonly = true
|
| sources = [
|
| - "convspeech_gen.cc",
|
| - "settings.cc",
|
| - "settings.h",
|
| + "generator.cc",
|
| ]
|
| deps = [
|
| + ":lib",
|
| "//third_party/gflags",
|
| "//webrtc/base:rtc_base_approved",
|
| "//webrtc/test:fileutils",
|
| ]
|
| visibility = [ ":*" ] # Only targets in this file can depend on this.
|
| -} # convspeech_gen
|
| +} # bin
|
| +
|
| +rtc_static_library("lib") {
|
| + testonly = true
|
| + sources = [
|
| + "settings.cc",
|
| + "settings.h",
|
| + ]
|
| + deps = []
|
| + visibility = [ ":*" ] # Only targets in this file can depend on this.
|
| +} # lib
|
| +
|
| +rtc_test("conversational_speech_generator_unittest") {
|
| + testonly = true
|
| + deps = [
|
| + ":lib",
|
| + "//testing/gtest",
|
| + "//webrtc//base:rtc_base_tests_main",
|
| + ]
|
| + sources = [
|
| + "generator_unittest.cc",
|
| + ]
|
| + visibility = [ ":*" ] # Only targets in this file can depend on this.
|
| +}
|
|
|