Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Side by Side Diff: media/remoting/BUILD.gn

Issue 2457563002: Media Remoting: Add remoting control logic for encrypted contents. (Closed)
Patch Set: Addressed xhwang's comments. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 19 matching lines...) Expand all
30 ":media_remoting_proto", 30 ":media_remoting_proto",
31 ] 31 ]
32 } 32 }
33 33
34 source_set("remoting") { 34 source_set("remoting") {
35 sources = [ 35 sources = [
36 "remote_demuxer_stream_adapter.cc", 36 "remote_demuxer_stream_adapter.cc",
37 "remote_demuxer_stream_adapter.h", 37 "remote_demuxer_stream_adapter.h",
38 "remote_renderer_impl.cc", 38 "remote_renderer_impl.cc",
39 "remote_renderer_impl.h", 39 "remote_renderer_impl.h",
40 "remoting_controller.cc", 40 "remoting_cdm.cc",
41 "remoting_controller.h", 41 "remoting_cdm.h",
42 "remoting_cdm_context.cc",
43 "remoting_cdm_context.h",
44 "remoting_cdm_controller.cc",
45 "remoting_cdm_controller.h",
46 "remoting_cdm_factory.cc",
47 "remoting_cdm_factory.h",
48 "remoting_renderer_controller.cc",
49 "remoting_renderer_controller.h",
42 "remoting_renderer_factory.cc", 50 "remoting_renderer_factory.cc",
43 "remoting_renderer_factory.h", 51 "remoting_renderer_factory.h",
52 "remoting_source_impl.cc",
53 "remoting_source_impl.h",
44 ] 54 ]
45 deps = [ 55 deps = [
46 ":rpc", 56 ":rpc",
47 "//base", 57 "//base",
48 "//media", 58 "//media",
49 "//media/mojo/interfaces:remoting", 59 "//media/mojo/interfaces:remoting",
50 "//mojo/public/cpp/bindings", 60 "//mojo/public/cpp/bindings",
51 ] 61 ]
52 } 62 }
53 63
54 source_set("media_remoting_tests") { 64 source_set("media_remoting_tests") {
55 testonly = true 65 testonly = true
56 sources = [ 66 sources = [
57 "fake_remoting_controller.cc", 67 "fake_remoting_controller.cc",
58 "fake_remoting_controller.h", 68 "fake_remoting_controller.h",
59 "fake_remoting_demuxer_stream_provider.cc", 69 "fake_remoting_demuxer_stream_provider.cc",
60 "fake_remoting_demuxer_stream_provider.h", 70 "fake_remoting_demuxer_stream_provider.h",
61 "remote_demuxer_stream_adapter_unittest.cc", 71 "remote_demuxer_stream_adapter_unittest.cc",
62 "remote_renderer_impl_unittest.cc", 72 "remote_renderer_impl_unittest.cc",
63 "remoting_controller_unittest.cc", 73 "remoting_renderer_controller_unittest.cc",
64 "rpc/proto_utils_unittest.cc", 74 "rpc/proto_utils_unittest.cc",
65 "rpc/rpc_broker_unittest.cc", 75 "rpc/rpc_broker_unittest.cc",
66 ] 76 ]
67 77
68 deps = [ 78 deps = [
69 ":remoting", 79 ":remoting",
70 ":rpc", 80 ":rpc",
71 "//base", 81 "//base",
72 "//base/test:test_support", 82 "//base/test:test_support",
73 "//media", 83 "//media",
74 "//media/mojo/interfaces:remoting", 84 "//media/mojo/interfaces:remoting",
75 "//testing/gmock", 85 "//testing/gmock",
76 "//testing/gtest", 86 "//testing/gtest",
77 "//ui/gfx:test_support", 87 "//ui/gfx:test_support",
78 "//ui/gfx/geometry", 88 "//ui/gfx/geometry",
89 "//url",
79 ] 90 ]
80 } 91 }
81 92
82 test("media_remoting_unittests") { 93 test("media_remoting_unittests") {
83 deps = [ 94 deps = [
84 ":media_remoting_tests", 95 ":media_remoting_tests",
85 "//media/test:run_all_unittests", 96 "//media/test:run_all_unittests",
86 ] 97 ]
87 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698