Index: media/remoting/BUILD.gn |
diff --git a/media/remoting/BUILD.gn b/media/remoting/BUILD.gn |
index d4d87e7850c59f61f6cb62ca4476497205295cdb..0a551de46b5c1abaabb30be5a3d877959cb10026 100644 |
--- a/media/remoting/BUILD.gn |
+++ b/media/remoting/BUILD.gn |
@@ -43,7 +43,8 @@ source_set("remoting") { |
] |
} |
-test("media_remoting_unittests") { |
+source_set("media_remoting_tests") { |
+ testonly = true |
sources = [ |
"remoting_controller_unittest.cc", |
"rpc/proto_utils_unittest.cc", |
@@ -56,10 +57,16 @@ test("media_remoting_unittests") { |
"//base/test:test_support", |
"//media", |
"//media/mojo/interfaces:remoting", |
- "//mojo/edk/test:run_all_unittests", |
"//testing/gmock", |
"//testing/gtest", |
"//ui/gfx:test_support", |
"//ui/gfx/geometry", |
] |
} |
+ |
+test("media_remoting_unittests") { |
+ deps = [ |
+ ":media_remoting_tests", |
+ "//media/test:run_all_unittests", |
+ ] |
+} |