Index: media/remoting/BUILD.gn |
diff --git a/media/remoting/BUILD.gn b/media/remoting/BUILD.gn |
index 90aeeada0ad0bbe213e65766c62cf364d838d5ce..d4d87e7850c59f61f6cb62ca4476497205295cdb 100644 |
--- a/media/remoting/BUILD.gn |
+++ b/media/remoting/BUILD.gn |
@@ -2,8 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//third_party/protobuf/proto_library.gni") |
import("//testing/test.gni") |
+import("//third_party/protobuf/proto_library.gni") |
proto_library("media_remoting_proto") { |
proto_out_dir = "media/remoting" |
@@ -29,17 +29,34 @@ source_set("rpc") { |
] |
} |
+source_set("remoting") { |
+ sources = [ |
+ "remoting_controller.cc", |
+ "remoting_controller.h", |
+ "remoting_renderer_factory.cc", |
+ "remoting_renderer_factory.h", |
+ ] |
+ deps = [ |
+ "//base", |
+ "//media", |
+ "//media/mojo/interfaces:remoting", |
+ ] |
+} |
+ |
test("media_remoting_unittests") { |
sources = [ |
+ "remoting_controller_unittest.cc", |
"rpc/proto_utils_unittest.cc", |
] |
deps = [ |
+ ":remoting", |
":rpc", |
"//base", |
- "//base/test:run_all_unittests", |
"//base/test:test_support", |
"//media", |
+ "//media/mojo/interfaces:remoting", |
+ "//mojo/edk/test:run_all_unittests", |
"//testing/gmock", |
"//testing/gtest", |
"//ui/gfx:test_support", |