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

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

Issue 2675033002: [Media Router] Add MediaSink subtypes (Closed)
Patch Set: add TypedMediaSink class Created 3 years, 10 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 = [
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "presentation_service_delegate_observers.h", 61 "presentation_service_delegate_observers.h",
62 "receiver_presentation_service_delegate_impl.cc", 62 "receiver_presentation_service_delegate_impl.cc",
63 "receiver_presentation_service_delegate_impl.h", 63 "receiver_presentation_service_delegate_impl.h",
64 "render_frame_host_id.h", 64 "render_frame_host_id.h",
65 "route_message.cc", 65 "route_message.cc",
66 "route_message.h", 66 "route_message.h",
67 "route_message_observer.cc", 67 "route_message_observer.cc",
68 "route_message_observer.h", 68 "route_message_observer.h",
69 "route_request_result.cc", 69 "route_request_result.cc",
70 "route_request_result.h", 70 "route_request_result.h",
71 "typed_media_sink.cc",
72 "typed_media_sink.h",
71 ] 73 ]
72 74
73 if (!is_android) { 75 if (!is_android) {
74 deps += [ 76 deps += [
75 ":mojo_bindings", 77 ":mojo_bindings",
76 "//extensions/browser", 78 "//extensions/browser",
77 "//mojo/public/cpp/bindings", 79 "//mojo/public/cpp/bindings",
78 ] 80 ]
79 sources += [ 81 sources += [
80 # TODO(crbug.com/646627): Move media_router_ui_service* to 82 # TODO(crbug.com/646627): Move media_router_ui_service* to
(...skipping 14 matching lines...) Expand all
95 } 97 }
96 } 98 }
97 99
98 mojom("mojo_bindings") { 100 mojom("mojo_bindings") {
99 sources = [ 101 sources = [
100 "mojo/media_router.mojom", 102 "mojo/media_router.mojom",
101 ] 103 ]
102 104
103 public_deps = [ 105 public_deps = [
104 "//mojo/common:common_custom_types", 106 "//mojo/common:common_custom_types",
107 "//url/mojo:url_mojom_gurl",
105 ] 108 ]
106 } 109 }
107 110
111 mojom("mojo_test_interfaces") {
112 sources = [
113 "mojo/media_router_traits_test_service.mojom",
114 ]
115
116 public_deps = [
117 ":mojo_bindings",
118 ]
119 }
120
108 static_library("test_support") { 121 static_library("test_support") {
109 testonly = true 122 testonly = true
110 deps = [ 123 deps = [
111 ":router", 124 ":router",
112 "//chrome/test:test_support", 125 "//chrome/test:test_support",
113 "//testing/gmock", 126 "//testing/gmock",
114 ] 127 ]
115 sources = [ 128 sources = [
116 "mock_media_router.cc", 129 "mock_media_router.cc",
117 "mock_media_router.h", 130 "mock_media_router.h",
118 "mock_screen_availability_listener.cc", 131 "mock_screen_availability_listener.cc",
119 "mock_screen_availability_listener.h", 132 "mock_screen_availability_listener.h",
120 "test_helper.cc", 133 "test_helper.cc",
121 "test_helper.h", 134 "test_helper.h",
122 ] 135 ]
123 136
124 if (!is_android) { 137 if (!is_android) {
125 deps += [ 138 deps += [
126 ":mojo_bindings", 139 ":mojo_bindings",
140 ":mojo_test_interfaces",
127 "//extensions/common", 141 "//extensions/common",
128 ] 142 ]
129 sources += [ 143 sources += [
130 "mojo/media_router_mojo_test.cc", 144 "mojo/media_router_mojo_test.cc",
131 "mojo/media_router_mojo_test.h", 145 "mojo/media_router_mojo_test.h",
132 ] 146 ]
133 } 147 }
134 } 148 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/media_sink.h » ('j') | chrome/browser/media/router/media_sink.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698