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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
176 ":fake_connection_event_logger", | 176 ":fake_connection_event_logger", |
177 "//third_party/webrtc/modules/desktop_capture", | 177 "//third_party/webrtc/modules/desktop_capture", |
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") { |
joedow
2016/09/12 18:58:43
Zijie is making changes here as well but I think y
nicholss
2016/09/12 19:56:32
Acknowledged.
| |
187 testonly = true | 187 testonly = true |
188 defines = [] | |
189 libs = [] | |
188 | 190 |
189 sources = [ | 191 sources = [ |
190 "it2me_standalone_host_main.cc", | 192 "it2me_standalone_host_main.cc", |
191 ] | 193 ] |
192 | 194 |
193 deps = [ | 195 deps = [ |
194 ":it2me_standalone_host", | 196 ":it2me_standalone_host", |
195 "//build/win:default_exe_manifest", | 197 "//build/win:default_exe_manifest", |
196 ] | 198 ] |
197 | 199 |
198 if (is_desktop_linux) { | 200 if (is_desktop_linux) { |
199 deps += [ "//build/config/linux/gtk2" ] | 201 deps += [ "//build/config/linux/gtk2" ] |
200 } | 202 } |
203 | |
204 if (is_win) { | |
205 defines += [ "_ALT_NO_EXCEPTIONS" ] | |
206 | |
207 libs += [ | |
208 "rpcrt4.lib", | |
209 "wtsapi32.lib", | |
210 ] | |
211 } | |
201 } | 212 } |
202 } | 213 } |
203 | 214 |
204 source_set("unit_tests") { | 215 source_set("unit_tests") { |
205 testonly = true | 216 testonly = true |
206 | 217 |
207 sources = [ | 218 sources = [ |
208 "access_token_fetcher_unittest.cc", | 219 "access_token_fetcher_unittest.cc", |
209 "app_remoting_report_issue_request_unittest.cc", | 220 "app_remoting_report_issue_request_unittest.cc", |
210 "app_remoting_test_driver_environment_unittest.cc", | 221 "app_remoting_test_driver_environment_unittest.cc", |
211 "chromoting_test_driver_environment_unittest.cc", | 222 "chromoting_test_driver_environment_unittest.cc", |
212 "connection_time_observer_unittest.cc", | 223 "connection_time_observer_unittest.cc", |
213 "host_list_fetcher_unittest.cc", | 224 "host_list_fetcher_unittest.cc", |
214 "remote_host_info_fetcher_unittest.cc", | 225 "remote_host_info_fetcher_unittest.cc", |
215 "test_chromoting_client_unittest.cc", | 226 "test_chromoting_client_unittest.cc", |
216 "test_video_renderer_unittest.cc", | 227 "test_video_renderer_unittest.cc", |
217 ] | 228 ] |
218 | 229 |
219 deps = [ | 230 deps = [ |
220 ":ar_test_driver_common", | 231 ":ar_test_driver_common", |
221 ":test_support", | 232 ":test_support", |
222 "//base", | 233 "//base", |
223 "//net:test_support", | 234 "//net:test_support", |
224 "//testing/gmock", | 235 "//testing/gmock", |
225 "//testing/gtest", | 236 "//testing/gtest", |
226 "//third_party/libyuv", | 237 "//third_party/libyuv", |
227 "//third_party/webrtc/modules/desktop_capture", | 238 "//third_party/webrtc/modules/desktop_capture", |
228 ] | 239 ] |
229 } | 240 } |
OLD | NEW |