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

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

Issue 2749573002: Conversational Speech generator, unit test (Closed)
Patch Set: deps fixed 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/test/conversational_speech/config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5301cb209e2d9510c8ff59913a0e7ff2eb25bc77..d0cb1e7e7e05eafe2587fc6e8f8ff538b96ce768 100644
--- a/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
+++ b/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
@@ -6,26 +6,50 @@
# 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",
]
}
-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:test_support",
]
visibility = [ ":*" ] # Only targets in this file can depend on this.
+} # bin
+
+rtc_static_library("lib") {
+ testonly = true
+ sources = [
+ "config.cc",
+ "config.h",
+ ]
+ deps = []
+ visibility = [ ":*" ] # Only targets in this file can depend on this.
+} # lib
+
+rtc_test("conversational_speech_generator_unittest") {
kjellander (google.com) 2017/03/23 06:24:36 Adding a test like this doesn't make it run. Pleas
+ 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.
}
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/test/conversational_speech/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698