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 24 matching lines...) Expand all Loading... |
35 } | 35 } |
36 | 36 |
37 source_set("remoting") { | 37 source_set("remoting") { |
38 sources = [ | 38 sources = [ |
39 "adaptive_renderer_factory.cc", | 39 "adaptive_renderer_factory.cc", |
40 "adaptive_renderer_factory.h", | 40 "adaptive_renderer_factory.h", |
41 "courier_renderer.cc", | 41 "courier_renderer.cc", |
42 "courier_renderer.h", | 42 "courier_renderer.h", |
43 "demuxer_stream_adapter.cc", | 43 "demuxer_stream_adapter.cc", |
44 "demuxer_stream_adapter.h", | 44 "demuxer_stream_adapter.h", |
45 "interstitial.cc", | |
46 "interstitial.h", | |
47 "metrics.cc", | 45 "metrics.cc", |
48 "metrics.h", | 46 "metrics.h", |
49 "remoting_cdm.cc", | 47 "remoting_cdm.cc", |
50 "remoting_cdm.h", | 48 "remoting_cdm.h", |
51 "remoting_cdm_context.cc", | 49 "remoting_cdm_context.cc", |
52 "remoting_cdm_context.h", | 50 "remoting_cdm_context.h", |
53 "remoting_cdm_controller.cc", | 51 "remoting_cdm_controller.cc", |
54 "remoting_cdm_controller.h", | 52 "remoting_cdm_controller.h", |
55 "remoting_cdm_factory.cc", | 53 "remoting_cdm_factory.cc", |
56 "remoting_cdm_factory.h", | 54 "remoting_cdm_factory.h", |
57 "renderer_controller.cc", | 55 "renderer_controller.cc", |
58 "renderer_controller.h", | 56 "renderer_controller.h", |
59 "shared_session.cc", | 57 "shared_session.cc", |
60 "shared_session.h", | 58 "shared_session.h", |
61 "sink_availability_observer.cc", | 59 "sink_availability_observer.cc", |
62 "sink_availability_observer.h", | 60 "sink_availability_observer.h", |
63 "triggers.h", | 61 "triggers.h", |
64 ] | 62 ] |
65 | 63 |
66 deps = [ | 64 deps = [ |
67 ":rpc", | 65 ":rpc", |
68 "//base", | 66 "//base", |
69 "//media", | 67 "//media", |
70 "//media/mojo/interfaces:remoting", | 68 "//media/mojo/interfaces:remoting", |
71 "//mojo/public/cpp/bindings", | 69 "//mojo/public/cpp/bindings", |
72 "//skia", | |
73 "//ui/gfx", | 70 "//ui/gfx", |
74 "//ui/vector_icons", | |
75 ] | 71 ] |
76 } | 72 } |
77 | 73 |
78 source_set("media_remoting_tests") { | 74 source_set("media_remoting_tests") { |
79 testonly = true | 75 testonly = true |
80 sources = [ | 76 sources = [ |
81 "courier_renderer_unittest.cc", | 77 "courier_renderer_unittest.cc", |
82 "demuxer_stream_adapter_unittest.cc", | 78 "demuxer_stream_adapter_unittest.cc", |
83 "fake_media_resource.cc", | 79 "fake_media_resource.cc", |
84 "fake_media_resource.h", | 80 "fake_media_resource.h", |
(...skipping 19 matching lines...) Expand all Loading... |
104 "//url", | 100 "//url", |
105 ] | 101 ] |
106 } | 102 } |
107 | 103 |
108 test("media_remoting_unittests") { | 104 test("media_remoting_unittests") { |
109 deps = [ | 105 deps = [ |
110 ":media_remoting_tests", | 106 ":media_remoting_tests", |
111 "//media/test:run_all_unittests", | 107 "//media/test:run_all_unittests", |
112 ] | 108 ] |
113 } | 109 } |
OLD | NEW |