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("//remoting/remoting_enable.gni") | 5 import("//remoting/remoting_enable.gni") |
6 | 6 |
7 static_library("test_support") { | 7 static_library("test_support") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 ] | 178 ] |
179 | 179 |
180 public_deps = [ | 180 public_deps = [ |
181 "//remoting/host:test_support", | 181 "//remoting/host:test_support", |
182 "//testing/gmock", | 182 "//testing/gmock", |
183 ] | 183 ] |
184 } | 184 } |
185 | 185 |
186 executable("it2me_standalone_host_main") { | 186 executable("it2me_standalone_host_main") { |
187 testonly = true | 187 testonly = true |
188 defines = [] | |
189 libs = [] | |
190 | 188 |
191 sources = [ | 189 sources = [ |
192 "it2me_standalone_host_main.cc", | 190 "it2me_standalone_host_main.cc", |
193 ] | 191 ] |
194 | 192 |
195 deps = [ | 193 deps = [ |
196 ":it2me_standalone_host", | 194 ":it2me_standalone_host", |
197 "//build/win:default_exe_manifest", | 195 "//build/win:default_exe_manifest", |
198 ] | 196 ] |
199 | 197 |
200 if (is_desktop_linux) { | 198 if (is_desktop_linux) { |
201 deps += [ "//build/config/linux/gtk2" ] | 199 deps += [ "//build/config/linux/gtk2" ] |
202 } | 200 } |
203 | |
204 if (is_win) { | |
205 defines += [ "_ALT_NO_EXCEPTIONS" ] | |
206 | |
207 libs += [ | |
208 "rpcrt4.lib", | |
209 "wtsapi32.lib", | |
210 ] | |
211 } | |
212 } | 201 } |
213 } | 202 } |
214 | 203 |
215 source_set("unit_tests") { | 204 source_set("unit_tests") { |
216 testonly = true | 205 testonly = true |
217 | 206 |
218 sources = [ | 207 sources = [ |
219 "access_token_fetcher_unittest.cc", | 208 "access_token_fetcher_unittest.cc", |
220 "app_remoting_report_issue_request_unittest.cc", | 209 "app_remoting_report_issue_request_unittest.cc", |
221 "app_remoting_test_driver_environment_unittest.cc", | 210 "app_remoting_test_driver_environment_unittest.cc", |
222 "chromoting_test_driver_environment_unittest.cc", | 211 "chromoting_test_driver_environment_unittest.cc", |
223 "connection_time_observer_unittest.cc", | 212 "connection_time_observer_unittest.cc", |
224 "host_list_fetcher_unittest.cc", | 213 "host_list_fetcher_unittest.cc", |
225 "remote_host_info_fetcher_unittest.cc", | 214 "remote_host_info_fetcher_unittest.cc", |
226 "test_chromoting_client_unittest.cc", | 215 "test_chromoting_client_unittest.cc", |
227 "test_video_renderer_unittest.cc", | 216 "test_video_renderer_unittest.cc", |
228 ] | 217 ] |
229 | 218 |
230 deps = [ | 219 deps = [ |
231 ":ar_test_driver_common", | 220 ":ar_test_driver_common", |
232 ":test_support", | 221 ":test_support", |
233 "//base", | 222 "//base", |
234 "//net:test_support", | 223 "//net:test_support", |
235 "//testing/gmock", | 224 "//testing/gmock", |
236 "//testing/gtest", | 225 "//testing/gtest", |
237 "//third_party/libyuv", | 226 "//third_party/libyuv", |
238 "//third_party/webrtc/modules/desktop_capture", | 227 "//third_party/webrtc/modules/desktop_capture", |
239 ] | 228 ] |
240 } | 229 } |
OLD | NEW |