1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 'remoting_host_linux.gypi',
8 'remoting_host_mac.gypi',
9 'remoting_host_win.gypi',
14 # Remoting host is supported only on Windows, OSX and Linux (with X11).
15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', {
16 'enable_me2me_host': 1,
17 'enable_it2me_host': 1,
18 'enable_remoting_host': 1,
20 'enable_me2me_host': 0,
21 'enable_it2me_host': 0,
22 'enable_remoting_host': 0,
24 ['chromeos==1 and use_x11==1', {
25 'enable_me2me_host': 0,
26 'enable_it2me_host': 1,
32 ['enable_remoting_host==1', {
35 'target_name': 'remoting_host',
36 'type': 'static_library',
38 'enable_wexit_time_destructors': 1,
39 'host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_HOST_BUNDLE_NAME@")',
40 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_PREFPANE_BUNDLE_NAME@")',
46 '../base/base.gyp:base_i18n',
47 '../crypto/crypto.gyp:crypto',
48 '../google_apis/google_apis.gyp:google_apis',
50 '../ui/events/events.gyp:dom4_keycode_converter',
53 'HOST_BUNDLE_NAME="<(host_bundle_name)"',
54 'PREFPANE_BUNDLE_NAME="<(prefpane_bundle_name)"',
55 'VERSION=<(version_full)',
58 'host/audio_capturer.cc',
59 'host/audio_capturer.h',
60 'host/audio_capturer_linux.cc',
61 'host/audio_capturer_linux.h',
62 'host/audio_capturer_mac.cc',
63 'host/audio_capturer_win.cc',
64 'host/audio_capturer_win.h',
65 'host/audio_scheduler.cc',
66 'host/audio_scheduler.h',
67 'host/audio_silence_detector.cc',
68 'host/audio_silence_detector.h',
69 'host/basic_desktop_environment.cc',
70 'host/basic_desktop_environment.h',
73 'host/capture_scheduler.cc',
74 'host/capture_scheduler.h',
75 'host/chromeos/aura_desktop_capturer.cc',
76 'host/chromeos/aura_desktop_capturer.h',
77 'host/chromium_port_allocator_factory.cc',
78 'host/chromium_port_allocator_factory.h',
79 'host/chromoting_host.cc',
80 'host/chromoting_host.h',
81 'host/chromoting_host_context.cc',
82 'host/chromoting_host_context.h',
83 'host/chromoting_messages.cc',
84 'host/chromoting_messages.h',
85 'host/chromoting_param_traits.cc',
86 'host/chromoting_param_traits.h',
87 'host/client_session.cc',
88 'host/client_session.h',
89 'host/client_session_control.h',
91 'host/clipboard_mac.mm',
92 'host/clipboard_win.cc',
93 'host/clipboard_x11.cc',
94 'host/config_file_watcher.cc',
95 'host/config_file_watcher.h',
96 'host/config_watcher.h',
97 'host/constants_mac.cc',
98 'host/constants_mac.h',
99 'host/continue_window.cc',
100 'host/continue_window.h',
101 'host/continue_window_chromeos.cc',
102 'host/continue_window_linux.cc',
103 'host/continue_window_mac.mm',
104 'host/continue_window_win.cc',
105 'host/daemon_process.cc',
106 'host/daemon_process.h',
107 'host/daemon_process_win.cc',
108 'host/desktop_environment.h',
109 'host/desktop_process.cc',
110 'host/desktop_process.h',
111 'host/desktop_resizer.h',
112 'host/desktop_resizer_linux.cc',
113 'host/desktop_session.cc',
114 'host/desktop_session.h',
115 'host/desktop_session_agent.cc',
116 'host/desktop_session_agent.h',
117 'host/desktop_session_win.cc',
118 'host/desktop_session_win.h',
119 'host/desktop_resizer_mac.cc',
120 'host/desktop_resizer_win.cc',
121 'host/desktop_session_connector.h',
122 'host/desktop_session_proxy.cc',
123 'host/desktop_session_proxy.h',
124 'host/desktop_shape_tracker.h',
125 'host/desktop_shape_tracker_mac.cc',
126 'host/desktop_shape_tracker_win.cc',
127 'host/desktop_shape_tracker_x11.cc',
128 'host/disconnect_window_chromeos.cc',
129 'host/disconnect_window_linux.cc',
130 'host/disconnect_window_mac.h',
131 'host/disconnect_window_mac.mm',
132 'host/disconnect_window_win.cc',
133 'host/dns_blackhole_checker.cc',
134 'host/dns_blackhole_checker.h',
135 'host/gnubby_auth_handler.h',
136 'host/gnubby_auth_handler_posix.cc',
137 'host/gnubby_auth_handler_posix.h',
138 'host/gnubby_auth_handler_win.cc',
139 'host/gnubby_socket.cc',
140 'host/gnubby_socket.h',
141 'host/heartbeat_sender.cc',
142 'host/heartbeat_sender.h',
143 'host/host_change_notification_listener.cc',
144 'host/host_change_notification_listener.h',
145 'host/host_config.cc',
146 'host/host_config.h',
147 'host/host_event_logger.h',
148 'host/host_event_logger_posix.cc',
149 'host/host_event_logger_win.cc',
150 'host/host_exit_codes.cc',
151 'host/host_exit_codes.h',
152 'host/host_export.h',
153 'host/host_extension.h',
154 'host/host_extension_session.cc',
155 'host/host_extension_session.h',
156 'host/host_extension_session_manager.cc',
157 'host/host_extension_session_manager.h',
158 'host/host_secret.cc',
159 'host/host_secret.h',
160 'host/host_status_logger.cc',
161 'host/host_status_logger.h',
162 'host/host_status_monitor.h',
163 'host/host_status_observer.h',
164 'host/host_status_sender.cc',
165 'host/host_status_sender.h',
166 'host/host_window.h',
167 'host/host_window_proxy.cc',
168 'host/host_window_proxy.h',
169 'host/in_memory_host_config.cc',
170 'host/in_memory_host_config.h',
171 'host/input_injector.h',
172 'host/input_injector_linux.cc',
173 'host/input_injector_mac.cc',
174 'host/input_injector_win.cc',
175 'host/ipc_audio_capturer.cc',
176 'host/ipc_audio_capturer.h',
177 'host/ipc_constants.cc',
178 'host/ipc_constants.h',
179 'host/ipc_desktop_environment.cc',
180 'host/ipc_desktop_environment.h',
181 'host/ipc_host_event_logger.cc',
182 'host/ipc_host_event_logger.h',
183 'host/ipc_input_injector.cc',
184 'host/ipc_input_injector.h',
185 'host/ipc_mouse_cursor_monitor.cc',
186 'host/ipc_mouse_cursor_monitor.h',
187 'host/ipc_screen_controls.cc',
188 'host/ipc_screen_controls.h',
190 'host/ipc_util_posix.cc',
191 'host/ipc_util_win.cc',
192 'host/ipc_video_frame_capturer.cc',
193 'host/ipc_video_frame_capturer.h',
194 'host/it2me_desktop_environment.cc',
195 'host/it2me_desktop_environment.h',
196 'host/json_host_config.cc',
197 'host/json_host_config.h',
198 'host/linux/audio_pipe_reader.cc',
199 'host/linux/audio_pipe_reader.h',
200 'host/linux/unicode_to_keysym.cc',
201 'host/linux/unicode_to_keysym.h',
202 'host/linux/x11_util.cc',
203 'host/linux/x11_util.h',
204 'host/linux/x_server_clipboard.cc',
205 'host/linux/x_server_clipboard.h',
206 'host/local_input_monitor.h',
207 'host/local_input_monitor_linux.cc',
208 'host/local_input_monitor_mac.mm',
209 'host/local_input_monitor_win.cc',
211 'host/logging_posix.cc',
212 'host/logging_win.cc',
213 'host/me2me_desktop_environment.cc',
214 'host/me2me_desktop_environment.h',
215 'host/mouse_clamping_filter.cc',
216 'host/mouse_clamping_filter.h',
217 'host/oauth_token_getter.cc',
218 'host/oauth_token_getter.h',
219 'host/pairing_registry_delegate.cc',
220 'host/pairing_registry_delegate.h',
221 'host/pairing_registry_delegate_linux.cc',
222 'host/pairing_registry_delegate_linux.h',
223 'host/pairing_registry_delegate_mac.cc',
224 'host/pairing_registry_delegate_win.cc',
225 'host/pairing_registry_delegate_win.h',
226 'host/pam_authorization_factory_posix.cc',
227 'host/pam_authorization_factory_posix.h',
230 'host/policy_hack/policy_watcher.cc',
231 'host/policy_hack/policy_watcher.h',
232 'host/policy_hack/policy_watcher_chromeos.cc',
233 'host/policy_hack/policy_watcher_linux.cc',
234 'host/policy_hack/policy_watcher_mac.mm',
235 'host/policy_hack/policy_watcher_win.cc',
236 'host/register_support_host_request.cc',
237 'host/register_support_host_request.h',
238 'host/remote_input_filter.cc',
239 'host/remote_input_filter.h',
240 'host/remoting_me2me_host.cc',
241 'host/resizing_host_observer.cc',
242 'host/resizing_host_observer.h',
243 'host/sas_injector.h',
244 'host/sas_injector_win.cc',
245 'host/screen_controls.h',
246 'host/screen_resolution.cc',
247 'host/screen_resolution.h',
248 'host/server_log_entry_host.cc',
249 'host/server_log_entry_host.h',
250 'host/session_manager_factory.cc',
251 'host/session_manager_factory.h',
252 'host/shaped_desktop_capturer.cc',
253 'host/shaped_desktop_capturer.h',
254 'host/signaling_connector.cc',
255 'host/signaling_connector.h',
256 'host/single_window_desktop_environment.cc',
257 'host/single_window_desktop_environment.h',
258 'host/single_window_input_injector.h',
259 'host/single_window_input_injector_linux.cc',
260 'host/single_window_input_injector_mac.cc',
261 'host/single_window_input_injector_win.cc',
262 'host/token_validator_base.cc',
263 'host/token_validator_base.h',
264 'host/token_validator_factory_impl.cc',
265 'host/token_validator_factory_impl.h',
266 'host/usage_stats_consent.h',
267 'host/usage_stats_consent_mac.cc',
268 'host/usage_stats_consent_win.cc',
271 'host/video_frame_recorder.cc',
272 'host/video_frame_recorder.h',
273 'host/video_frame_recorder_host_extension.cc',
274 'host/video_frame_recorder_host_extension.h',
275 'host/video_scheduler.cc',
276 'host/video_scheduler.h',
277 'host/win/com_imported_mstscax.tlh',
278 'host/win/com_security.cc',
279 'host/win/com_security.h',
280 'host/win/launch_process_with_token.cc',
281 'host/win/launch_process_with_token.h',
284 'host/win/rdp_client.cc',
285 'host/win/rdp_client.h',
286 'host/win/rdp_client_window.cc',
287 'host/win/rdp_client_window.h',
288 'host/win/security_descriptor.cc',
289 'host/win/security_descriptor.h',
290 'host/win/session_desktop_environment.cc',
291 'host/win/session_desktop_environment.h',
292 'host/win/session_input_injector.cc',
293 'host/win/session_input_injector.h',
294 'host/win/window_station_and_desktop.cc',
295 'host/win/window_station_and_desktop.h',
296 'host/win/wts_terminal_monitor.cc',
297 'host/win/wts_terminal_monitor.h',
298 'host/win/wts_terminal_observer.h',
303 '../build/linux/system.gyp:x11',
304 '../build/linux/system.gyp:xext',
305 '../build/linux/system.gyp:xfixes',
306 '../build/linux/system.gyp:xi',
307 '../build/linux/system.gyp:xrandr',
308 '../build/linux/system.gyp:xtst',
316 ['OS=="linux" and chromeos==0 and use_ozone==0', {
318 # Always use GTK on Linux, even for Aura builds.
319 '../build/linux/system.gyp:gtk',
325 '../components/components.gyp:policy_component_common',
326 '../content/content.gyp:content',
327 '../ppapi/ppapi_internal.gyp:ppapi_host',
328 '../skia/skia.gyp:skia',
329 '../ui/aura/aura.gyp:aura',
330 '../ui/compositor/compositor.gyp:compositor',
333 '../third_party/skia/include/utils',
336 'host/policy_hack/policy_watcher_linux.cc',
337 'host/continue_window_linux.cc',
338 'host/disconnect_window.cc',
339 'host/disconnect_window_linux.cc',
340 'host/remoting_me2me_host.cc',
344 'host/chromeos/aura_desktop_capturer.cc',
345 'host/chromeos/aura_desktop_capturer.h',
346 'host/continue_window_chromeos.cc',
347 'host/disconnect_window_chromeos.cc',
348 'host/policy_hack/policy_watcher_chromeos.cc',
353 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
357 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
364 '_ATL_NO_EXCEPTIONS',
365 'ISOLATION_AWARE_ENABLED=1',
368 '../sandbox/sandbox.gyp:sandbox',
369 'remoting_host_messages',
373 'VCCLCompilerTool': {
374 # /MP conflicts with #import directive so we limit the number
375 # of processes to spawn to 1.
376 'AdditionalOptions': ['/MP1'],
380 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host',
383 '<(output_dir)/remoting_host_messages.mc',
388 'direct_dependent_settings': {
394 # Rule to run the message compiler.
395 'rule_name': 'message_compiler',
398 '<(output_dir)/<(RULE_INPUT_ROOT).h',
399 '<(output_dir)/<(RULE_INPUT_ROOT).rc',
403 '-h', '<(output_dir)',
404 '-r', '<(output_dir)/.',
406 '<(RULE_INPUT_PATH)',
408 'process_outputs_as_sources': 1,
409 'message': 'Running message compiler on <(RULE_INPUT_PATH)',
414 '../ash/ash.gyp:ash',
417 ['enable_webrtc==1', {
419 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
420 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
423 'host/cast_extension.cc',
424 'host/cast_extension.h',
425 'host/cast_extension_session.cc',
426 'host/cast_extension_session.h',
427 'host/cast_video_capturer_adapter.cc',
428 'host/cast_video_capturer_adapter.h',
432 }, # end of target 'remoting_host'
435 'target_name': 'remoting_native_messaging_base',
436 'type': 'static_library',
437 'variables': { 'enable_wexit_time_destructors': 1, },
439 '../base/base.gyp:base',
442 'host/native_messaging/pipe_messaging_channel.cc',
443 'host/native_messaging/pipe_messaging_channel.h',
444 'host/native_messaging/native_messaging_pipe.cc',
445 'host/native_messaging/native_messaging_pipe.h',
446 'host/native_messaging/native_messaging_reader.cc',
447 'host/native_messaging/native_messaging_reader.h',
448 'host/native_messaging/native_messaging_writer.cc',
449 'host/native_messaging/native_messaging_writer.h',
451 }, # end of target 'remoting_native_messaging_base'
454 'target_name': 'remoting_host_setup_base',
455 'type': 'static_library',
456 'variables': { 'enable_wexit_time_destructors': 1, },
458 '../base/base.gyp:base',
459 '../google_apis/google_apis.gyp:google_apis',
463 'VERSION=<(version_full)',
466 'host/setup/daemon_controller.cc',
467 'host/setup/daemon_controller.h',
468 'host/setup/daemon_controller_delegate_linux.cc',
469 'host/setup/daemon_controller_delegate_linux.h',
470 'host/setup/daemon_controller_delegate_mac.h',
471 'host/setup/daemon_controller_delegate_mac.mm',
472 'host/setup/daemon_controller_delegate_win.cc',
473 'host/setup/daemon_controller_delegate_win.h',
474 'host/setup/daemon_installer_win.cc',
475 'host/setup/daemon_installer_win.h',
476 'host/setup/me2me_native_messaging_host.cc',
477 'host/setup/me2me_native_messaging_host.h',
478 'host/setup/oauth_client.cc',
479 'host/setup/oauth_client.h',
480 'host/setup/oauth_helper.cc',
481 'host/setup/oauth_helper.h',
482 'host/setup/pin_validator.cc',
483 'host/setup/pin_validator.h',
484 'host/setup/service_client.cc',
485 'host/setup/service_client.h',
486 'host/setup/test_util.cc',
487 'host/setup/test_util.h',
488 'host/setup/win/auth_code_getter.cc',
489 'host/setup/win/auth_code_getter.h',
494 '../google_update/google_update.gyp:google_update',
497 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
498 'msvs_disabled_warnings': [4267, ],
501 }, # end of target 'remoting_host_setup_base'
503 # Generates native messaging manifest files.
505 'target_name': 'remoting_native_messaging_manifests',
510 'me2me_host_path': 'remoting_native_messaging_host.exe',
511 'it2me_host_path': 'remote_assistance_host.exe',
516 'me2me_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_HOST_BUNDLE_NAME@")',
517 'native_messaging_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_NAME@")',
518 'remote_assistance_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_NAME@")',
520 '/Library/PrivilegedHelperTools/<(me2me_host_bundle_name)/Contents/MacOS/<(native_messaging_host_bundle_name)/Contents/MacOS/native_messaging_host',
522 '/Library/PrivilegedHelperTools/<(me2me_host_bundle_name)/Contents/MacOS/<(remote_assistance_host_bundle_name)/Contents/MacOS/remote_assistance_host',
525 [ 'OS != "mac" and OS != "win"', {
528 '/opt/google/chrome-remote-desktop/native-messaging-host',
530 '/opt/google/chrome-remote-desktop/remote-assistance-host',
535 'host/it2me/com.google.chrome.remote_assistance.json.jinja2',
536 'host/setup/com.google.chrome.remote_desktop.json.jinja2',
539 'rule_name': 'generate_manifest',
540 'extension': 'jinja2',
542 '<(remoting_localize_path)',
546 '<(PRODUCT_DIR)/remoting/<(RULE_INPUT_ROOT)',
549 'python', '<(remoting_localize_path)',
550 '--define', 'ME2ME_HOST_PATH=<(me2me_host_path)',
551 '--define', 'IT2ME_HOST_PATH=<(it2me_host_path)',
552 '--variables', '<(branding_path)',
553 '--template', '<(RULE_INPUT_PATH)',
554 '--locale_output', '<@(_outputs)',
558 }, # end of target 'remoting_native_messaging_manifests'
560 'target_name': 'remoting_start_host',
561 'type': 'executable',
563 'remoting_host_setup_base',
566 'host/setup/host_starter.cc',
567 'host/setup/host_starter.h',
568 'host/setup/start_host.cc',
571 ['OS=="linux" and use_allocator!="none"', {
573 '../base/allocator/allocator.gyp:allocator',
577 }, # end of target 'remoting_start_host'
579 'target_name': 'remoting_infoplist_strings',
582 'remoting_resources',
585 'host/remoting_me2me_host-InfoPlist.strings.jinja2',
586 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2',
587 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings.jinja2',
588 'host/setup/native_messaging_host-InfoPlist.strings.jinja2',
589 'host/it2me/remote_assistance_host-InfoPlist.strings.jinja2',
592 'rule_name': 'generate_strings',
593 'extension': 'jinja2',
595 '<(remoting_localize_path)',
598 '<!@pymod_do_main(remoting_localize --locale_output '
599 '"<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suffix}.lproj/InfoPlist.strings" '
600 '--print_only <(remoting_locales))',
603 'python', '<(remoting_localize_path)',
604 '--locale_dir', '<(webapp_locale_dir)',
605 '--template', '<(RULE_INPUT_PATH)',
607 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suffix}.lproj/InfoPlist.strings',
608 '<@(remoting_locales)',
611 }, # end of target 'remoting_infoplist_strings'
612 ], # end of 'targets'
613 }], # 'enable_remoting_host==1'
615 ['enable_me2me_host==1', {
618 'target_name': 'remoting_me2me_host_static',
619 'type': 'static_library',
620 'variables': { 'enable_wexit_time_destructors': 1, },
622 '../base/base.gyp:base',
623 '../base/base.gyp:base_i18n',
624 '../net/net.gyp:net',
625 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
632 'VERSION=<(version_full)',
635 'host/curtain_mode.h',
636 'host/curtain_mode_linux.cc',
637 'host/curtain_mode_mac.cc',
638 'host/curtain_mode_win.cc',
639 'host/posix/signal_handler.cc',
640 'host/posix/signal_handler.h',
645 ['exclude', '^host/posix/'],
648 ], # end of 'conditions'
649 }, # end of target 'remoting_me2me_host_static'
651 }], # end of enable_me2me_host==1
653 ['enable_it2me_host==1', {
656 'target_name': 'remoting_it2me_host_static',
657 'type': 'static_library',
658 'variables': { 'enable_wexit_time_destructors': 1, },
660 '../base/base.gyp:base_i18n',
661 '../net/net.gyp:net',
664 'remoting_infoplist_strings',
666 'remoting_resources',
669 'VERSION=<(version_full)',
672 'host/it2me/it2me_host.cc',
673 'host/it2me/it2me_host.h',
674 'host/it2me/it2me_native_messaging_host.cc',
675 'host/it2me/it2me_native_messaging_host.h',
677 }, # end of target 'remoting_it2me_host_static'
679 }], # end of 'enable_it2me_host==1'
681 ['OS!="win" and enable_me2me_host==1', {
684 'target_name': 'remoting_me2me_host',
685 'type': 'executable',
686 'variables': { 'enable_wexit_time_destructors': 1, },
688 '../base/base.gyp:base',
689 '../base/base.gyp:base_i18n',
690 '<(icu_gyp_path):icudata',
691 '../net/net.gyp:net',
692 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
696 'remoting_infoplist_strings',
697 'remoting_me2me_host_static',
701 'VERSION=<(version_full)',
711 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_HOST_BUNDLE_ID@")',
714 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist',
715 'INFOPLIST_PREPROCESS': 'YES',
716 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
718 'mac_bundle_resources': [
719 '<(PRODUCT_DIR)/icudtl.dat',
720 'host/disconnect_window.xib',
721 'host/remoting_me2me_host.icns',
722 'host/remoting_me2me_host-Info.plist',
723 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR) <(remoting_locales))',
725 # Localized strings for 'Info.plist'
726 '<!@pymod_do_main(remoting_localize --locale_output '
727 '"<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" '
728 '--print_only <(remoting_locales))',
730 'mac_bundle_resources!': [
731 'host/remoting_me2me_host-Info.plist',
734 ['mac_breakpad==1', {
736 # A real .dSYM is needed for dump_syms to operate on.
741 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
743 '<(PRODUCT_DIR)/crash_inspector',
744 '<(PRODUCT_DIR)/crash_report_sender.app'
749 '../breakpad/breakpad.gyp:dump_syms',
753 'postbuild_name': 'Dump Symbols',
755 'dump_product_syms_path':
756 'scripts/mac/dump_product_syms',
759 '<(dump_product_syms_path)',
762 }, # end of postbuild 'dump_symbols'
763 ], # end of 'postbuilds'
764 }], # mac_breakpad==1
767 ['OS=="linux" and use_allocator!="none"', {
769 '../base/allocator/allocator.gyp:allocator',
772 ], # end of 'conditions'
773 }, # end of target 'remoting_me2me_host'
775 'target_name': 'remoting_me2me_native_messaging_host',
776 'type': 'executable',
777 'product_name': 'native_messaging_host',
778 'variables': { 'enable_wexit_time_destructors': 1, },
780 '../base/base.gyp:base',
783 'remoting_host_setup_base',
784 'remoting_infoplist_strings',
785 'remoting_native_messaging_base',
788 'VERSION=<(version_full)',
791 'host/setup/me2me_native_messaging_host_entry_point.cc',
792 'host/setup/me2me_native_messaging_host_main.cc',
793 'host/setup/me2me_native_messaging_host_main.h',
796 ['OS=="linux" and use_allocator!="none"', {
798 '../base/allocator/allocator.gyp:allocator',
804 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_ID@")',
807 'INFOPLIST_FILE': 'host/setup/native_messaging_host-Info.plist',
808 'INFOPLIST_PREPROCESS': 'YES',
809 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
811 'mac_bundle_resources': [
812 'host/setup/native_messaging_host-Info.plist',
813 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR) <(remoting_locales))',
815 # Localized strings for 'Info.plist'
816 '<!@pymod_do_main(remoting_localize --locale_output '
817 '"<(SHARED_INTERMEDIATE_DIR)/remoting/native_messaging_host-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" '
818 '--print_only <(remoting_locales))',
820 'mac_bundle_resources!': [
821 'host/setup/native_messaging_host-Info.plist',
824 ['mac_breakpad==1', {
826 # A real .dSYM is needed for dump_syms to operate on.
831 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
833 '<(PRODUCT_DIR)/crash_inspector',
834 '<(PRODUCT_DIR)/crash_report_sender.app'
839 '../breakpad/breakpad.gyp:dump_syms',
843 'postbuild_name': 'Dump Symbols',
845 'dump_product_syms_path':
846 'scripts/mac/dump_product_syms',
849 '<(dump_product_syms_path)',
852 }, # end of postbuild 'dump_symbols'
853 ], # end of 'postbuilds'
854 }], # mac_breakpad==1
858 }, # end of target 'remoting_me2me_native_messaging_host'
860 }], # end of OS!="win" and enable_me2me_host==1
862 ['OS!="win" and enable_it2me_host==1 and chromeos==0', {
865 'target_name': 'remoting_it2me_native_messaging_host',
866 'type': 'executable',
867 'product_name': 'remote_assistance_host',
868 'variables': { 'enable_wexit_time_destructors': 1, },
870 '../base/base.gyp:base',
874 'remoting_it2me_host_static',
875 'remoting_native_messaging_base',
879 'VERSION=<(version_full)',
882 'host/it2me/it2me_native_messaging_host_entry_point.cc',
883 'host/it2me/it2me_native_messaging_host_main.cc',
884 'host/it2me/it2me_native_messaging_host_main.h',
887 ['OS=="linux" and chromeos==0 and use_ozone==0', {
889 # Always use GTK on Linux, even for Aura builds.
890 '../build/linux/system.gyp:gtk',
893 ['OS=="linux" and use_allocator!="none"', {
895 '../base/allocator/allocator.gyp:allocator',
901 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_ID@")',
904 'INFOPLIST_FILE': 'host/it2me/remote_assistance_host-Info.plist',
905 'INFOPLIST_PREPROCESS': 'YES',
906 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
908 'mac_bundle_resources': [
909 '<(PRODUCT_DIR)/icudtl.dat',
910 'host/disconnect_window.xib',
911 'host/it2me/remote_assistance_host-Info.plist',
912 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR) <(remoting_locales))',
914 # Localized strings for 'Info.plist'
915 '<!@pymod_do_main(remoting_localize --locale_output '
916 '"<(SHARED_INTERMEDIATE_DIR)/remoting/remote_assistance_host-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" '
917 '--print_only <(remoting_locales))',
919 'mac_bundle_resources!': [
920 'host/it2me/remote_assistance_host-Info.plist',
923 ['mac_breakpad==1', {
925 # A real .dSYM is needed for dump_syms to operate on.
930 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
932 '<(PRODUCT_DIR)/crash_inspector',
933 '<(PRODUCT_DIR)/crash_report_sender.app'
938 '../breakpad/breakpad.gyp:dump_syms',
942 'postbuild_name': 'Dump Symbols',
944 'dump_product_syms_path':
945 'scripts/mac/dump_product_syms',
948 '<(dump_product_syms_path)',
951 }, # end of postbuild 'dump_symbols'
952 ], # end of 'postbuilds'
953 }], # mac_breakpad==1
957 }, # end of target 'remoting_it2me_native_messaging_host'
958 ], # end of 'targets'
959 }], # # end of OS!="win" and enable_it2me_host==1
961 ], # end of 'conditions'