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 | 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 } | 142 } |
143 | 143 |
144 static_library("test_support") { | 144 static_library("test_support") { |
145 testonly = true | 145 testonly = true |
146 deps = [ | 146 deps = [ |
147 ":router", | 147 ":router", |
148 "//chrome/test:test_support", | 148 "//chrome/test:test_support", |
149 "//testing/gmock", | 149 "//testing/gmock", |
150 ] | 150 ] |
151 sources = [ | 151 sources = [ |
| 152 "discovery/dial/mock_device_description_service.cc", |
| 153 "discovery/dial/mock_device_description_service.h", |
152 "mock_media_router.cc", | 154 "mock_media_router.cc", |
153 "mock_media_router.h", | 155 "mock_media_router.h", |
154 "mock_screen_availability_listener.cc", | 156 "mock_screen_availability_listener.cc", |
155 "mock_screen_availability_listener.h", | 157 "mock_screen_availability_listener.h", |
156 "test_helper.cc", | 158 "test_helper.cc", |
157 "test_helper.h", | 159 "test_helper.h", |
158 ] | 160 ] |
159 | 161 |
160 if (!is_android) { | 162 if (!is_android) { |
161 deps += [ | 163 deps += [ |
162 ":mojo_bindings", | 164 ":mojo_bindings", |
163 ":mojo_test_interfaces", | 165 ":mojo_test_interfaces", |
164 "//extensions/common", | 166 "//extensions/common", |
165 ] | 167 ] |
166 sources += [ | 168 sources += [ |
167 "mojo/media_router_mojo_test.cc", | 169 "mojo/media_router_mojo_test.cc", |
168 "mojo/media_router_mojo_test.h", | 170 "mojo/media_router_mojo_test.h", |
169 ] | 171 ] |
170 } | 172 } |
171 } | 173 } |
OLD | NEW |