| 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 static_library("router") { | 8 static_library("router") { |
| 9 deps = [ | 9 deps = [ |
| 10 "//base", | 10 "//base", |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 } | 89 } |
| 90 | 90 |
| 91 static_library("test_support") { | 91 static_library("test_support") { |
| 92 testonly = true | 92 testonly = true |
| 93 deps = [ | 93 deps = [ |
| 94 ":router", | 94 ":router", |
| 95 "//chrome/test:test_support", | 95 "//chrome/test:test_support", |
| 96 "//testing/gmock", | 96 "//testing/gmock", |
| 97 ] | 97 ] |
| 98 sources = [ | 98 sources = [ |
| 99 "discovery/dial/mock_device_description_service.cc", |
| 100 "discovery/dial/mock_device_description_service.h", |
| 99 "mock_media_router.cc", | 101 "mock_media_router.cc", |
| 100 "mock_media_router.h", | 102 "mock_media_router.h", |
| 101 "mock_screen_availability_listener.cc", | 103 "mock_screen_availability_listener.cc", |
| 102 "mock_screen_availability_listener.h", | 104 "mock_screen_availability_listener.h", |
| 103 "test_helper.cc", | 105 "test_helper.cc", |
| 104 "test_helper.h", | 106 "test_helper.h", |
| 105 ] | 107 ] |
| 106 | 108 |
| 107 if (!is_android) { | 109 if (!is_android) { |
| 108 deps += [ | 110 deps += [ |
| 109 "//chrome/common/media_router/mojo:media_router", | 111 "//chrome/common/media_router/mojo:media_router", |
| 110 "//chrome/common/media_router/mojo:media_router_test_interfaces", | 112 "//chrome/common/media_router/mojo:media_router_test_interfaces", |
| 111 "//extensions/common", | 113 "//extensions/common", |
| 112 ] | 114 ] |
| 113 sources += [ | 115 sources += [ |
| 114 "mojo/media_router_mojo_test.cc", | 116 "mojo/media_router_mojo_test.cc", |
| 115 "mojo/media_router_mojo_test.h", | 117 "mojo/media_router_mojo_test.h", |
| 116 ] | 118 ] |
| 117 } | 119 } |
| 118 } | 120 } |
| OLD | NEW |