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

Side by Side Diff: chrome/browser/media/router/BUILD.gn

Issue 2727123002: [Media Router] Custom Controls 1 - Add MediaStatus, MediaRouteController, and mojo interfaces (Closed)
Patch Set: Address Derek's and Daniel's comments Created 3 years, 9 months 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 5
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 static_library("router") { 9 static_library("router") {
10 deps = [ 10 deps = [
11 ":mojo_bindings_common",
11 "//base", 12 "//base",
12 "//chrome/common:constants", 13 "//chrome/common:constants",
13 "//components/keyed_service/content", 14 "//components/keyed_service/content",
14 "//components/keyed_service/core", 15 "//components/keyed_service/core",
15 "//content/public/browser", 16 "//content/public/browser",
16 "//content/public/common", 17 "//content/public/common",
17 "//third_party/icu", 18 "//third_party/icu",
18 "//url", 19 "//url",
19 ] 20 ]
20 sources = [ 21 sources = [
(...skipping 23 matching lines...) Expand all
44 "media_sink.cc", 45 "media_sink.cc",
45 "media_sink.h", 46 "media_sink.h",
46 "media_sink_service.cc", 47 "media_sink_service.cc",
47 "media_sink_service.h", 48 "media_sink_service.h",
48 "media_sinks_observer.cc", 49 "media_sinks_observer.cc",
49 "media_sinks_observer.h", 50 "media_sinks_observer.h",
50 "media_source.cc", 51 "media_source.cc",
51 "media_source.h", 52 "media_source.h",
52 "media_source_helper.cc", 53 "media_source_helper.cc",
53 "media_source_helper.h", 54 "media_source_helper.h",
55 "media_status.cc",
56 "media_status.h",
57 "mojo/media_route_controller.cc",
58 "mojo/media_route_controller.h",
54 "offscreen_presentation_manager.cc", 59 "offscreen_presentation_manager.cc",
55 "offscreen_presentation_manager.h", 60 "offscreen_presentation_manager.h",
56 "offscreen_presentation_manager_factory.cc", 61 "offscreen_presentation_manager_factory.cc",
57 "offscreen_presentation_manager_factory.h", 62 "offscreen_presentation_manager_factory.h",
58 "presentation_media_sinks_observer.cc", 63 "presentation_media_sinks_observer.cc",
59 "presentation_media_sinks_observer.h", 64 "presentation_media_sinks_observer.h",
60 "presentation_request.cc", 65 "presentation_request.cc",
61 "presentation_request.h", 66 "presentation_request.h",
62 "presentation_service_delegate_impl.cc", 67 "presentation_service_delegate_impl.cc",
63 "presentation_service_delegate_impl.h", 68 "presentation_service_delegate_impl.h",
(...skipping 26 matching lines...) Expand all
90 "mojo/media_route_provider_util_win.cc", 95 "mojo/media_route_provider_util_win.cc",
91 "mojo/media_route_provider_util_win.h", 96 "mojo/media_route_provider_util_win.h",
92 "mojo/media_router_mojo_impl.cc", 97 "mojo/media_router_mojo_impl.cc",
93 "mojo/media_router_mojo_impl.h", 98 "mojo/media_router_mojo_impl.h",
94 "mojo/media_router_mojo_metrics.cc", 99 "mojo/media_router_mojo_metrics.cc",
95 "mojo/media_router_mojo_metrics.h", 100 "mojo/media_router_mojo_metrics.h",
96 ] 101 ]
97 } 102 }
98 } 103 }
99 104
105 mojom("mojo_bindings_common") {
106 sources = [
107 "mojo/media_controller.mojom",
108 "mojo/media_status.mojom",
109 ]
110
111 public_deps = [
112 "//mojo/common:common_custom_types",
113 ]
114 }
115
100 mojom("mojo_bindings") { 116 mojom("mojo_bindings") {
101 sources = [ 117 sources = [
102 "mojo/media_router.mojom", 118 "mojo/media_router.mojom",
103 ] 119 ]
104 120
105 public_deps = [ 121 public_deps = [
106 "//mojo/common:common_custom_types", 122 ":mojo_bindings_common",
107 "//url/mojo:url_mojom_origin", 123 "//url/mojo:url_mojom_origin",
108 ] 124 ]
109 } 125 }
110 126
111 static_library("test_support") { 127 static_library("test_support") {
112 testonly = true 128 testonly = true
113 deps = [ 129 deps = [
114 ":router", 130 ":router",
115 "//chrome/test:test_support", 131 "//chrome/test:test_support",
116 "//testing/gmock", 132 "//testing/gmock",
(...skipping 11 matching lines...) Expand all
128 deps += [ 144 deps += [
129 ":mojo_bindings", 145 ":mojo_bindings",
130 "//extensions/common", 146 "//extensions/common",
131 ] 147 ]
132 sources += [ 148 sources += [
133 "mojo/media_router_mojo_test.cc", 149 "mojo/media_router_mojo_test.cc",
134 "mojo/media_router_mojo_test.h", 150 "mojo/media_router_mojo_test.h",
135 ] 151 ]
136 } 152 }
137 } 153 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/media_status.h » ('j') | chrome/browser/media/router/media_status.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698