| 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/util/process_version.gni") | 5 import("//build/util/process_version.gni") |
| 6 import("//remoting/build/config/remoting_build.gni") | 6 import("//remoting/build/config/remoting_build.gni") |
| 7 | 7 |
| 8 group("all_tests") { | 8 group("all_tests") { |
| 9 testonly = true | 9 testonly = true |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 # remoting_unittests requires that remoting_me2me_host.cc not be pulled in, | 49 # remoting_unittests requires that remoting_me2me_host.cc not be pulled in, |
| 50 # which in turn depends on remoting_me2me_host_static which isn't part of that | 50 # which in turn depends on remoting_me2me_host_static which isn't part of that |
| 51 # build. | 51 # build. |
| 52 # | 52 # |
| 53 # TODO fix this, successful builds should not depend on static libraries | 53 # TODO fix this, successful builds should not depend on static libraries |
| 54 # stripping code. | 54 # stripping code. |
| 55 static_library("host") { | 55 static_library("host") { |
| 56 sources = [ | 56 sources = [ |
| 57 "audio_capturer.cc", | 57 "audio_capturer.cc", |
| 58 "audio_capturer.h", | 58 "audio_capturer.h", |
| 59 "audio_capturer_android.cc", | |
| 60 "audio_capturer_linux.cc", | 59 "audio_capturer_linux.cc", |
| 61 "audio_capturer_linux.h", | 60 "audio_capturer_linux.h", |
| 62 "audio_capturer_mac.cc", | 61 "audio_capturer_mac.cc", |
| 63 "audio_capturer_win.cc", | 62 "audio_capturer_win.cc", |
| 64 "audio_capturer_win.h", | 63 "audio_capturer_win.h", |
| 65 "audio_silence_detector.cc", | 64 "audio_silence_detector.cc", |
| 66 "audio_silence_detector.h", | 65 "audio_silence_detector.h", |
| 67 "backoff_timer.cc", | 66 "backoff_timer.cc", |
| 68 "backoff_timer.h", | 67 "backoff_timer.h", |
| 69 "basic_desktop_environment.cc", | 68 "basic_desktop_environment.cc", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 98 "clipboard_mac.mm", | 97 "clipboard_mac.mm", |
| 99 "clipboard_win.cc", | 98 "clipboard_win.cc", |
| 100 "clipboard_x11.cc", | 99 "clipboard_x11.cc", |
| 101 "config_file_watcher.cc", | 100 "config_file_watcher.cc", |
| 102 "config_file_watcher.h", | 101 "config_file_watcher.h", |
| 103 "config_watcher.h", | 102 "config_watcher.h", |
| 104 "constants_mac.cc", | 103 "constants_mac.cc", |
| 105 "constants_mac.h", | 104 "constants_mac.h", |
| 106 "continue_window.cc", | 105 "continue_window.cc", |
| 107 "continue_window.h", | 106 "continue_window.h", |
| 108 "continue_window_android.cc", | |
| 109 "continue_window_chromeos.cc", | 107 "continue_window_chromeos.cc", |
| 110 "continue_window_linux.cc", | 108 "continue_window_linux.cc", |
| 111 "continue_window_mac.mm", | 109 "continue_window_mac.mm", |
| 112 "continue_window_win.cc", | 110 "continue_window_win.cc", |
| 113 "curtain_mode.h", | 111 "curtain_mode.h", |
| 114 "curtain_mode_android.cc", | |
| 115 "curtain_mode_linux.cc", | 112 "curtain_mode_linux.cc", |
| 116 "curtain_mode_mac.cc", | 113 "curtain_mode_mac.cc", |
| 117 "curtain_mode_win.cc", | 114 "curtain_mode_win.cc", |
| 118 "daemon_process.cc", | 115 "daemon_process.cc", |
| 119 "daemon_process.h", | 116 "daemon_process.h", |
| 120 "daemon_process_win.cc", | 117 "daemon_process_win.cc", |
| 121 "desktop_capturer_proxy.cc", | 118 "desktop_capturer_proxy.cc", |
| 122 "desktop_capturer_proxy.h", | 119 "desktop_capturer_proxy.h", |
| 123 "desktop_environment.h", | 120 "desktop_environment.h", |
| 124 "desktop_process.cc", | 121 "desktop_process.cc", |
| 125 "desktop_process.h", | 122 "desktop_process.h", |
| 126 "desktop_resizer.h", | 123 "desktop_resizer.h", |
| 127 "desktop_resizer_android.cc", | |
| 128 "desktop_resizer_mac.cc", | 124 "desktop_resizer_mac.cc", |
| 129 "desktop_resizer_ozone.cc", | 125 "desktop_resizer_ozone.cc", |
| 130 "desktop_resizer_win.cc", | 126 "desktop_resizer_win.cc", |
| 131 "desktop_resizer_x11.cc", | 127 "desktop_resizer_x11.cc", |
| 132 "desktop_session.cc", | 128 "desktop_session.cc", |
| 133 "desktop_session.h", | 129 "desktop_session.h", |
| 134 "desktop_session_agent.cc", | 130 "desktop_session_agent.cc", |
| 135 "desktop_session_agent.h", | 131 "desktop_session_agent.h", |
| 136 "desktop_session_connector.h", | 132 "desktop_session_connector.h", |
| 137 "desktop_session_proxy.cc", | 133 "desktop_session_proxy.cc", |
| 138 "desktop_session_proxy.h", | 134 "desktop_session_proxy.h", |
| 139 "desktop_session_win.cc", | 135 "desktop_session_win.cc", |
| 140 "desktop_session_win.h", | 136 "desktop_session_win.h", |
| 141 "disconnect_window_android.cc", | |
| 142 "disconnect_window_chromeos.cc", | 137 "disconnect_window_chromeos.cc", |
| 143 "disconnect_window_linux.cc", | 138 "disconnect_window_linux.cc", |
| 144 "disconnect_window_mac.h", | 139 "disconnect_window_mac.h", |
| 145 "disconnect_window_mac.mm", | 140 "disconnect_window_mac.mm", |
| 146 "disconnect_window_win.cc", | 141 "disconnect_window_win.cc", |
| 147 "dns_blackhole_checker.cc", | 142 "dns_blackhole_checker.cc", |
| 148 "dns_blackhole_checker.h", | 143 "dns_blackhole_checker.h", |
| 149 "gcd_rest_client.cc", | 144 "gcd_rest_client.cc", |
| 150 "gcd_rest_client.h", | 145 "gcd_rest_client.h", |
| 151 "gcd_state_updater.cc", | 146 "gcd_state_updater.cc", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 174 "host_secret.cc", | 169 "host_secret.cc", |
| 175 "host_secret.h", | 170 "host_secret.h", |
| 176 "host_status_logger.cc", | 171 "host_status_logger.cc", |
| 177 "host_status_logger.h", | 172 "host_status_logger.h", |
| 178 "host_status_monitor.h", | 173 "host_status_monitor.h", |
| 179 "host_status_observer.h", | 174 "host_status_observer.h", |
| 180 "host_window.h", | 175 "host_window.h", |
| 181 "host_window_proxy.cc", | 176 "host_window_proxy.cc", |
| 182 "host_window_proxy.h", | 177 "host_window_proxy.h", |
| 183 "input_injector.h", | 178 "input_injector.h", |
| 184 "input_injector_android.cc", | |
| 185 "input_injector_chromeos.cc", | 179 "input_injector_chromeos.cc", |
| 186 "input_injector_chromeos.h", | 180 "input_injector_chromeos.h", |
| 187 "input_injector_mac.cc", | 181 "input_injector_mac.cc", |
| 188 "input_injector_win.cc", | 182 "input_injector_win.cc", |
| 189 "input_injector_x11.cc", | 183 "input_injector_x11.cc", |
| 190 "ipc_audio_capturer.cc", | 184 "ipc_audio_capturer.cc", |
| 191 "ipc_audio_capturer.h", | 185 "ipc_audio_capturer.h", |
| 192 "ipc_constants.cc", | 186 "ipc_constants.cc", |
| 193 "ipc_constants.h", | 187 "ipc_constants.h", |
| 194 "ipc_desktop_environment.cc", | 188 "ipc_desktop_environment.cc", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 212 "linux/audio_pipe_reader.h", | 206 "linux/audio_pipe_reader.h", |
| 213 "linux/certificate_watcher.cc", | 207 "linux/certificate_watcher.cc", |
| 214 "linux/certificate_watcher.h", | 208 "linux/certificate_watcher.h", |
| 215 "linux/unicode_to_keysym.cc", | 209 "linux/unicode_to_keysym.cc", |
| 216 "linux/unicode_to_keysym.h", | 210 "linux/unicode_to_keysym.h", |
| 217 "linux/x11_util.cc", | 211 "linux/x11_util.cc", |
| 218 "linux/x11_util.h", | 212 "linux/x11_util.h", |
| 219 "linux/x_server_clipboard.cc", | 213 "linux/x_server_clipboard.cc", |
| 220 "linux/x_server_clipboard.h", | 214 "linux/x_server_clipboard.h", |
| 221 "local_input_monitor.h", | 215 "local_input_monitor.h", |
| 222 "local_input_monitor_android.cc", | |
| 223 "local_input_monitor_chromeos.cc", | 216 "local_input_monitor_chromeos.cc", |
| 224 "local_input_monitor_mac.mm", | 217 "local_input_monitor_mac.mm", |
| 225 "local_input_monitor_win.cc", | 218 "local_input_monitor_win.cc", |
| 226 "local_input_monitor_x11.cc", | 219 "local_input_monitor_x11.cc", |
| 227 "logging.h", | 220 "logging.h", |
| 228 "logging_linux.cc", | 221 "logging_linux.cc", |
| 229 "logging_mac.cc", | 222 "logging_mac.cc", |
| 230 "logging_win.cc", | 223 "logging_win.cc", |
| 231 "me2me_desktop_environment.cc", | 224 "me2me_desktop_environment.cc", |
| 232 "me2me_desktop_environment.h", | 225 "me2me_desktop_environment.h", |
| 233 "mouse_cursor_monitor_proxy.cc", | 226 "mouse_cursor_monitor_proxy.cc", |
| 234 "mouse_cursor_monitor_proxy.h", | 227 "mouse_cursor_monitor_proxy.h", |
| 235 "mouse_shape_pump.cc", | 228 "mouse_shape_pump.cc", |
| 236 "mouse_shape_pump.h", | 229 "mouse_shape_pump.h", |
| 237 "oauth_token_getter.cc", | 230 "oauth_token_getter.cc", |
| 238 "oauth_token_getter.h", | 231 "oauth_token_getter.h", |
| 239 "oauth_token_getter_impl.cc", | 232 "oauth_token_getter_impl.cc", |
| 240 "oauth_token_getter_impl.h", | 233 "oauth_token_getter_impl.h", |
| 241 "pairing_registry_delegate.cc", | 234 "pairing_registry_delegate.cc", |
| 242 "pairing_registry_delegate.h", | 235 "pairing_registry_delegate.h", |
| 243 "pairing_registry_delegate_android.cc", | |
| 244 "pairing_registry_delegate_linux.cc", | 236 "pairing_registry_delegate_linux.cc", |
| 245 "pairing_registry_delegate_linux.h", | 237 "pairing_registry_delegate_linux.h", |
| 246 "pairing_registry_delegate_mac.cc", | 238 "pairing_registry_delegate_mac.cc", |
| 247 "pairing_registry_delegate_win.cc", | 239 "pairing_registry_delegate_win.cc", |
| 248 "pairing_registry_delegate_win.h", | 240 "pairing_registry_delegate_win.h", |
| 249 "pin_hash.cc", | 241 "pin_hash.cc", |
| 250 "pin_hash.h", | 242 "pin_hash.h", |
| 251 "policy_watcher.cc", | 243 "policy_watcher.cc", |
| 252 "policy_watcher.h", | 244 "policy_watcher.h", |
| 253 "posix/signal_handler.cc", | 245 "posix/signal_handler.cc", |
| 254 "posix/signal_handler.h", | 246 "posix/signal_handler.h", |
| 255 "register_support_host_request.cc", | 247 "register_support_host_request.cc", |
| 256 "register_support_host_request.h", | 248 "register_support_host_request.h", |
| 257 "remote_input_filter.cc", | 249 "remote_input_filter.cc", |
| 258 "remote_input_filter.h", | 250 "remote_input_filter.h", |
| 259 "resizing_host_observer.cc", | 251 "resizing_host_observer.cc", |
| 260 "resizing_host_observer.h", | 252 "resizing_host_observer.h", |
| 261 "resources.h", | 253 "resources.h", |
| 262 "resources_android.cc", | |
| 263 "resources_linux.cc", | 254 "resources_linux.cc", |
| 264 "resources_mac.cc", | 255 "resources_mac.cc", |
| 265 "resources_win.cc", | 256 "resources_win.cc", |
| 266 "sas_injector.h", | 257 "sas_injector.h", |
| 267 "sas_injector_win.cc", | 258 "sas_injector_win.cc", |
| 268 "screen_controls.h", | 259 "screen_controls.h", |
| 269 "screen_resolution.cc", | 260 "screen_resolution.cc", |
| 270 "screen_resolution.h", | 261 "screen_resolution.h", |
| 271 "server_log_entry_host.cc", | 262 "server_log_entry_host.cc", |
| 272 "server_log_entry_host.h", | 263 "server_log_entry_host.h", |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 "//remoting/host/win:messages", | 425 "//remoting/host/win:messages", |
| 435 "//remoting/host/win:remoting_lib_idl", | 426 "//remoting/host/win:remoting_lib_idl", |
| 436 ] | 427 ] |
| 437 | 428 |
| 438 public_deps += [ "//remoting/host/win" ] | 429 public_deps += [ "//remoting/host/win" ] |
| 439 } | 430 } |
| 440 | 431 |
| 441 if (enable_webrtc) { | 432 if (enable_webrtc) { |
| 442 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 433 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 443 } | 434 } |
| 444 | |
| 445 if (is_android) { | |
| 446 sources -= [ | |
| 447 "single_window_desktop_environment.cc", | |
| 448 "single_window_desktop_environment.h", | |
| 449 ] | |
| 450 } | |
| 451 } | 435 } |
| 452 | 436 |
| 453 static_library("test_support") { | 437 static_library("test_support") { |
| 454 testonly = true | 438 testonly = true |
| 455 | 439 |
| 456 sources = [ | 440 sources = [ |
| 457 "fake_desktop_environment.cc", | 441 "fake_desktop_environment.cc", |
| 458 "fake_desktop_environment.h", | 442 "fake_desktop_environment.h", |
| 459 "fake_host_extension.cc", | 443 "fake_host_extension.cc", |
| 460 "fake_host_extension.h", | 444 "fake_host_extension.h", |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 | 532 |
| 549 if (!use_x11 && is_linux) { | 533 if (!use_x11 && is_linux) { |
| 550 sources -= [ "linux/unicode_to_keysym_unittest.cc" ] | 534 sources -= [ "linux/unicode_to_keysym_unittest.cc" ] |
| 551 } | 535 } |
| 552 if (use_ozone || is_chromeos) { | 536 if (use_ozone || is_chromeos) { |
| 553 sources -= [ "local_input_monitor_unittest.cc" ] | 537 sources -= [ "local_input_monitor_unittest.cc" ] |
| 554 } | 538 } |
| 555 if (is_chromeos) { | 539 if (is_chromeos) { |
| 556 sources -= [ "linux/x_server_clipboard_unittest.cc" ] | 540 sources -= [ "linux/x_server_clipboard_unittest.cc" ] |
| 557 } | 541 } |
| 558 if (is_android) { | |
| 559 sources -= [ "it2me/it2me_native_messaging_host_unittest.cc" ] | |
| 560 } | |
| 561 | 542 |
| 562 configs += [ "//remoting/build/config:version" ] | 543 configs += [ "//remoting/build/config:version" ] |
| 563 | 544 |
| 564 deps = [ | 545 deps = [ |
| 565 ":host", | 546 ":host", |
| 566 ":test_support", | 547 ":test_support", |
| 567 "//remoting/host/it2me:common", | 548 "//remoting/host/it2me:common", |
| 568 "//remoting/host/native_messaging", | 549 "//remoting/host/native_messaging", |
| 569 "//remoting/host/security_key:unit_tests", | 550 "//remoting/host/security_key:unit_tests", |
| 570 "//remoting/host/setup", | 551 "//remoting/host/setup", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 596 | 577 |
| 597 if (enable_remoting_host) { | 578 if (enable_remoting_host) { |
| 598 group("remoting_host_installation") { | 579 group("remoting_host_installation") { |
| 599 deps = [] | 580 deps = [] |
| 600 if (is_win) { | 581 if (is_win) { |
| 601 deps += [ "//remoting/host/installer/win:remoting_host_installation" ] | 582 deps += [ "//remoting/host/installer/win:remoting_host_installation" ] |
| 602 } | 583 } |
| 603 } | 584 } |
| 604 } | 585 } |
| 605 | 586 |
| 606 if (enable_remoting_host && !is_android) { | 587 if (enable_remoting_host) { |
| 607 executable("remoting_start_host") { | 588 executable("remoting_start_host") { |
| 608 sources = [ | 589 sources = [ |
| 609 "setup/start_host_entry_point.cc", | 590 "setup/start_host_entry_point.cc", |
| 610 ] | 591 ] |
| 611 | 592 |
| 612 deps = [ | 593 deps = [ |
| 613 "//build/config/sanitizers:deps", | 594 "//build/config/sanitizers:deps", |
| 614 ] | 595 ] |
| 615 | 596 |
| 616 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 597 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1388 "mac/me2me_preference_pane_disable.xib", | 1369 "mac/me2me_preference_pane_disable.xib", |
| 1389 | 1370 |
| 1390 #"mac/me2me_preference_pane-Info.plist", | 1371 #"mac/me2me_preference_pane-Info.plist", |
| 1391 ] | 1372 ] |
| 1392 } | 1373 } |
| 1393 } else { | 1374 } else { |
| 1394 group("remoting_me2me_host_archive") { | 1375 group("remoting_me2me_host_archive") { |
| 1395 } | 1376 } |
| 1396 } | 1377 } |
| 1397 } | 1378 } |
| OLD | NEW |