OLD | NEW |
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 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
6 | 7 |
7 source_set("router") { | 8 source_set("router") { |
8 deps = [ | 9 deps = [ |
9 ":router_core", | 10 ":router_core", |
10 ":keyed_service_factories", | 11 ":keyed_service_factories", |
11 ] | 12 ] |
12 } | 13 } |
13 | 14 |
14 source_set("router_core") { | 15 source_set("router_core") { |
15 deps = [ | 16 deps = [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "//testing/gtest", | 60 "//testing/gtest", |
60 ] | 61 ] |
61 sources = [ | 62 sources = [ |
62 "media_route_unittest.cc", | 63 "media_route_unittest.cc", |
63 "media_sink_unittest.cc", | 64 "media_sink_unittest.cc", |
64 "media_source_unittest.cc", | 65 "media_source_unittest.cc", |
65 "route_id_manager_unittest.cc", | 66 "route_id_manager_unittest.cc", |
66 ] | 67 ] |
67 } | 68 } |
68 | 69 |
| 70 mojom("mojo_bindings") { |
| 71 sources = [ |
| 72 "media_router.mojom", |
| 73 ] |
| 74 } |
| 75 |
69 # Optional standalone test binary, for faster isolated builds. | 76 # Optional standalone test binary, for faster isolated builds. |
70 test("unit_tests_main") { | 77 test("unit_tests_main") { |
71 deps = [ | 78 deps = [ |
72 ":unit_tests", | 79 ":unit_tests", |
73 "//testing/gmock:gmock_main", | 80 "//testing/gmock:gmock_main", |
74 ] | 81 ] |
75 sources = [ | 82 sources = [ |
76 ":unittest_files", | 83 ":unittest_files", |
77 ] | 84 ] |
78 } | 85 } |
OLD | NEW |