Index: remoting/client/BUILD.gn |
diff --git a/remoting/client/BUILD.gn b/remoting/client/BUILD.gn |
index b8f155888d0cf2df9486f5598dc8eade1bac5261..d549eee9e12645547d8f7a34c895501bae6f1b66 100644 |
--- a/remoting/client/BUILD.gn |
+++ b/remoting/client/BUILD.gn |
@@ -41,6 +41,21 @@ source_set("client") { |
} |
} |
+source_set("test_support") { |
+ testonly = true |
+ |
+ sources = [ |
+ "fake_audio_consumer.cc", |
+ "fake_audio_consumer.h", |
+ ] |
+ |
+ public_deps = [ |
+ "//remoting/protocol:test_support", |
+ "//testing/gmock", |
+ "//third_party/protobuf:protobuf_lite", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
@@ -48,6 +63,7 @@ source_set("unit_tests") { |
# be compiled on all platforms. |
set_sources_assignment_filter([]) |
sources = [ |
+ "audio_decode_scheduler_unittest.cc", |
"audio_player_unittest.cc", |
"chromoting_client_runtime_unittest.cc", |
"client_status_logger_unittest.cc", |
@@ -70,6 +86,7 @@ source_set("unit_tests") { |
deps = [ |
":client", |
+ ":test_support", |
"//remoting/proto", |
"//testing/gmock", |
"//testing/gtest", |