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 chromeos==0 and use_x11==1)', {
16 'enable_remoting_host': 1,
18 'enable_remoting_host': 0,
24 ['enable_remoting_host==1', {
27 'target_name': 'remoting_host',
28 'type': 'static_library',
30 'enable_wexit_time_destructors': 1,
31 'host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_HOST_BUNDLE_NAME@")',
32 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_PREFPANE_BUNDLE_NAME@")',
38 '../base/base.gyp:base_i18n',
39 '../crypto/crypto.gyp:crypto',
40 '../google_apis/google_apis.gyp:google_apis',
42 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
43 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
44 '../ui/events/events.gyp:dom4_keycode_converter',
47 'HOST_BUNDLE_NAME="<(host_bundle_name)"',
48 'PREFPANE_BUNDLE_NAME="<(prefpane_bundle_name)"',
49 'VERSION=<(version_full)',
52 'host/audio_capturer.cc',
53 'host/audio_capturer.h',
54 'host/audio_capturer_linux.cc',
55 'host/audio_capturer_linux.h',
56 'host/audio_capturer_mac.cc',
57 'host/audio_capturer_win.cc',
58 'host/audio_capturer_win.h',
59 'host/audio_scheduler.cc',
60 'host/audio_scheduler.h',
61 'host/audio_silence_detector.cc',
62 'host/audio_silence_detector.h',
63 'host/basic_desktop_environment.cc',
64 'host/basic_desktop_environment.h',
67 'host/capture_scheduler.cc',
68 'host/capture_scheduler.h',
69 'host/chromium_port_allocator_factory.cc',
70 'host/chromium_port_allocator_factory.h',
71 'host/chromoting_host.cc',
72 'host/chromoting_host.h',
73 'host/chromoting_host_context.cc',
74 'host/chromoting_host_context.h',
75 'host/chromoting_messages.cc',
76 'host/chromoting_messages.h',
77 'host/chromoting_param_traits.cc',
78 'host/chromoting_param_traits.h',
79 'host/client_session.cc',
80 'host/client_session.h',
81 'host/client_session_control.h',
83 'host/clipboard_mac.mm',
84 'host/clipboard_win.cc',
85 'host/clipboard_x11.cc',
86 'host/config_file_watcher.cc',
87 'host/config_file_watcher.h',
88 'host/config_watcher.h',
89 'host/constants_mac.cc',
90 'host/constants_mac.h',
91 'host/continue_window.cc',
92 'host/continue_window.h',
93 'host/continue_window_linux.cc',
94 'host/continue_window_mac.mm',
95 'host/continue_window_win.cc',
96 'host/daemon_process.cc',
97 'host/daemon_process.h',
98 'host/daemon_process_win.cc',
99 'host/desktop_environment.h',
100 'host/desktop_process.cc',
101 'host/desktop_process.h',
102 'host/desktop_resizer.h',
103 'host/desktop_resizer_linux.cc',
104 'host/desktop_session.cc',
105 'host/desktop_session.h',
106 'host/desktop_session_agent.cc',
107 'host/desktop_session_agent.h',
108 'host/desktop_session_win.cc',
109 'host/desktop_session_win.h',
110 'host/desktop_resizer_mac.cc',
111 'host/desktop_resizer_win.cc',
112 'host/desktop_session_connector.h',
113 'host/desktop_session_proxy.cc',
114 'host/desktop_session_proxy.h',
115 'host/desktop_shape_tracker.h',
116 'host/desktop_shape_tracker_mac.cc',
117 'host/desktop_shape_tracker_win.cc',
118 'host/desktop_shape_tracker_x11.cc',
119 'host/disconnect_window_linux.cc',
120 'host/disconnect_window_mac.h',
121 'host/disconnect_window_mac.mm',
122 'host/disconnect_window_win.cc',
123 'host/dns_blackhole_checker.cc',
124 'host/dns_blackhole_checker.h',
125 'host/gnubby_auth_handler.h',
126 'host/gnubby_auth_handler_posix.cc',
127 'host/gnubby_auth_handler_posix.h',
128 'host/gnubby_auth_handler_win.cc',
129 'host/gnubby_socket.cc',
130 'host/gnubby_socket.h',
131 'host/heartbeat_sender.cc',
132 'host/heartbeat_sender.h',
133 'host/host_change_notification_listener.cc',
134 'host/host_change_notification_listener.h',
135 'host/host_config.cc',
136 'host/host_config.h',
137 'host/host_event_logger.h',
138 'host/host_event_logger_posix.cc',
139 'host/host_event_logger_win.cc',
140 'host/host_exit_codes.cc',
141 'host/host_exit_codes.h',
142 'host/host_export.h',
143 'host/host_extension.h',
144 'host/host_extension_session.h',
145 'host/host_secret.cc',
146 'host/host_secret.h',
147 'host/host_status_logger.cc',
148 'host/host_status_logger.h',
149 'host/host_status_monitor.h',
150 'host/host_status_observer.h',
151 'host/host_status_sender.cc',
152 'host/host_status_sender.h',
153 'host/host_window.h',
154 'host/host_window_proxy.cc',
155 'host/host_window_proxy.h',
156 'host/in_memory_host_config.cc',
157 'host/in_memory_host_config.h',
158 'host/input_injector.h',
159 'host/input_injector_linux.cc',
160 'host/input_injector_mac.cc',
161 'host/input_injector_win.cc',
162 'host/ipc_audio_capturer.cc',
163 'host/ipc_audio_capturer.h',
164 'host/ipc_constants.cc',
165 'host/ipc_constants.h',
166 'host/ipc_desktop_environment.cc',
167 'host/ipc_desktop_environment.h',
168 'host/ipc_host_event_logger.cc',
169 'host/ipc_host_event_logger.h',
170 'host/ipc_input_injector.cc',
171 'host/ipc_input_injector.h',
172 'host/ipc_screen_controls.cc',
173 'host/ipc_screen_controls.h',
175 'host/ipc_util_posix.cc',
176 'host/ipc_util_win.cc',
177 'host/ipc_video_frame_capturer.cc',
178 'host/ipc_video_frame_capturer.h',
179 'host/it2me_desktop_environment.cc',
180 'host/it2me_desktop_environment.h',
181 'host/json_host_config.cc',
182 'host/json_host_config.h',
183 'host/linux/audio_pipe_reader.cc',
184 'host/linux/audio_pipe_reader.h',
185 'host/linux/unicode_to_keysym.cc',
186 'host/linux/unicode_to_keysym.h',
187 'host/linux/x11_util.cc',
188 'host/linux/x11_util.h',
189 'host/linux/x_server_clipboard.cc',
190 'host/linux/x_server_clipboard.h',
191 'host/local_input_monitor.h',
192 'host/local_input_monitor_linux.cc',
193 'host/local_input_monitor_mac.mm',
194 'host/local_input_monitor_win.cc',
196 'host/logging_posix.cc',
197 'host/logging_win.cc',
198 'host/me2me_desktop_environment.cc',
199 'host/me2me_desktop_environment.h',
200 'host/mouse_clamping_filter.cc',
201 'host/mouse_clamping_filter.h',
202 'host/oauth_token_getter.cc',
203 'host/oauth_token_getter.h',
204 'host/pairing_registry_delegate.cc',
205 'host/pairing_registry_delegate.h',
206 'host/pairing_registry_delegate_linux.cc',
207 'host/pairing_registry_delegate_linux.h',
208 'host/pairing_registry_delegate_mac.cc',
209 'host/pairing_registry_delegate_win.cc',
210 'host/pairing_registry_delegate_win.h',
211 'host/pam_authorization_factory_posix.cc',
212 'host/pam_authorization_factory_posix.h',
215 'host/policy_hack/policy_watcher.cc',
216 'host/policy_hack/policy_watcher.h',
217 'host/policy_hack/policy_watcher_linux.cc',
218 'host/policy_hack/policy_watcher_mac.mm',
219 'host/policy_hack/policy_watcher_win.cc',
220 'host/register_support_host_request.cc',
221 'host/register_support_host_request.h',
222 'host/remote_input_filter.cc',
223 'host/remote_input_filter.h',
224 'host/remoting_me2me_host.cc',
225 'host/resizing_host_observer.cc',
226 'host/resizing_host_observer.h',
227 'host/sas_injector.h',
228 'host/sas_injector_win.cc',
229 'host/screen_controls.h',
230 'host/screen_resolution.cc',
231 'host/screen_resolution.h',
232 'host/server_log_entry_host.cc',
233 'host/server_log_entry_host.h',
234 'host/session_manager_factory.cc',
235 'host/session_manager_factory.h',
236 'host/shaped_screen_capturer.cc',
237 'host/shaped_screen_capturer.h',
238 'host/signaling_connector.cc',
239 'host/signaling_connector.h',
240 'host/token_validator_base.cc',
241 'host/token_validator_base.h',
242 'host/token_validator_factory_impl.cc',
243 'host/token_validator_factory_impl.h',
244 'host/usage_stats_consent.h',
245 'host/usage_stats_consent_mac.cc',
246 'host/usage_stats_consent_win.cc',
249 'host/video_frame_recorder.cc',
250 'host/video_frame_recorder.h',
251 'host/video_scheduler.cc',
252 'host/video_scheduler.h',
253 'host/win/com_imported_mstscax.tlh',
254 'host/win/com_security.cc',
255 'host/win/com_security.h',
256 'host/win/launch_process_with_token.cc',
257 'host/win/launch_process_with_token.h',
260 'host/win/rdp_client.cc',
261 'host/win/rdp_client.h',
262 'host/win/rdp_client_window.cc',
263 'host/win/rdp_client_window.h',
264 'host/win/security_descriptor.cc',
265 'host/win/security_descriptor.h',
266 'host/win/session_desktop_environment.cc',
267 'host/win/session_desktop_environment.h',
268 'host/win/session_input_injector.cc',
269 'host/win/session_input_injector.h',
270 'host/win/window_station_and_desktop.cc',
271 'host/win/window_station_and_desktop.h',
272 'host/win/wts_terminal_monitor.cc',
273 'host/win/wts_terminal_monitor.h',
274 'host/win/wts_terminal_observer.h',
279 # Always use GTK on Linux, even for Aura builds.
280 '../build/linux/system.gyp:gtk',
281 '../build/linux/system.gyp:x11',
282 '../build/linux/system.gyp:xext',
283 '../build/linux/system.gyp:xfixes',
284 '../build/linux/system.gyp:xi',
285 '../build/linux/system.gyp:xrandr',
286 '../build/linux/system.gyp:xtst',
296 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
300 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
307 '_ATL_NO_EXCEPTIONS',
308 'ISOLATION_AWARE_ENABLED=1',
311 '../sandbox/sandbox.gyp:sandbox',
312 'remoting_host_messages',
316 'VCCLCompilerTool': {
317 # /MP conflicts with #import directive so we limit the number
318 # of processes to spawn to 1.
319 'AdditionalOptions': ['/MP1'],
323 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host',
326 '<(output_dir)/remoting_host_messages.mc',
331 'direct_dependent_settings': {
337 # Rule to run the message compiler.
338 'rule_name': 'message_compiler',
341 '<(output_dir)/<(RULE_INPUT_ROOT).h',
342 '<(output_dir)/<(RULE_INPUT_ROOT).rc',
346 '-h', '<(output_dir)',
347 '-r', '<(output_dir)/.',
349 '<(RULE_INPUT_PATH)',
351 'process_outputs_as_sources': 1,
352 'message': 'Running message compiler on <(RULE_INPUT_PATH)',
356 }, # end of target 'remoting_host'
359 'target_name': 'remoting_native_messaging_base',
360 'type': 'static_library',
361 'variables': { 'enable_wexit_time_destructors': 1, },
363 '../base/base.gyp:base',
366 'host/native_messaging/native_messaging_channel.cc',
367 'host/native_messaging/native_messaging_channel.h',
368 'host/native_messaging/native_messaging_reader.cc',
369 'host/native_messaging/native_messaging_reader.h',
370 'host/native_messaging/native_messaging_writer.cc',
371 'host/native_messaging/native_messaging_writer.h',
373 }, # end of target 'remoting_native_messaging_base'
376 'target_name': 'remoting_me2me_host_static',
377 'type': 'static_library',
378 'variables': { 'enable_wexit_time_destructors': 1, },
380 '../base/base.gyp:base',
381 '../base/base.gyp:base_i18n',
382 '../net/net.gyp:net',
383 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
390 'VERSION=<(version_full)',
393 'host/curtain_mode.h',
394 'host/curtain_mode_linux.cc',
395 'host/curtain_mode_mac.cc',
396 'host/curtain_mode_win.cc',
397 'host/posix/signal_handler.cc',
398 'host/posix/signal_handler.h',
403 ['exclude', '^host/posix/'],
406 ], # end of 'conditions'
407 }, # end of target 'remoting_me2me_host_static'
410 'target_name': 'remoting_host_setup_base',
411 'type': 'static_library',
412 'variables': { 'enable_wexit_time_destructors': 1, },
414 '../base/base.gyp:base',
415 '../google_apis/google_apis.gyp:google_apis',
419 'VERSION=<(version_full)',
422 'host/setup/daemon_controller.cc',
423 'host/setup/daemon_controller.h',
424 'host/setup/daemon_controller_delegate_linux.cc',
425 'host/setup/daemon_controller_delegate_linux.h',
426 'host/setup/daemon_controller_delegate_mac.h',
427 'host/setup/daemon_controller_delegate_mac.mm',
428 'host/setup/daemon_controller_delegate_win.cc',
429 'host/setup/daemon_controller_delegate_win.h',
430 'host/setup/daemon_installer_win.cc',
431 'host/setup/daemon_installer_win.h',
432 'host/setup/me2me_native_messaging_host.cc',
433 'host/setup/me2me_native_messaging_host.h',
434 'host/setup/oauth_client.cc',
435 'host/setup/oauth_client.h',
436 'host/setup/oauth_helper.cc',
437 'host/setup/oauth_helper.h',
438 'host/setup/pin_validator.cc',
439 'host/setup/pin_validator.h',
440 'host/setup/service_client.cc',
441 'host/setup/service_client.h',
442 'host/setup/test_util.cc',
443 'host/setup/test_util.h',
444 'host/setup/win/auth_code_getter.cc',
445 'host/setup/win/auth_code_getter.h',
450 '../google_update/google_update.gyp:google_update',
453 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
454 'msvs_disabled_warnings': [4267, ],
457 }, # end of target 'remoting_host_setup_base'
460 'target_name': 'remoting_it2me_host_static',
461 'type': 'static_library',
462 'variables': { 'enable_wexit_time_destructors': 1, },
464 '../base/base.gyp:base_i18n',
465 '../net/net.gyp:net',
468 'remoting_infoplist_strings',
470 'remoting_resources',
473 'VERSION=<(version_full)',
476 'host/it2me/it2me_host.cc',
477 'host/it2me/it2me_host.h',
478 'host/it2me/it2me_native_messaging_host.cc',
479 'host/it2me/it2me_native_messaging_host.h',
481 }, # end of target 'remoting_it2me_host_static'
483 # Generates native messaging manifest files.
485 'target_name': 'remoting_native_messaging_manifests',
490 'me2me_host_path': 'remoting_native_messaging_host.exe',
491 'it2me_host_path': 'remote_assistance_host.exe',
496 'me2me_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_HOST_BUNDLE_NAME@")',
497 'native_messaging_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_NAME@")',
498 'remote_assistance_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_NAME@")',
500 '/Library/PrivilegedHelperTools/<(me2me_host_bundle_name)/Contents/MacOS/<(native_messaging_host_bundle_name)/Contents/MacOS/native_messaging_host',
502 '/Library/PrivilegedHelperTools/<(me2me_host_bundle_name)/Contents/MacOS/<(remote_assistance_host_bundle_name)/Contents/MacOS/remote_assistance_host',
505 [ 'OS != "mac" and OS != "win"', {
508 '/opt/google/chrome-remote-desktop/native-messaging-host',
510 '/opt/google/chrome-remote-desktop/remote-assistance-host',
515 'host/it2me/com.google.chrome.remote_assistance.json.jinja2',
516 'host/setup/com.google.chrome.remote_desktop.json.jinja2',
519 'rule_name': 'generate_manifest',
520 'extension': 'jinja2',
522 '<(remoting_localize_path)',
526 '<(PRODUCT_DIR)/remoting/<(RULE_INPUT_ROOT)',
529 'python', '<(remoting_localize_path)',
530 '--define', 'ME2ME_HOST_PATH=<(me2me_host_path)',
531 '--define', 'IT2ME_HOST_PATH=<(it2me_host_path)',
532 '--variables', '<(branding_path)',
533 '--template', '<(RULE_INPUT_PATH)',
534 '--locale_output', '<@(_outputs)',
538 }, # end of target 'remoting_native_messaging_manifests'
541 'target_name': 'remoting_infoplist_strings',
544 'remoting_resources',
547 'host/remoting_me2me_host-InfoPlist.strings.jinja2',
548 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2',
549 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings.jinja2',
550 'host/setup/native_messaging_host-InfoPlist.strings.jinja2',
551 'host/it2me/remote_assistance_host-InfoPlist.strings.jinja2',
554 'rule_name': 'generate_strings',
555 'extension': 'jinja2',
557 '<(remoting_localize_path)',
560 '<!@pymod_do_main(remoting_localize --locale_output '
561 '"<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suffix}.lproj/InfoPlist.strings" '
562 '--print_only <(remoting_locales))',
565 'python', '<(remoting_localize_path)',
566 '--locale_dir', '<(webapp_locale_dir)',
567 '--template', '<(RULE_INPUT_PATH)',
569 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suffix}.lproj/InfoPlist.strings',
570 '<@(remoting_locales)',
573 }, # end of target 'remoting_infoplist_strings'
574 ], # end of 'targets'
575 }], # 'enable_remoting_host==1'
577 ['OS!="win" and enable_remoting_host==1', {
580 'target_name': 'remoting_me2me_host',
581 'type': 'executable',
582 'variables': { 'enable_wexit_time_destructors': 1, },
584 '../base/base.gyp:base',
585 '../base/base.gyp:base_i18n',
586 '<(icu_gyp_path):icudata',
587 '../net/net.gyp:net',
588 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
592 'remoting_infoplist_strings',
593 'remoting_me2me_host_static',
597 'VERSION=<(version_full)',
607 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_HOST_BUNDLE_ID@")',
610 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist',
611 'INFOPLIST_PREPROCESS': 'YES',
612 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
614 'mac_bundle_resources': [
615 '<(PRODUCT_DIR)/icudtl.dat',
616 'host/disconnect_window.xib',
617 'host/remoting_me2me_host.icns',
618 'host/remoting_me2me_host-Info.plist',
619 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR) <(remoting_locales))',
621 # Localized strings for 'Info.plist'
622 '<!@pymod_do_main(remoting_localize --locale_output '
623 '"<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" '
624 '--print_only <(remoting_locales))',
626 'mac_bundle_resources!': [
627 'host/remoting_me2me_host-Info.plist',
630 ['mac_breakpad==1', {
632 # A real .dSYM is needed for dump_syms to operate on.
637 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
639 '<(PRODUCT_DIR)/crash_inspector',
640 '<(PRODUCT_DIR)/crash_report_sender.app'
645 '../breakpad/breakpad.gyp:dump_syms',
649 'postbuild_name': 'Dump Symbols',
651 'dump_product_syms_path':
652 'scripts/mac/dump_product_syms',
655 '<(dump_product_syms_path)',
658 }, # end of postbuild 'dump_symbols'
659 ], # end of 'postbuilds'
660 }], # mac_breakpad==1
663 ['OS=="linux" and use_allocator!="none"', {
665 '../base/allocator/allocator.gyp:allocator',
668 ], # end of 'conditions'
669 }, # end of target 'remoting_me2me_host'
671 'target_name': 'remoting_me2me_native_messaging_host',
672 'type': 'executable',
673 'product_name': 'native_messaging_host',
674 'variables': { 'enable_wexit_time_destructors': 1, },
676 '../base/base.gyp:base',
679 'remoting_host_setup_base',
680 'remoting_infoplist_strings',
681 'remoting_native_messaging_base',
684 'VERSION=<(version_full)',
687 'host/setup/me2me_native_messaging_host_entry_point.cc',
688 'host/setup/me2me_native_messaging_host_main.cc',
689 'host/setup/me2me_native_messaging_host_main.h',
692 ['OS=="linux" and use_allocator!="none"', {
694 '../base/allocator/allocator.gyp:allocator',
700 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_ID@")',
703 'INFOPLIST_FILE': 'host/setup/native_messaging_host-Info.plist',
704 'INFOPLIST_PREPROCESS': 'YES',
705 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
707 'mac_bundle_resources': [
708 'host/setup/native_messaging_host-Info.plist',
709 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR) <(remoting_locales))',
711 # Localized strings for 'Info.plist'
712 '<!@pymod_do_main(remoting_localize --locale_output '
713 '"<(SHARED_INTERMEDIATE_DIR)/remoting/native_messaging_host-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" '
714 '--print_only <(remoting_locales))',
716 'mac_bundle_resources!': [
717 'host/setup/native_messaging_host-Info.plist',
720 ['mac_breakpad==1', {
722 # A real .dSYM is needed for dump_syms to operate on.
727 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
729 '<(PRODUCT_DIR)/crash_inspector',
730 '<(PRODUCT_DIR)/crash_report_sender.app'
735 '../breakpad/breakpad.gyp:dump_syms',
739 'postbuild_name': 'Dump Symbols',
741 'dump_product_syms_path':
742 'scripts/mac/dump_product_syms',
745 '<(dump_product_syms_path)',
748 }, # end of postbuild 'dump_symbols'
749 ], # end of 'postbuilds'
750 }], # mac_breakpad==1
754 }, # end of target 'remoting_me2me_native_messaging_host'
756 'target_name': 'remoting_it2me_native_messaging_host',
757 'type': 'executable',
758 'product_name': 'remote_assistance_host',
759 'variables': { 'enable_wexit_time_destructors': 1, },
761 '../base/base.gyp:base',
765 'remoting_it2me_host_static',
766 'remoting_native_messaging_base',
770 'VERSION=<(version_full)',
773 'host/it2me/it2me_native_messaging_host_entry_point.cc',
774 'host/it2me/it2me_native_messaging_host_main.cc',
775 'host/it2me/it2me_native_messaging_host_main.h',
780 # Always use GTK on Linux, even for Aura builds.
781 '../build/linux/system.gyp:gtk',
784 ['OS=="linux" and use_allocator!="none"', {
786 '../base/allocator/allocator.gyp:allocator',
792 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_ID@")',
795 'INFOPLIST_FILE': 'host/it2me/remote_assistance_host-Info.plist',
796 'INFOPLIST_PREPROCESS': 'YES',
797 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
799 'mac_bundle_resources': [
800 '<(PRODUCT_DIR)/icudtl.dat',
801 'host/disconnect_window.xib',
802 'host/it2me/remote_assistance_host-Info.plist',
803 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR) <(remoting_locales))',
805 # Localized strings for 'Info.plist'
806 '<!@pymod_do_main(remoting_localize --locale_output '
807 '"<(SHARED_INTERMEDIATE_DIR)/remoting/remote_assistance_host-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" '
808 '--print_only <(remoting_locales))',
810 'mac_bundle_resources!': [
811 'host/it2me/remote_assistance_host-Info.plist',
814 ['mac_breakpad==1', {
816 # A real .dSYM is needed for dump_syms to operate on.
821 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
823 '<(PRODUCT_DIR)/crash_inspector',
824 '<(PRODUCT_DIR)/crash_report_sender.app'
829 '../breakpad/breakpad.gyp:dump_syms',
833 'postbuild_name': 'Dump Symbols',
835 'dump_product_syms_path':
836 'scripts/mac/dump_product_syms',
839 '<(dump_product_syms_path)',
842 }, # end of postbuild 'dump_symbols'
843 ], # end of 'postbuilds'
844 }], # mac_breakpad==1
848 }, # end of target 'remoting_it2me_native_messaging_host'
849 ], # end of 'targets'
852 ], # end of 'conditions'