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

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

Issue 2675033002: [Media Router] Add MediaSink subtypes (Closed)
Patch Set: 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 = [
11 "//base", 11 "//base",
12 "//chrome/common:constants", 12 "//chrome/common:constants",
13 "//components/keyed_service/content", 13 "//components/keyed_service/content",
14 "//components/keyed_service/core", 14 "//components/keyed_service/core",
15 "//content/public/browser", 15 "//content/public/browser",
16 "//content/public/common", 16 "//content/public/common",
17 "//third_party/icu", 17 "//third_party/icu",
18 "//url", 18 "//url",
19 ] 19 ]
20 sources = [ 20 sources = [
21 "cast_media_sink.cc",
22 "cast_media_sink.h",
21 "create_presentation_connection_request.cc", 23 "create_presentation_connection_request.cc",
22 "create_presentation_connection_request.h", 24 "create_presentation_connection_request.h",
25 "dial_media_sink.cc",
26 "dial_media_sink.h",
23 "issue.cc", 27 "issue.cc",
24 "issue.h", 28 "issue.h",
25 "issue_manager.cc", 29 "issue_manager.cc",
26 "issue_manager.h", 30 "issue_manager.h",
27 "issues_observer.cc", 31 "issues_observer.cc",
28 "issues_observer.h", 32 "issues_observer.h",
29 "media_route.cc", 33 "media_route.cc",
30 "media_route.h", 34 "media_route.h",
31 "media_router.h", 35 "media_router.h",
32 "media_router_base.cc", 36 "media_router_base.cc",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 99 }
96 } 100 }
97 101
98 mojom("mojo_bindings") { 102 mojom("mojo_bindings") {
99 sources = [ 103 sources = [
100 "mojo/media_router.mojom", 104 "mojo/media_router.mojom",
101 ] 105 ]
102 106
103 public_deps = [ 107 public_deps = [
104 "//mojo/common:common_custom_types", 108 "//mojo/common:common_custom_types",
109 "//url/mojo:url_mojom_gurl",
105 ] 110 ]
106 } 111 }
107 112
113 mojom("mojo_test_interfaces") {
114 sources = [
115 "mojo/media_router_traits_test_service.mojom",
116 ]
117
118 public_deps = [
119 ":mojo_bindings",
120 ]
121 }
122
108 static_library("test_support") { 123 static_library("test_support") {
109 testonly = true 124 testonly = true
110 deps = [ 125 deps = [
111 ":router", 126 ":router",
112 "//chrome/test:test_support", 127 "//chrome/test:test_support",
113 "//testing/gmock", 128 "//testing/gmock",
114 ] 129 ]
115 sources = [ 130 sources = [
116 "mock_media_router.cc", 131 "mock_media_router.cc",
117 "mock_media_router.h", 132 "mock_media_router.h",
118 "mock_screen_availability_listener.cc", 133 "mock_screen_availability_listener.cc",
119 "mock_screen_availability_listener.h", 134 "mock_screen_availability_listener.h",
120 "test_helper.cc", 135 "test_helper.cc",
121 "test_helper.h", 136 "test_helper.h",
122 ] 137 ]
123 138
124 if (!is_android) { 139 if (!is_android) {
125 deps += [ 140 deps += [
126 ":mojo_bindings", 141 ":mojo_bindings",
142 ":mojo_test_interfaces",
127 "//extensions/common", 143 "//extensions/common",
128 ] 144 ]
129 sources += [ 145 sources += [
130 "mojo/media_router_mojo_test.cc", 146 "mojo/media_router_mojo_test.cc",
131 "mojo/media_router_mojo_test.h", 147 "mojo/media_router_mojo_test.h",
132 ] 148 ]
133 } 149 }
134 } 150 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/cast_media_sink.h » ('j') | chrome/browser/media/router/mojo/media_router.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698