| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//remoting/remoting_host.gni") | 7 import("//remoting/remoting_host.gni") |
| 8 import("//remoting/remoting_locales.gni") | 8 import("//remoting/remoting_locales.gni") |
| 9 import("//remoting/remoting_srcs.gni") | 9 import("//remoting/remoting_srcs.gni") |
| 10 import("//remoting/remoting_version.gni") | 10 import("//remoting/remoting_version.gni") |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 "fake_desktop_capturer.cc", | 207 "fake_desktop_capturer.cc", |
| 208 "fake_desktop_capturer.h", | 208 "fake_desktop_capturer.h", |
| 209 "fake_desktop_environment.cc", | 209 "fake_desktop_environment.cc", |
| 210 "fake_desktop_environment.h", | 210 "fake_desktop_environment.h", |
| 211 "fake_host_extension.cc", | 211 "fake_host_extension.cc", |
| 212 "fake_host_extension.h", | 212 "fake_host_extension.h", |
| 213 "fake_host_status_monitor.h", | 213 "fake_host_status_monitor.h", |
| 214 "fake_host_status_monitor.h", | 214 "fake_host_status_monitor.h", |
| 215 "fake_mouse_cursor_monitor.cc", | 215 "fake_mouse_cursor_monitor.cc", |
| 216 "fake_mouse_cursor_monitor.h", | 216 "fake_mouse_cursor_monitor.h", |
| 217 "fake_oauth_token_getter.cc", |
| 218 "fake_oauth_token_getter.h", |
| 219 "host_mock_objects.cc", |
| 220 "setup/mock_oauth_client.cc", |
| 221 "setup/mock_oauth_client.h", |
| 217 ] | 222 ] |
| 218 | 223 |
| 219 configs += [ "//remoting:version" ] | 224 configs += [ "//remoting:version" ] |
| 220 | 225 |
| 221 deps = [ | 226 deps = [ |
| 222 "//remoting/proto", | 227 "//remoting/proto", |
| 228 "//testing/gmock", |
| 223 "//testing/gtest", | 229 "//testing/gtest", |
| 224 ] | 230 ] |
| 225 public_deps = [ | 231 public_deps = [ |
| 226 ":host", | 232 ":host", |
| 227 ] | 233 ] |
| 228 | 234 |
| 229 if (enable_webrtc) { | 235 if (enable_webrtc) { |
| 230 public_deps += [ | 236 public_deps += [ |
| 231 "//third_party/libjingle:libpeerconnection", | 237 "//third_party/libjingle:libpeerconnection", |
| 232 "//third_party/webrtc/modules/desktop_capture", | 238 "//third_party/webrtc/modules/desktop_capture", |
| 233 ] | 239 ] |
| 234 } | 240 } |
| 235 } | 241 } |
| 236 | 242 |
| 237 # The host portions of the remoting unit tests. | 243 # The host portions of the remoting unit tests. |
| 238 source_set("unit_tests") { | 244 source_set("unit_tests") { |
| 239 testonly = true | 245 testonly = true |
| 240 | 246 |
| 241 sources = [ | 247 sources = [ |
| 242 "audio_pump_unittest.cc", | 248 "audio_pump_unittest.cc", |
| 243 "audio_silence_detector_unittest.cc", | 249 "audio_silence_detector_unittest.cc", |
| 250 "backoff_timer_unittest.cc", |
| 244 "capture_scheduler_unittest.cc", | 251 "capture_scheduler_unittest.cc", |
| 245 "chromeos/aura_desktop_capturer_unittest.cc", | 252 "chromeos/aura_desktop_capturer_unittest.cc", |
| 246 "chromeos/clipboard_aura_unittest.cc", | 253 "chromeos/clipboard_aura_unittest.cc", |
| 247 "chromoting_host_context_unittest.cc", | 254 "chromoting_host_context_unittest.cc", |
| 248 "chromoting_host_unittest.cc", | 255 "chromoting_host_unittest.cc", |
| 249 "client_session_unittest.cc", | 256 "client_session_unittest.cc", |
| 250 "config_file_watcher_unittest.cc", | 257 "config_file_watcher_unittest.cc", |
| 251 "daemon_process_unittest.cc", | 258 "daemon_process_unittest.cc", |
| 252 "desktop_process_unittest.cc", | 259 "desktop_process_unittest.cc", |
| 253 "desktop_shape_tracker_unittest.cc", | 260 "desktop_shape_tracker_unittest.cc", |
| 261 "gcd_rest_client_unittest.cc", |
| 262 "gcd_state_updater_unittest.cc", |
| 254 "gnubby_auth_handler_posix_unittest.cc", | 263 "gnubby_auth_handler_posix_unittest.cc", |
| 255 "heartbeat_sender_unittest.cc", | 264 "heartbeat_sender_unittest.cc", |
| 256 "host_change_notification_listener_unittest.cc", | 265 "host_change_notification_listener_unittest.cc", |
| 257 "host_config_unittest.cc", | 266 "host_config_unittest.cc", |
| 258 "host_extension_session_manager_unittest.cc", | 267 "host_extension_session_manager_unittest.cc", |
| 259 "host_mock_objects.cc", | |
| 260 "host_status_logger_unittest.cc", | 268 "host_status_logger_unittest.cc", |
| 261 "ipc_desktop_environment_unittest.cc", | 269 "ipc_desktop_environment_unittest.cc", |
| 262 "it2me/it2me_confirmation_dialog_proxy_unittest.cc", | 270 "it2me/it2me_confirmation_dialog_proxy_unittest.cc", |
| 263 "it2me/it2me_native_messaging_host_unittest.cc", | 271 "it2me/it2me_native_messaging_host_unittest.cc", |
| 264 "linux/audio_pipe_reader_unittest.cc", | 272 "linux/audio_pipe_reader_unittest.cc", |
| 265 "linux/unicode_to_keysym_unittest.cc", | 273 "linux/unicode_to_keysym_unittest.cc", |
| 266 "linux/x_server_clipboard_unittest.cc", | 274 "linux/x_server_clipboard_unittest.cc", |
| 267 "local_input_monitor_unittest.cc", | 275 "local_input_monitor_unittest.cc", |
| 268 "mouse_shape_pump_unittest.cc", | 276 "mouse_shape_pump_unittest.cc", |
| 269 "native_messaging/native_messaging_reader_unittest.cc", | 277 "native_messaging/native_messaging_reader_unittest.cc", |
| 270 "native_messaging/native_messaging_writer_unittest.cc", | 278 "native_messaging/native_messaging_writer_unittest.cc", |
| 271 "pairing_registry_delegate_linux_unittest.cc", | 279 "pairing_registry_delegate_linux_unittest.cc", |
| 272 "pairing_registry_delegate_win_unittest.cc", | 280 "pairing_registry_delegate_win_unittest.cc", |
| 273 "pin_hash_unittest.cc", | 281 "pin_hash_unittest.cc", |
| 274 "policy_watcher_unittest.cc", | 282 "policy_watcher_unittest.cc", |
| 275 "register_support_host_request_unittest.cc", | 283 "register_support_host_request_unittest.cc", |
| 276 "remote_input_filter_unittest.cc", | 284 "remote_input_filter_unittest.cc", |
| 277 "resizing_host_observer_unittest.cc", | 285 "resizing_host_observer_unittest.cc", |
| 278 "screen_resolution_unittest.cc", | 286 "screen_resolution_unittest.cc", |
| 279 "server_log_entry_host_unittest.cc", | 287 "server_log_entry_host_unittest.cc", |
| 280 "setup/me2me_native_messaging_host_unittest.cc", | 288 "setup/me2me_native_messaging_host_unittest.cc", |
| 281 "setup/mock_oauth_client.cc", | |
| 282 "setup/oauth_helper_unittest.cc", | 289 "setup/oauth_helper_unittest.cc", |
| 283 "setup/pin_validator_unittest.cc", | 290 "setup/pin_validator_unittest.cc", |
| 284 "shaped_desktop_capturer_unittest.cc", | 291 "shaped_desktop_capturer_unittest.cc", |
| 292 "third_party_auth_config_unittest.cc", |
| 285 "token_validator_factory_impl_unittest.cc", | 293 "token_validator_factory_impl_unittest.cc", |
| 294 "touch_injector_win_unittest.cc", |
| 286 "video_frame_pump_unittest.cc", | 295 "video_frame_pump_unittest.cc", |
| 287 "video_frame_recorder_unittest.cc", | 296 "video_frame_recorder_unittest.cc", |
| 288 "win/rdp_client_unittest.cc", | 297 "win/rdp_client_unittest.cc", |
| 289 "win/worker_process_launcher.cc", | |
| 290 "win/worker_process_launcher.h", | |
| 291 "win/worker_process_launcher_unittest.cc", | 298 "win/worker_process_launcher_unittest.cc", |
| 292 ] | 299 ] |
| 293 | 300 |
| 294 if (use_ozone || is_chromeos) { | 301 if (use_ozone || is_chromeos) { |
| 295 sources -= [ "local_input_monitor_unittest.cc" ] | 302 sources -= [ "local_input_monitor_unittest.cc" ] |
| 296 } | 303 } |
| 297 if (is_chromeos) { | 304 if (is_chromeos) { |
| 298 sources -= [ "linux/x_server_clipboard_unittest.cc" ] | 305 sources -= [ "linux/x_server_clipboard_unittest.cc" ] |
| 299 } | 306 } |
| 300 | 307 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 ] | 465 ] |
| 459 | 466 |
| 460 deps = [ | 467 deps = [ |
| 461 ":remoting_me2me_host_static", | 468 ":remoting_me2me_host_static", |
| 462 ":credits", | 469 ":credits", |
| 463 ] | 470 ] |
| 464 } | 471 } |
| 465 } | 472 } |
| 466 } | 473 } |
| 467 } | 474 } |
| OLD | NEW |