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", |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 | 133 |
134 deps = [ | 134 deps = [ |
135 ":ar_test_driver_common", | 135 ":ar_test_driver_common", |
136 "//base/test:test_support", | 136 "//base/test:test_support", |
137 "//build/config/sanitizers:deps", | 137 "//build/config/sanitizers:deps", |
138 "//build/win:default_exe_manifest", | 138 "//build/win:default_exe_manifest", |
139 "//testing/gtest", | 139 "//testing/gtest", |
140 ] | 140 ] |
141 } | 141 } |
142 | 142 |
143 static_library("counter_stubs") { | |
144 testonly = true | |
145 | |
146 sources = [ | |
147 "counter_stubs.cc", | |
148 "counter_stubs.h", | |
149 ] | |
150 | |
151 deps = [ | |
152 "//remoting/host", | |
153 "//remoting/protocol:test_support", | |
154 ] | |
155 } | |
156 | |
157 static_library("it2me_standalone_host") { | |
joedow
2016/05/03 22:28:29
I like this name much better than dummy_host, than
Hzj_jie
2016/05/04 02:11:56
:)
| |
158 testonly = true | |
159 | |
160 sources = [ | |
161 "it2me_standalone_host.cc", | |
162 "it2me_standalone_host.h", | |
163 ] | |
164 | |
165 deps = [ | |
166 ":counter_stubs", | |
167 "//third_party/webrtc/modules/desktop_capture", | |
168 ] | |
169 | |
170 public_deps = [ | |
171 "//remoting/host:test_support", | |
172 "//testing/gmock", | |
173 ] | |
174 } | |
175 | |
176 executable("it2me_standalone_host_runner") { | |
177 testonly = true | |
178 | |
179 sources = [ | |
180 "it2me_standalone_host_runner.cc", | |
joedow
2016/05/03 22:28:29
The convention I've seen for the executable cc fil
Hzj_jie
2016/05/04 02:11:56
Done.
| |
181 ] | |
182 | |
183 deps = [ | |
184 ":it2me_standalone_host", | |
185 ] | |
186 | |
187 if (is_desktop_linux) { | |
188 deps += [ "//build/config/linux/gtk2" ] | |
189 } | |
190 } | |
191 | |
143 source_set("unit_tests") { | 192 source_set("unit_tests") { |
144 testonly = true | 193 testonly = true |
145 | 194 |
146 sources = [ | 195 sources = [ |
147 "access_token_fetcher_unittest.cc", | 196 "access_token_fetcher_unittest.cc", |
148 "app_remoting_report_issue_request_unittest.cc", | 197 "app_remoting_report_issue_request_unittest.cc", |
149 "app_remoting_test_driver_environment_unittest.cc", | 198 "app_remoting_test_driver_environment_unittest.cc", |
150 "chromoting_test_driver_environment_unittest.cc", | 199 "chromoting_test_driver_environment_unittest.cc", |
151 "connection_time_observer_unittest.cc", | 200 "connection_time_observer_unittest.cc", |
152 "host_list_fetcher_unittest.cc", | 201 "host_list_fetcher_unittest.cc", |
153 "remote_host_info_fetcher_unittest.cc", | 202 "remote_host_info_fetcher_unittest.cc", |
154 "test_chromoting_client_unittest.cc", | 203 "test_chromoting_client_unittest.cc", |
155 "test_video_renderer_unittest.cc", | 204 "test_video_renderer_unittest.cc", |
156 ] | 205 ] |
157 | 206 |
158 deps = [ | 207 deps = [ |
159 ":ar_test_driver_common", | 208 ":ar_test_driver_common", |
160 ":test_support", | 209 ":test_support", |
161 "//base", | 210 "//base", |
162 "//net:test_support", | 211 "//net:test_support", |
163 "//testing/gmock", | 212 "//testing/gmock", |
164 "//testing/gtest", | 213 "//testing/gtest", |
165 "//third_party/libyuv", | 214 "//third_party/libyuv", |
166 "//third_party/webrtc/modules/desktop_capture", | 215 "//third_party/webrtc/modules/desktop_capture", |
167 ] | 216 ] |
168 } | 217 } |
OLD | NEW |