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

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

Issue 1076973002: [Media Router] Reland: MediaRouter interfaces with stub implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/media_route.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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 source_set("router") { 7 source_set("router") {
8 deps = [ 8 deps = [
9 ":router_core",
10 ":keyed_service_factories",
11 ]
12 }
13
14 source_set("router_core") {
15 deps = [
9 "//base", 16 "//base",
17 "//components/keyed_service/core",
10 "//url", 18 "//url",
11 ] 19 ]
12 sources = [ 20 sources = [
13 "media_route.cc", 21 "media_route.cc",
14 "media_route.h", 22 "media_route.h",
15 "media_route_id.h", 23 "media_route_id.h",
24 "media_router.h",
25 "media_router_impl.cc",
26 "media_router_impl.h",
27 "media_routes_observer.cc",
28 "media_routes_observer.h",
16 "media_sink.cc", 29 "media_sink.cc",
17 "media_sink.h", 30 "media_sink.h",
31 "media_sinks_observer.cc",
32 "media_sinks_observer.h",
18 "media_source.cc", 33 "media_source.cc",
19 "media_source.h", 34 "media_source.h",
20 "media_source_helper.cc", 35 "media_source_helper.cc",
21 "media_source_helper.h", 36 "media_source_helper.h",
22 "route_id_manager.cc", 37 "route_id_manager.cc",
23 "route_id_manager.h", 38 "route_id_manager.h",
24 ] 39 ]
25 } 40 }
26 41
42 source_set("keyed_service_factories") {
43 deps = [
44 ":router_core",
45 "//components/keyed_service/content",
46 ]
47 sources = [
48 "media_router_impl_factory.cc",
49 "media_router_impl_factory.h",
50 ]
51 }
52
27 source_set("unit_tests") { 53 source_set("unit_tests") {
28 testonly = true 54 testonly = true
29 deps = [ 55 deps = [
30 ":router", 56 ":router_core",
31 "//base/test:test_support", 57 "//base/test:test_support",
32 "//testing/gmock", 58 "//testing/gmock",
33 "//testing/gtest", 59 "//testing/gtest",
34 ] 60 ]
35 sources = [ 61 sources = [
36 "media_route_unittest.cc", 62 "media_route_unittest.cc",
37 "media_sink_unittest.cc", 63 "media_sink_unittest.cc",
38 "media_source_unittest.cc", 64 "media_source_unittest.cc",
39 "route_id_manager_unittest.cc", 65 "route_id_manager_unittest.cc",
40 ] 66 ]
41 } 67 }
42 68
43 # Optional standalone test binary, for faster isolated builds. 69 # Optional standalone test binary, for faster isolated builds.
44 test("unit_tests_main") { 70 test("unit_tests_main") {
45 deps = [ 71 deps = [
46 ":unit_tests", 72 ":unit_tests",
47 "//testing/gmock:gmock_main", 73 "//testing/gmock:gmock_main",
48 ] 74 ]
49 sources = [ 75 sources = [
50 ":unittest_files", 76 ":unittest_files",
51 ] 77 ]
52 } 78 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/media_route.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698