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

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

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

Powered by Google App Engine
This is Rietveld 408576698