OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
8 proto_library("media_remoting_proto") { | 8 proto_library("media_remoting_proto") { |
9 proto_out_dir = "media/remoting" | 9 proto_out_dir = "media/remoting" |
10 sources = [ | 10 sources = [ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "//skia", | 69 "//skia", |
70 "//ui/gfx", | 70 "//ui/gfx", |
71 ] | 71 ] |
72 } | 72 } |
73 | 73 |
74 source_set("media_remoting_tests") { | 74 source_set("media_remoting_tests") { |
75 testonly = true | 75 testonly = true |
76 sources = [ | 76 sources = [ |
77 "fake_remoting_controller.cc", | 77 "fake_remoting_controller.cc", |
78 "fake_remoting_controller.h", | 78 "fake_remoting_controller.h", |
79 "fake_remoting_demuxer_stream_provider.cc", | 79 "fake_remoting_media_resource.cc", |
80 "fake_remoting_demuxer_stream_provider.h", | 80 "fake_remoting_media_resource.h", |
81 "remote_demuxer_stream_adapter_unittest.cc", | 81 "remote_demuxer_stream_adapter_unittest.cc", |
82 "remote_renderer_impl_unittest.cc", | 82 "remote_renderer_impl_unittest.cc", |
83 "remoting_renderer_controller_unittest.cc", | 83 "remoting_renderer_controller_unittest.cc", |
84 "rpc/proto_utils_unittest.cc", | 84 "rpc/proto_utils_unittest.cc", |
85 "rpc/rpc_broker_unittest.cc", | 85 "rpc/rpc_broker_unittest.cc", |
86 ] | 86 ] |
87 | 87 |
88 deps = [ | 88 deps = [ |
89 ":remoting", | 89 ":remoting", |
90 ":rpc", | 90 ":rpc", |
91 "//base", | 91 "//base", |
92 "//base/test:test_support", | 92 "//base/test:test_support", |
93 "//media", | 93 "//media", |
94 "//media/base:test_support", | 94 "//media/base:test_support", |
95 "//media/mojo/interfaces:remoting", | 95 "//media/mojo/interfaces:remoting", |
96 "//testing/gmock", | 96 "//testing/gmock", |
97 "//testing/gtest", | 97 "//testing/gtest", |
98 "//ui/gfx:test_support", | 98 "//ui/gfx:test_support", |
99 "//ui/gfx/geometry", | 99 "//ui/gfx/geometry", |
100 "//url", | 100 "//url", |
101 ] | 101 ] |
102 } | 102 } |
103 | 103 |
104 test("media_remoting_unittests") { | 104 test("media_remoting_unittests") { |
105 deps = [ | 105 deps = [ |
106 ":media_remoting_tests", | 106 ":media_remoting_tests", |
107 "//media/test:run_all_unittests", | 107 "//media/test:run_all_unittests", |
108 ] | 108 ] |
109 } | 109 } |
OLD | NEW |