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

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

Issue 2675033002: [Media Router] Add MediaSink subtypes (Closed)
Patch Set: resolve code review comments from Derek and Mark 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
« no previous file with comments | « no previous file | chrome/browser/media/router/discovery/media_sink_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "//net",
17 "//third_party/icu", 18 "//third_party/icu",
18 "//url", 19 "//url",
19 ] 20 ]
20 sources = [ 21 sources = [
21 "browser_presentation_connection_proxy.cc", 22 "browser_presentation_connection_proxy.cc",
22 "browser_presentation_connection_proxy.h", 23 "browser_presentation_connection_proxy.h",
23 "create_presentation_connection_request.cc", 24 "create_presentation_connection_request.cc",
24 "create_presentation_connection_request.h", 25 "create_presentation_connection_request.h",
26 "discovery/media_sink_internal.cc",
27 "discovery/media_sink_internal.h",
25 "issue.cc", 28 "issue.cc",
26 "issue.h", 29 "issue.h",
27 "issue_manager.cc", 30 "issue_manager.cc",
28 "issue_manager.h", 31 "issue_manager.h",
29 "issues_observer.cc", 32 "issues_observer.cc",
30 "issues_observer.h", 33 "issues_observer.h",
31 "media_route.cc", 34 "media_route.cc",
32 "media_route.h", 35 "media_route.h",
33 "media_router.h", 36 "media_router.h",
34 "media_router_base.cc", 37 "media_router_base.cc",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 100 }
98 } 101 }
99 102
100 mojom("mojo_bindings") { 103 mojom("mojo_bindings") {
101 sources = [ 104 sources = [
102 "mojo/media_router.mojom", 105 "mojo/media_router.mojom",
103 ] 106 ]
104 107
105 public_deps = [ 108 public_deps = [
106 "//mojo/common:common_custom_types", 109 "//mojo/common:common_custom_types",
110 "//net/interfaces:interfaces",
111 "//url/mojo:url_mojom_gurl",
107 "//url/mojo:url_mojom_origin", 112 "//url/mojo:url_mojom_origin",
108 ] 113 ]
109 } 114 }
110 115
116 mojom("mojo_test_interfaces") {
117 sources = [
118 "mojo/media_router_traits_test_service.mojom",
119 ]
120
121 public_deps = [
122 ":mojo_bindings",
123 ]
124 }
125
111 static_library("test_support") { 126 static_library("test_support") {
112 testonly = true 127 testonly = true
113 deps = [ 128 deps = [
114 ":router", 129 ":router",
115 "//chrome/test:test_support", 130 "//chrome/test:test_support",
116 "//testing/gmock", 131 "//testing/gmock",
117 ] 132 ]
118 sources = [ 133 sources = [
119 "mock_media_router.cc", 134 "mock_media_router.cc",
120 "mock_media_router.h", 135 "mock_media_router.h",
121 "mock_screen_availability_listener.cc", 136 "mock_screen_availability_listener.cc",
122 "mock_screen_availability_listener.h", 137 "mock_screen_availability_listener.h",
123 "test_helper.cc", 138 "test_helper.cc",
124 "test_helper.h", 139 "test_helper.h",
125 ] 140 ]
126 141
127 if (!is_android) { 142 if (!is_android) {
128 deps += [ 143 deps += [
129 ":mojo_bindings", 144 ":mojo_bindings",
145 ":mojo_test_interfaces",
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/discovery/media_sink_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698