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 13 matching lines...) Expand all Loading... |
24 "//base", | 24 "//base", |
25 ] | 25 ] |
26 | 26 |
27 public_deps = [ | 27 public_deps = [ |
28 ":media_remoting_proto", | 28 ":media_remoting_proto", |
29 ] | 29 ] |
30 } | 30 } |
31 | 31 |
32 source_set("remoting") { | 32 source_set("remoting") { |
33 sources = [ | 33 sources = [ |
34 "remoting_controller.cc", | 34 "remoting_cdm.cc", |
35 "remoting_controller.h", | 35 "remoting_cdm.h", |
| 36 "remoting_cdm_controller.cc", |
| 37 "remoting_cdm_controller.h", |
| 38 "remoting_cdm_factory.cc", |
| 39 "remoting_cdm_factory.h", |
| 40 "remoting_renderer_controller.cc", |
| 41 "remoting_renderer_controller.h", |
36 "remoting_renderer_factory.cc", | 42 "remoting_renderer_factory.cc", |
37 "remoting_renderer_factory.h", | 43 "remoting_renderer_factory.h", |
| 44 "remoting_source_impl.cc", |
| 45 "remoting_source_impl.h", |
38 ] | 46 ] |
39 deps = [ | 47 deps = [ |
40 "//base", | 48 "//base", |
41 "//media", | 49 "//media", |
42 "//media/mojo/interfaces:remoting", | 50 "//media/mojo/interfaces:remoting", |
43 ] | 51 ] |
44 } | 52 } |
45 | 53 |
46 test("media_remoting_unittests") { | 54 test("media_remoting_unittests") { |
47 sources = [ | 55 sources = [ |
48 "remoting_controller_unittest.cc", | 56 "remoting_renderer_controller_unittest.cc", |
49 "rpc/proto_utils_unittest.cc", | 57 "rpc/proto_utils_unittest.cc", |
50 ] | 58 ] |
51 | 59 |
52 deps = [ | 60 deps = [ |
53 ":remoting", | 61 ":remoting", |
54 ":rpc", | 62 ":rpc", |
55 "//base", | 63 "//base", |
56 "//base/test:test_support", | 64 "//base/test:test_support", |
57 "//media", | 65 "//media", |
58 "//media/mojo/interfaces:remoting", | 66 "//media/mojo/interfaces:remoting", |
59 "//mojo/edk/test:run_all_unittests", | 67 "//mojo/edk/test:run_all_unittests", |
60 "//testing/gmock", | 68 "//testing/gmock", |
61 "//testing/gtest", | 69 "//testing/gtest", |
62 "//ui/gfx:test_support", | 70 "//ui/gfx:test_support", |
63 "//ui/gfx/geometry", | 71 "//ui/gfx/geometry", |
| 72 "//url", |
64 ] | 73 ] |
65 } | 74 } |
OLD | NEW |