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 source_set("test_support") { | 5 source_set("test_support") { |
6 testonly = true | 6 testonly = true |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "access_token_fetcher.cc", | 9 "access_token_fetcher.cc", |
10 "access_token_fetcher.h", | 10 "access_token_fetcher.h", |
11 "app_remoting_report_issue_request.cc", | 11 "app_remoting_report_issue_request.cc", |
12 "app_remoting_report_issue_request.h", | 12 "app_remoting_report_issue_request.h", |
13 "app_remoting_service_urls.cc", | 13 "app_remoting_service_urls.cc", |
14 "app_remoting_service_urls.h", | 14 "app_remoting_service_urls.h", |
15 "chromoting_test_driver_environment.cc", | 15 "chromoting_test_driver_environment.cc", |
16 "chromoting_test_driver_environment.h", | 16 "chromoting_test_driver_environment.h", |
17 "connection_setup_info.cc", | 17 "connection_setup_info.cc", |
18 "connection_setup_info.h", | 18 "connection_setup_info.h", |
| 19 "connection_time_observer.cc", |
| 20 "connection_time_observer.h", |
19 "fake_access_token_fetcher.cc", | 21 "fake_access_token_fetcher.cc", |
20 "fake_access_token_fetcher.h", | 22 "fake_access_token_fetcher.h", |
21 "fake_app_remoting_report_issue_request.cc", | 23 "fake_app_remoting_report_issue_request.cc", |
22 "fake_app_remoting_report_issue_request.h", | 24 "fake_app_remoting_report_issue_request.h", |
23 "fake_host_list_fetcher.cc", | 25 "fake_host_list_fetcher.cc", |
24 "fake_host_list_fetcher.h", | 26 "fake_host_list_fetcher.h", |
25 "fake_network_dispatcher.cc", | 27 "fake_network_dispatcher.cc", |
26 "fake_network_dispatcher.h", | 28 "fake_network_dispatcher.h", |
27 "fake_network_manager.cc", | 29 "fake_network_manager.cc", |
28 "fake_network_manager.h", | 30 "fake_network_manager.h", |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ] | 129 ] |
128 } | 130 } |
129 | 131 |
130 source_set("unit_tests") { | 132 source_set("unit_tests") { |
131 testonly = true | 133 testonly = true |
132 | 134 |
133 sources = [ | 135 sources = [ |
134 "access_token_fetcher_unittest.cc", | 136 "access_token_fetcher_unittest.cc", |
135 "app_remoting_report_issue_request_unittest.cc", | 137 "app_remoting_report_issue_request_unittest.cc", |
136 "chromoting_test_driver_environment_unittest.cc", | 138 "chromoting_test_driver_environment_unittest.cc", |
| 139 "connection_time_observer_unittest.cc", |
137 "host_list_fetcher_unittest.cc", | 140 "host_list_fetcher_unittest.cc", |
138 "remote_host_info_fetcher_unittest.cc", | 141 "remote_host_info_fetcher_unittest.cc", |
139 "test_chromoting_client_unittest.cc", | 142 "test_chromoting_client_unittest.cc", |
140 "test_video_renderer_unittest.cc", | 143 "test_video_renderer_unittest.cc", |
141 | 144 |
142 # TODO(sergeyu): app_remoting_test_driver_environment_unittest.cc | 145 # TODO(sergeyu): app_remoting_test_driver_environment_unittest.cc |
143 # depends on ar_test_driver_common target and that target implicitly | 146 # depends on ar_test_driver_common target and that target implicitly |
144 # depends on app_remoting_test_driver_environment_app_details.cc to | 147 # depends on app_remoting_test_driver_environment_app_details.cc to |
145 # allow some parameters to be overridden (i.e. *app_details.cc file can | 148 # allow some parameters to be overridden (i.e. *app_details.cc file can |
146 # be replace with a different one). This means that app_deails.cc file | 149 # be replace with a different one). This means that app_deails.cc file |
147 # has to be included here explicitly. Fix | 150 # has to be included here explicitly. Fix |
148 # app_remoting_test_driver_environment.cc to avoid this implicit | 151 # app_remoting_test_driver_environment.cc to avoid this implicit |
149 # dependency on *app_details.cc . | 152 # dependency on *app_details.cc . |
150 # http://crbug.com/510887 | 153 # http://crbug.com/510887 |
151 "app_remoting_test_driver_environment_app_details.cc", | 154 "app_remoting_test_driver_environment_app_details.cc", |
152 "app_remoting_test_driver_environment_unittest.cc", | 155 "app_remoting_test_driver_environment_unittest.cc", |
153 ] | 156 ] |
154 | 157 |
155 deps = [ | 158 deps = [ |
156 ":test_support", | 159 ":test_support", |
157 ":ar_test_driver_common", | 160 ":ar_test_driver_common", |
158 "//base", | 161 "//base", |
159 "//net:test_support", | 162 "//net:test_support", |
160 "//testing/gmock", | 163 "//testing/gmock", |
161 "//testing/gtest", | 164 "//testing/gtest", |
162 "//third_party/libyuv", | 165 "//third_party/libyuv", |
163 "//third_party/webrtc/modules/desktop_capture", | 166 "//third_party/webrtc/modules/desktop_capture", |
164 ] | 167 ] |
165 } | 168 } |
OLD | NEW |