Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn

Issue 2749573002: Conversational Speech generator, unit test (Closed)
Patch Set: renaming Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
+}

Powered by Google App Engine
This is Rietveld 408576698