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 e85e1e3b1c11d28c098f673df3b71f7143e325ba..4375c4efb35fb76d2bf2d63b6ee72ea7b2255947 100644 |
--- a/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn |
+++ b/webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn |
@@ -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 |
+ sources = [ |
+ "generator_unittest.cc", |
+ ] |
deps = [ |
":lib", |
+ "//testing/gmock", |
"//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. |
} |