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("//build/config/win/manifest.gni") | 7 import("//build/config/win/manifest.gni") |
8 import("//build/util/version.gni") | 8 import("//build/util/version.gni") |
9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
10 import("//remoting/remoting_enable.gni") | 10 import("//remoting/remoting_enable.gni") |
11 import("//remoting/remoting_locales.gni") | 11 import("//remoting/remoting_locales.gni") |
12 import("//remoting/remoting_options.gni") | 12 import("//remoting/remoting_options.gni") |
13 import("//remoting/remoting_srcs.gni") | |
14 import("//remoting/remoting_version.gni") | 13 import("//remoting/remoting_version.gni") |
15 import("//remoting/tools/build/remoting_localize.gni") | 14 import("//remoting/tools/build/remoting_localize.gni") |
16 | 15 |
17 process_version("remoting_version") { | 16 process_version("remoting_version") { |
18 template_file = "//remoting/host/version.h.in" | 17 template_file = "//remoting/host/version.h.in" |
19 sources = [ | 18 sources = [ |
20 branding_path, | 19 branding_path, |
21 ] | 20 ] |
22 output = "$target_gen_dir/version.h" | 21 output = "$target_gen_dir/version.h" |
23 } | 22 } |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } | 84 } |
86 | 85 |
87 # This must be a static library instead of a source set because | 86 # This must be a static library instead of a source set because |
88 # remoting_unittests requires that remoting_me2me_host.cc not be pulled in, | 87 # remoting_unittests requires that remoting_me2me_host.cc not be pulled in, |
89 # which in turn depends on remoting_me2me_host_static which isn't part of that | 88 # which in turn depends on remoting_me2me_host_static which isn't part of that |
90 # build. | 89 # build. |
91 # | 90 # |
92 # TODO fix this, successful builds should not depend on static libraries | 91 # TODO fix this, successful builds should not depend on static libraries |
93 # stripping code. | 92 # stripping code. |
94 static_library("host") { | 93 static_library("host") { |
95 sources = rebase_path(remoting_host_srcs_gypi_values.remoting_host_sources, | 94 sources = [ |
96 ".", | 95 "audio_capturer.cc", |
97 "//remoting") | 96 "audio_capturer.h", |
| 97 "audio_capturer_android.cc", |
| 98 "audio_capturer_linux.cc", |
| 99 "audio_capturer_linux.h", |
| 100 "audio_capturer_mac.cc", |
| 101 "audio_capturer_win.cc", |
| 102 "audio_capturer_win.h", |
| 103 "audio_pump.cc", |
| 104 "audio_pump.h", |
| 105 "audio_silence_detector.cc", |
| 106 "audio_silence_detector.h", |
| 107 "backoff_timer.cc", |
| 108 "backoff_timer.h", |
| 109 "basic_desktop_environment.cc", |
| 110 "basic_desktop_environment.h", |
| 111 "branding.cc", |
| 112 "branding.h", |
| 113 "chromeos/aura_desktop_capturer.cc", |
| 114 "chromeos/aura_desktop_capturer.h", |
| 115 "chromeos/clipboard_aura.cc", |
| 116 "chromeos/clipboard_aura.h", |
| 117 "chromeos/message_box.cc", |
| 118 "chromeos/message_box.h", |
| 119 "chromeos/mouse_cursor_monitor_aura.cc", |
| 120 "chromeos/mouse_cursor_monitor_aura.h", |
| 121 "chromeos/point_transformer.cc", |
| 122 "chromeos/point_transformer.h", |
| 123 "chromeos/skia_bitmap_desktop_frame.cc", |
| 124 "chromeos/skia_bitmap_desktop_frame.h", |
| 125 "chromoting_host.cc", |
| 126 "chromoting_host.h", |
| 127 "chromoting_host_context.cc", |
| 128 "chromoting_host_context.h", |
| 129 "chromoting_messages.cc", |
| 130 "chromoting_messages.h", |
| 131 "chromoting_param_traits.cc", |
| 132 "chromoting_param_traits.h", |
| 133 "client_session.cc", |
| 134 "client_session.h", |
| 135 "client_session_control.h", |
| 136 "client_session_details.h", |
| 137 "clipboard.h", |
| 138 "clipboard_mac.mm", |
| 139 "clipboard_win.cc", |
| 140 "clipboard_x11.cc", |
| 141 "config_file_watcher.cc", |
| 142 "config_file_watcher.h", |
| 143 "config_watcher.h", |
| 144 "constants_mac.cc", |
| 145 "constants_mac.h", |
| 146 "continue_window.cc", |
| 147 "continue_window.h", |
| 148 "continue_window_android.cc", |
| 149 "continue_window_chromeos.cc", |
| 150 "continue_window_linux.cc", |
| 151 "continue_window_mac.mm", |
| 152 "continue_window_win.cc", |
| 153 "curtain_mode.h", |
| 154 "curtain_mode_android.cc", |
| 155 "curtain_mode_linux.cc", |
| 156 "curtain_mode_mac.cc", |
| 157 "curtain_mode_win.cc", |
| 158 "daemon_process.cc", |
| 159 "daemon_process.h", |
| 160 "daemon_process_win.cc", |
| 161 "desktop_capturer_proxy.cc", |
| 162 "desktop_capturer_proxy.h", |
| 163 "desktop_environment.h", |
| 164 "desktop_process.cc", |
| 165 "desktop_process.h", |
| 166 "desktop_resizer.h", |
| 167 "desktop_resizer_android.cc", |
| 168 "desktop_resizer_mac.cc", |
| 169 "desktop_resizer_ozone.cc", |
| 170 "desktop_resizer_win.cc", |
| 171 "desktop_resizer_x11.cc", |
| 172 "desktop_session.cc", |
| 173 "desktop_session.h", |
| 174 "desktop_session_agent.cc", |
| 175 "desktop_session_agent.h", |
| 176 "desktop_session_connector.h", |
| 177 "desktop_session_proxy.cc", |
| 178 "desktop_session_proxy.h", |
| 179 "desktop_session_win.cc", |
| 180 "desktop_session_win.h", |
| 181 "disconnect_window_android.cc", |
| 182 "disconnect_window_chromeos.cc", |
| 183 "disconnect_window_linux.cc", |
| 184 "disconnect_window_mac.h", |
| 185 "disconnect_window_mac.mm", |
| 186 "disconnect_window_win.cc", |
| 187 "dns_blackhole_checker.cc", |
| 188 "dns_blackhole_checker.h", |
| 189 "gcd_rest_client.cc", |
| 190 "gcd_rest_client.h", |
| 191 "gcd_state_updater.cc", |
| 192 "gcd_state_updater.h", |
| 193 "heartbeat_sender.cc", |
| 194 "heartbeat_sender.h", |
| 195 "host_change_notification_listener.cc", |
| 196 "host_change_notification_listener.h", |
| 197 "host_config.cc", |
| 198 "host_config.h", |
| 199 "host_config_constants.cc", |
| 200 "host_details.cc", |
| 201 "host_details.h", |
| 202 "host_event_logger.h", |
| 203 "host_event_logger_posix.cc", |
| 204 "host_event_logger_win.cc", |
| 205 "host_exit_codes.cc", |
| 206 "host_exit_codes.h", |
| 207 "host_export.h", |
| 208 "host_extension.h", |
| 209 "host_extension_session.h", |
| 210 "host_extension_session_manager.cc", |
| 211 "host_extension_session_manager.h", |
| 212 "host_power_save_blocker.cc", |
| 213 "host_power_save_blocker.h", |
| 214 "host_secret.cc", |
| 215 "host_secret.h", |
| 216 "host_status_logger.cc", |
| 217 "host_status_logger.h", |
| 218 "host_status_monitor.h", |
| 219 "host_status_observer.h", |
| 220 "host_window.h", |
| 221 "host_window_proxy.cc", |
| 222 "host_window_proxy.h", |
| 223 "input_injector.h", |
| 224 "input_injector_android.cc", |
| 225 "input_injector_chromeos.cc", |
| 226 "input_injector_chromeos.h", |
| 227 "input_injector_mac.cc", |
| 228 "input_injector_win.cc", |
| 229 "input_injector_x11.cc", |
| 230 "ipc_audio_capturer.cc", |
| 231 "ipc_audio_capturer.h", |
| 232 "ipc_constants.cc", |
| 233 "ipc_constants.h", |
| 234 "ipc_desktop_environment.cc", |
| 235 "ipc_desktop_environment.h", |
| 236 "ipc_host_event_logger.cc", |
| 237 "ipc_host_event_logger.h", |
| 238 "ipc_input_injector.cc", |
| 239 "ipc_input_injector.h", |
| 240 "ipc_mouse_cursor_monitor.cc", |
| 241 "ipc_mouse_cursor_monitor.h", |
| 242 "ipc_screen_controls.cc", |
| 243 "ipc_screen_controls.h", |
| 244 "ipc_util.h", |
| 245 "ipc_util_posix.cc", |
| 246 "ipc_util_win.cc", |
| 247 "ipc_video_frame_capturer.cc", |
| 248 "ipc_video_frame_capturer.h", |
| 249 "it2me_desktop_environment.cc", |
| 250 "it2me_desktop_environment.h", |
| 251 "linux/audio_pipe_reader.cc", |
| 252 "linux/audio_pipe_reader.h", |
| 253 "linux/certificate_watcher.cc", |
| 254 "linux/certificate_watcher.h", |
| 255 "linux/unicode_to_keysym.cc", |
| 256 "linux/unicode_to_keysym.h", |
| 257 "linux/x11_util.cc", |
| 258 "linux/x11_util.h", |
| 259 "linux/x_server_clipboard.cc", |
| 260 "linux/x_server_clipboard.h", |
| 261 "local_input_monitor.h", |
| 262 "local_input_monitor_android.cc", |
| 263 "local_input_monitor_chromeos.cc", |
| 264 "local_input_monitor_mac.mm", |
| 265 "local_input_monitor_win.cc", |
| 266 "local_input_monitor_x11.cc", |
| 267 "logging.h", |
| 268 "logging_linux.cc", |
| 269 "logging_mac.cc", |
| 270 "logging_win.cc", |
| 271 "me2me_desktop_environment.cc", |
| 272 "me2me_desktop_environment.h", |
| 273 "mouse_cursor_monitor_proxy.cc", |
| 274 "mouse_cursor_monitor_proxy.h", |
| 275 "mouse_shape_pump.cc", |
| 276 "mouse_shape_pump.h", |
| 277 "oauth_token_getter.cc", |
| 278 "oauth_token_getter.h", |
| 279 "oauth_token_getter_impl.cc", |
| 280 "oauth_token_getter_impl.h", |
| 281 "pairing_registry_delegate.cc", |
| 282 "pairing_registry_delegate.h", |
| 283 "pairing_registry_delegate_android.cc", |
| 284 "pairing_registry_delegate_linux.cc", |
| 285 "pairing_registry_delegate_linux.h", |
| 286 "pairing_registry_delegate_mac.cc", |
| 287 "pairing_registry_delegate_win.cc", |
| 288 "pairing_registry_delegate_win.h", |
| 289 "pin_hash.cc", |
| 290 "pin_hash.h", |
| 291 "policy_watcher.cc", |
| 292 "policy_watcher.h", |
| 293 "posix/signal_handler.cc", |
| 294 "posix/signal_handler.h", |
| 295 "register_support_host_request.cc", |
| 296 "register_support_host_request.h", |
| 297 "remote_input_filter.cc", |
| 298 "remote_input_filter.h", |
| 299 "resizing_host_observer.cc", |
| 300 "resizing_host_observer.h", |
| 301 "resources.h", |
| 302 "resources_android.cc", |
| 303 "resources_linux.cc", |
| 304 "resources_mac.cc", |
| 305 "resources_win.cc", |
| 306 "sas_injector.h", |
| 307 "sas_injector_win.cc", |
| 308 "screen_controls.h", |
| 309 "screen_resolution.cc", |
| 310 "screen_resolution.h", |
| 311 "security_key/security_key_auth_handler.h", |
| 312 "security_key/security_key_auth_handler_posix.cc", |
| 313 "security_key/security_key_auth_handler_win.cc", |
| 314 "security_key/security_key_extension.cc", |
| 315 "security_key/security_key_extension.h", |
| 316 "security_key/security_key_extension_session.cc", |
| 317 "security_key/security_key_extension_session.h", |
| 318 "security_key/security_key_ipc_client.cc", |
| 319 "security_key/security_key_ipc_client.h", |
| 320 "security_key/security_key_ipc_constants.cc", |
| 321 "security_key/security_key_ipc_constants.h", |
| 322 "security_key/security_key_ipc_server.cc", |
| 323 "security_key/security_key_ipc_server.h", |
| 324 "security_key/security_key_ipc_server_impl.cc", |
| 325 "security_key/security_key_ipc_server_impl.h", |
| 326 "security_key/security_key_message.cc", |
| 327 "security_key/security_key_message.h", |
| 328 "security_key/security_key_message_handler.cc", |
| 329 "security_key/security_key_message_handler.h", |
| 330 "security_key/security_key_message_reader.h", |
| 331 "security_key/security_key_message_reader_impl.cc", |
| 332 "security_key/security_key_message_reader_impl.h", |
| 333 "security_key/security_key_message_writer.h", |
| 334 "security_key/security_key_message_writer_impl.cc", |
| 335 "security_key/security_key_message_writer_impl.h", |
| 336 "security_key/security_key_socket.cc", |
| 337 "security_key/security_key_socket.h", |
| 338 "server_log_entry_host.cc", |
| 339 "server_log_entry_host.h", |
| 340 "service_urls.cc", |
| 341 "service_urls.h", |
| 342 "shutdown_watchdog.cc", |
| 343 "shutdown_watchdog.h", |
| 344 "signaling_connector.cc", |
| 345 "signaling_connector.h", |
| 346 "single_window_desktop_environment.cc", |
| 347 "single_window_desktop_environment.h", |
| 348 "single_window_input_injector.h", |
| 349 "single_window_input_injector_linux.cc", |
| 350 "single_window_input_injector_mac.cc", |
| 351 "single_window_input_injector_win.cc", |
| 352 "switches.cc", |
| 353 "switches.h", |
| 354 "third_party_auth_config.cc", |
| 355 "third_party_auth_config.h", |
| 356 "token_validator_base.cc", |
| 357 "token_validator_base.h", |
| 358 "token_validator_factory_impl.cc", |
| 359 "token_validator_factory_impl.h", |
| 360 "touch_injector_win.cc", |
| 361 "touch_injector_win.h", |
| 362 "usage_stats_consent.h", |
| 363 "usage_stats_consent_mac.cc", |
| 364 "usage_stats_consent_win.cc", |
| 365 "username.cc", |
| 366 "username.h", |
| 367 "win/com_imported_mstscax.tlh", |
| 368 "win/com_security.cc", |
| 369 "win/com_security.h", |
| 370 "win/elevation_helpers.cc", |
| 371 "win/elevation_helpers.h", |
| 372 "win/launch_process_with_token.cc", |
| 373 "win/launch_process_with_token.h", |
| 374 "win/omaha.cc", |
| 375 "win/omaha.h", |
| 376 "win/rdp_client.cc", |
| 377 "win/rdp_client.h", |
| 378 "win/rdp_client_window.cc", |
| 379 "win/rdp_client_window.h", |
| 380 "win/security_descriptor.cc", |
| 381 "win/security_descriptor.h", |
| 382 "win/session_desktop_environment.cc", |
| 383 "win/session_desktop_environment.h", |
| 384 "win/session_input_injector.cc", |
| 385 "win/session_input_injector.h", |
| 386 "win/window_station_and_desktop.cc", |
| 387 "win/window_station_and_desktop.h", |
| 388 "win/worker_process_launcher.cc", |
| 389 "win/worker_process_launcher.h", |
| 390 "win/wts_terminal_monitor.cc", |
| 391 "win/wts_terminal_monitor.h", |
| 392 "win/wts_terminal_observer.h", |
| 393 ] |
98 | 394 |
99 libs = [] | 395 libs = [] |
100 | 396 |
101 configs += [ | 397 configs += [ |
102 "//build/config/compiler:wexit_time_destructors", | 398 "//build/config/compiler:wexit_time_destructors", |
103 "//remoting:version", | 399 "//remoting:version", |
104 ] | 400 ] |
105 | 401 |
106 defines = [ "WEBRTC_CHROMIUM_BUILD" ] | 402 defines = [ "WEBRTC_CHROMIUM_BUILD" ] |
107 | 403 |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 if (is_win) { | 692 if (is_win) { |
397 import("//build/toolchain/win/midl.gni") | 693 import("//build/toolchain/win/midl.gni") |
398 import("//build/win/message_compiler.gni") | 694 import("//build/win/message_compiler.gni") |
399 | 695 |
400 # TODO(brettw) these should not be generated via exec_script. This should be | 696 # TODO(brettw) these should not be generated via exec_script. This should be |
401 # part of the build process rather than the metabuild. Instead, a script | 697 # part of the build process rather than the metabuild. Instead, a script |
402 # should generate a header containing the #defines for this as well as the | 698 # should generate a header containing the #defines for this as well as the |
403 # IDL file with the values. | 699 # IDL file with the values. |
404 clsids = exec_script("win/get_clsids.py", | 700 clsids = exec_script("win/get_clsids.py", |
405 [ | 701 [ |
406 remoting_srcs_gypi_values.daemon_controller_guid, | 702 daemon_controller_guid, |
407 remoting_srcs_gypi_values.rdp_desktop_session_guid, | 703 rdp_desktop_session_guid, |
408 chrome_version_full, | 704 chrome_version_full, |
409 ], | 705 ], |
410 "value") | 706 "value") |
411 daemon_controller_clsid = clsids[0] | 707 daemon_controller_clsid = clsids[0] |
412 rdp_desktop_session_clsid = clsids[1] | 708 rdp_desktop_session_clsid = clsids[1] |
413 | 709 |
414 action("generate_idl") { | 710 action("generate_idl") { |
415 script = "//build/util/version.py" | 711 script = "//build/util/version.py" |
416 | 712 |
417 inputs = [ | 713 inputs = [ |
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1667 root_build_dir), | 1963 root_build_dir), |
1668 rebase_path(outputs[0], root_build_dir), | 1964 rebase_path(outputs[0], root_build_dir), |
1669 ] | 1965 ] |
1670 } | 1966 } |
1671 } else { | 1967 } else { |
1672 group("remoting_host_installation") { | 1968 group("remoting_host_installation") { |
1673 } | 1969 } |
1674 } | 1970 } |
1675 } | 1971 } |
1676 } | 1972 } |
OLD | NEW |