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

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

Issue 2675033002: [Media Router] Add MediaSink subtypes (Closed)
Patch Set: use base::Optional instead of union to store extra data 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 25 matching lines...) Expand all
36 "media_router_dialog_controller.cc", 36 "media_router_dialog_controller.cc",
37 "media_router_dialog_controller.h", 37 "media_router_dialog_controller.h",
38 "media_router_factory.cc", 38 "media_router_factory.cc",
39 "media_router_factory.h", 39 "media_router_factory.h",
40 "media_router_metrics.cc", 40 "media_router_metrics.cc",
41 "media_router_metrics.h", 41 "media_router_metrics.h",
42 "media_routes_observer.cc", 42 "media_routes_observer.cc",
43 "media_routes_observer.h", 43 "media_routes_observer.h",
44 "media_sink.cc", 44 "media_sink.cc",
45 "media_sink.h", 45 "media_sink.h",
46 "media_sink_internal.cc",
47 "media_sink_internal.h",
46 "media_sink_service.cc", 48 "media_sink_service.cc",
47 "media_sink_service.h", 49 "media_sink_service.h",
48 "media_sinks_observer.cc", 50 "media_sinks_observer.cc",
49 "media_sinks_observer.h", 51 "media_sinks_observer.h",
50 "media_source.cc", 52 "media_source.cc",
51 "media_source.h", 53 "media_source.h",
52 "media_source_helper.cc", 54 "media_source_helper.cc",
53 "media_source_helper.h", 55 "media_source_helper.h",
54 "offscreen_presentation_manager.cc", 56 "offscreen_presentation_manager.cc",
55 "offscreen_presentation_manager.h", 57 "offscreen_presentation_manager.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/media_sink_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698