OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 'variables': { | 9 'variables': { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
522 # /MP conflicts with #import directive so we limit the number | 522 # /MP conflicts with #import directive so we limit the number |
523 # of processes to spawn to 1. | 523 # of processes to spawn to 1. |
524 'AdditionalOptions': ['/MP1'], | 524 'AdditionalOptions': ['/MP1'], |
525 }, | 525 }, |
526 }, | 526 }, |
527 }], | 527 }], |
528 ], | 528 ], |
529 }, # end of target 'remoting_host' | 529 }, # end of target 'remoting_host' |
530 | 530 |
531 { | 531 { |
532 'target_name': 'remoting_native_messaging_base', | |
533 'type': 'static_library', | |
534 'variables': { 'enable_wexit_time_destructors': 1, }, | |
535 'dependencies': [ | |
536 '../base/base.gyp:base', | |
537 ], | |
538 'sources': [ | |
539 'host/native_messaging/native_messaging_channel.cc', | |
540 'host/native_messaging/native_messaging_channel.h', | |
541 'host/native_messaging/native_messaging_reader.cc', | |
542 'host/native_messaging/native_messaging_reader.h', | |
543 'host/native_messaging/native_messaging_writer.cc', | |
544 'host/native_messaging/native_messaging_writer.h', | |
545 ], | |
546 }, # end of target 'remoting_native_messaging_base' | |
547 | |
548 { | |
532 'target_name': 'remoting_me2me_host_static', | 549 'target_name': 'remoting_me2me_host_static', |
533 'type': 'static_library', | 550 'type': 'static_library', |
534 'variables': { 'enable_wexit_time_destructors': 1, }, | 551 'variables': { 'enable_wexit_time_destructors': 1, }, |
535 'dependencies': [ | 552 'dependencies': [ |
536 '../base/base.gyp:base', | 553 '../base/base.gyp:base', |
537 '../base/base.gyp:base_i18n', | 554 '../base/base.gyp:base_i18n', |
538 '../net/net.gyp:net', | 555 '../net/net.gyp:net', |
539 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 556 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
540 'remoting_base', | 557 'remoting_base', |
541 'remoting_breakpad', | 558 'remoting_breakpad', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
582 'host/setup/daemon_controller_delegate_linux.cc', | 599 'host/setup/daemon_controller_delegate_linux.cc', |
583 'host/setup/daemon_controller_delegate_linux.h', | 600 'host/setup/daemon_controller_delegate_linux.h', |
584 'host/setup/daemon_controller_delegate_mac.h', | 601 'host/setup/daemon_controller_delegate_mac.h', |
585 'host/setup/daemon_controller_delegate_mac.mm', | 602 'host/setup/daemon_controller_delegate_mac.mm', |
586 'host/setup/daemon_controller_delegate_win.cc', | 603 'host/setup/daemon_controller_delegate_win.cc', |
587 'host/setup/daemon_controller_delegate_win.h', | 604 'host/setup/daemon_controller_delegate_win.h', |
588 'host/setup/daemon_installer_win.cc', | 605 'host/setup/daemon_installer_win.cc', |
589 'host/setup/daemon_installer_win.h', | 606 'host/setup/daemon_installer_win.h', |
590 'host/setup/host_starter.cc', | 607 'host/setup/host_starter.cc', |
591 'host/setup/host_starter.h', | 608 'host/setup/host_starter.h', |
592 'host/setup/native_messaging_channel.cc', | |
593 'host/setup/native_messaging_channel.h', | |
594 'host/setup/native_messaging_host.cc', | |
595 'host/setup/native_messaging_host.h', | |
596 'host/setup/native_messaging_reader.cc', | |
597 'host/setup/native_messaging_reader.h', | |
598 'host/setup/native_messaging_writer.cc', | |
599 'host/setup/native_messaging_writer.h', | |
600 'host/setup/oauth_client.cc', | 609 'host/setup/oauth_client.cc', |
601 'host/setup/oauth_client.h', | 610 'host/setup/oauth_client.h', |
602 'host/setup/oauth_helper.cc', | 611 'host/setup/oauth_helper.cc', |
603 'host/setup/oauth_helper.h', | 612 'host/setup/oauth_helper.h', |
604 'host/setup/pin_validator.cc', | 613 'host/setup/pin_validator.cc', |
605 'host/setup/pin_validator.h', | 614 'host/setup/pin_validator.h', |
606 'host/setup/service_client.cc', | 615 'host/setup/service_client.cc', |
607 'host/setup/service_client.h', | 616 'host/setup/service_client.h', |
608 'host/setup/test_util.cc', | 617 'host/setup/test_util.cc', |
609 'host/setup/test_util.h', | 618 'host/setup/test_util.h', |
610 'host/setup/win/auth_code_getter.cc', | 619 'host/setup/win/auth_code_getter.cc', |
611 'host/setup/win/auth_code_getter.h', | 620 'host/setup/win/auth_code_getter.h', |
612 ], | 621 ], |
613 'conditions': [ | 622 'conditions': [ |
614 ['OS=="win"', { | 623 ['OS=="win"', { |
615 'dependencies': [ | 624 'dependencies': [ |
616 '../google_update/google_update.gyp:google_update', | 625 '../google_update/google_update.gyp:google_update', |
617 'remoting_lib_idl', | 626 'remoting_lib_idl', |
618 ], | 627 ], |
619 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 628 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
620 'msvs_disabled_warnings': [4267, ], | 629 'msvs_disabled_warnings': [4267, ], |
621 }], | 630 }], |
622 ], | 631 ], |
623 }, # end of target 'remoting_host_setup_base' | 632 }, # end of target 'remoting_host_setup_base' |
624 | 633 |
625 { | 634 { |
635 'target_name': 'remoting_me2me_native_messaging_host_static', | |
Sergey Ulanov
2013/10/30 22:51:01
Do we really need this target? I think you can jus
weitao
2013/10/31 17:59:34
I think this makes a cleaner componentization. set
Sergey Ulanov
2013/10/31 19:20:42
Problem is that each additional target adds comple
weitao
2013/10/31 20:59:16
Done.
| |
636 'type': 'static_library', | |
637 'variables': { 'enable_wexit_time_destructors': 1, }, | |
638 'dependencies': [ | |
639 '../base/base.gyp:base', | |
640 'remoting_host', | |
641 'remoting_host_logging', | |
642 'remoting_native_messaging_base', | |
643 'remoting_host_setup_base', | |
644 ], | |
645 'defines': [ | |
646 'VERSION=<(version_full)', | |
647 ], | |
648 'sources': [ | |
649 'host/setup/me2me_native_messaging_host.cc', | |
650 'host/setup/me2me_native_messaging_host.h', | |
651 ], | |
652 }, # end of target 'remoting_me2me_native_messaging_host_static' | |
653 | |
654 { | |
626 'target_name': 'remoting_host_plugin', | 655 'target_name': 'remoting_host_plugin', |
627 'type': 'loadable_module', | 656 'type': 'loadable_module', |
628 'variables': { 'enable_wexit_time_destructors': 1, }, | 657 'variables': { 'enable_wexit_time_destructors': 1, }, |
629 'product_extension': '<(host_plugin_extension)', | 658 'product_extension': '<(host_plugin_extension)', |
630 'product_prefix': '<(host_plugin_prefix)', | 659 'product_prefix': '<(host_plugin_prefix)', |
631 'defines': [ | 660 'defines': [ |
632 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', | 661 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', |
633 ], | 662 ], |
634 'dependencies': [ | 663 'dependencies': [ |
635 '../base/base.gyp:base_i18n', | 664 '../base/base.gyp:base_i18n', |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
741 'remoting_base', | 770 'remoting_base', |
742 'remoting_host', | 771 'remoting_host', |
743 'remoting_host_event_logger', | 772 'remoting_host_event_logger', |
744 'remoting_host_logging', | 773 'remoting_host_logging', |
745 'remoting_infoplist_strings', | 774 'remoting_infoplist_strings', |
746 'remoting_host_setup_base', | 775 'remoting_host_setup_base', |
747 'remoting_jingle_glue', | 776 'remoting_jingle_glue', |
748 'remoting_resources', | 777 'remoting_resources', |
749 ], | 778 ], |
750 'sources': [ | 779 'sources': [ |
751 'host/it2me/it2me_impl.cc', | 780 'host/it2me/it2me_host.cc', |
752 'host/it2me/it2me_impl.h', | 781 'host/it2me/it2me_host.h', |
753 ], | 782 ], |
754 }, # end of target 'remoting_it2me_host_static' | 783 }, # end of target 'remoting_it2me_host_static' |
755 { | 784 { |
756 'target_name': 'remoting_infoplist_strings', | 785 'target_name': 'remoting_infoplist_strings', |
757 'type': 'none', | 786 'type': 'none', |
758 'dependencies': [ | 787 'dependencies': [ |
759 'remoting_resources', | 788 'remoting_resources', |
760 ], | 789 ], |
761 'actions': [ | 790 'actions': [ |
762 { | 791 { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
892 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ] , | 921 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ] , |
893 }, | 922 }, |
894 ], | 923 ], |
895 }, | 924 }, |
896 { | 925 { |
897 'target_name': 'remoting_me2me_host_deb_installer', | 926 'target_name': 'remoting_me2me_host_deb_installer', |
898 'type': 'none', | 927 'type': 'none', |
899 'dependencies': [ | 928 'dependencies': [ |
900 'remoting_me2me_host', | 929 'remoting_me2me_host', |
901 'remoting_start_host', | 930 'remoting_start_host', |
902 'remoting_native_messaging_host', | 931 'remoting_me2me_native_messaging_host', |
932 'remoting_me2me_native_messaging_manifest', | |
903 ], | 933 ], |
904 'actions': [ | 934 'actions': [ |
905 { | 935 { |
906 'action_name': 'build_debian_package', | 936 'action_name': 'build_debian_package', |
907 'inputs': [ | 937 'inputs': [ |
908 '<(deb_cmd)', | 938 '<(deb_cmd)', |
909 'host/installer/linux/Makefile', | 939 'host/installer/linux/Makefile', |
910 'host/installer/linux/debian/chrome-remote-desktop.init', | 940 'host/installer/linux/debian/chrome-remote-desktop.init', |
911 'host/installer/linux/debian/chrome-remote-desktop.pam', | 941 'host/installer/linux/debian/chrome-remote-desktop.pam', |
912 'host/installer/linux/debian/compat', | 942 'host/installer/linux/debian/compat', |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1014 ], # conditions | 1044 ], # conditions |
1015 }], # OS=mac | 1045 }], # OS=mac |
1016 ['OS=="linux" and linux_use_tcmalloc==1', { | 1046 ['OS=="linux" and linux_use_tcmalloc==1', { |
1017 'dependencies': [ | 1047 'dependencies': [ |
1018 '../base/allocator/allocator.gyp:allocator', | 1048 '../base/allocator/allocator.gyp:allocator', |
1019 ], | 1049 ], |
1020 }], # OS=linux | 1050 }], # OS=linux |
1021 ], # end of 'conditions' | 1051 ], # end of 'conditions' |
1022 }, # end of target 'remoting_me2me_host' | 1052 }, # end of target 'remoting_me2me_host' |
1023 { | 1053 { |
1024 'target_name': 'remoting_native_messaging_host', | 1054 'target_name': 'remoting_me2me_native_messaging_host', |
1025 'type': 'executable', | 1055 'type': 'executable', |
1026 'variables': { 'enable_wexit_time_destructors': 1, }, | 1056 'variables': { 'enable_wexit_time_destructors': 1, }, |
1027 'dependencies': [ | 1057 'dependencies': [ |
1028 '../base/base.gyp:base', | 1058 'remoting_me2me_native_messaging_host_static', |
1029 'remoting_host', | |
1030 'remoting_host_logging', | |
1031 'remoting_host_setup_base', | |
1032 'remoting_native_messaging_manifest', | |
1033 ], | |
1034 'defines': [ | |
1035 'VERSION=<(version_full)', | |
1036 ], | 1059 ], |
1037 'sources': [ | 1060 'sources': [ |
1038 'host/setup/native_messaging_host_main.cc', | 1061 'host/setup/me2me_native_messaging_host_main.cc', |
1039 ], | 1062 ], |
1040 'conditions': [ | 1063 'conditions': [ |
1041 ['OS=="linux" and linux_use_tcmalloc==1', { | 1064 ['OS=="linux" and linux_use_tcmalloc==1', { |
1042 'dependencies': [ | 1065 'dependencies': [ |
1043 '../base/allocator/allocator.gyp:allocator', | 1066 '../base/allocator/allocator.gyp:allocator', |
1044 ], | 1067 ], |
1045 }], | 1068 }], |
1046 ], | 1069 ], |
1047 }, # end of target 'remoting_native_messaging_host' | 1070 }, # end of target 'remoting_me2me_native_messaging_host' |
1048 ], # end of 'targets' | 1071 ], # end of 'targets' |
1049 }], # 'OS!="win" and enable_remoting_host==1' | 1072 }], # 'OS!="win" and enable_remoting_host==1' |
1050 | 1073 |
1051 | 1074 |
1052 ['OS=="linux" and chromeos==0 and enable_remoting_host==1', { | 1075 ['OS=="linux" and chromeos==0 and enable_remoting_host==1', { |
1053 'targets': [ | 1076 'targets': [ |
1054 # Linux breakpad processing | 1077 # Linux breakpad processing |
1055 { | 1078 { |
1056 'target_name': 'remoting_linux_symbols', | 1079 'target_name': 'remoting_linux_symbols', |
1057 'type': 'none', | 1080 'type': 'none', |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1151 # This packages up the files needed for the remoting host installer so | 1174 # This packages up the files needed for the remoting host installer so |
1152 # they can be sent off to be signed. | 1175 # they can be sent off to be signed. |
1153 # We don't build an installer here because we don't have signed binaries . | 1176 # We don't build an installer here because we don't have signed binaries . |
1154 { | 1177 { |
1155 'target_name': 'remoting_me2me_host_archive', | 1178 'target_name': 'remoting_me2me_host_archive', |
1156 'type': 'none', | 1179 'type': 'none', |
1157 'dependencies': [ | 1180 'dependencies': [ |
1158 'remoting_host_prefpane', | 1181 'remoting_host_prefpane', |
1159 'remoting_host_uninstaller', | 1182 'remoting_host_uninstaller', |
1160 'remoting_me2me_host', | 1183 'remoting_me2me_host', |
1161 'remoting_native_messaging_host', | 1184 'remoting_me2me_native_messaging_host', |
1185 'remoting_me2me_native_messaging_manifest', | |
1162 ], | 1186 ], |
1163 'variables': { | 1187 'variables': { |
1164 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@ HOST_PLUGIN_FILE_NAME@")', | 1188 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@ HOST_PLUGIN_FILE_NAME@")', |
1165 'host_service_name': '<!(python <(version_py_path) -f <(branding_pat h) -t "@DAEMON_FILE_NAME@")', | 1189 'host_service_name': '<!(python <(version_py_path) -f <(branding_pat h) -t "@DAEMON_FILE_NAME@")', |
1166 'host_uninstaller_name': '<!(python <(version_py_path) -f <(branding _path) -t "@MAC_UNINSTALLER_NAME@")', | 1190 'host_uninstaller_name': '<!(python <(version_py_path) -f <(branding _path) -t "@MAC_UNINSTALLER_NAME@")', |
1167 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', | 1191 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', |
1168 }, | 1192 }, |
1169 'actions': [ | 1193 'actions': [ |
1170 { | 1194 { |
1171 'action_name': 'Zip installer files for signing', | 1195 'action_name': 'Zip installer files for signing', |
1172 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', | 1196 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', |
1173 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 1197 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
1174 'variables': { | 1198 'variables': { |
1175 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', | 1199 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', |
1176 'host_service_name_nospace': '<!(echo <(host_service_name) | sed "s/ //g")', | 1200 'host_service_name_nospace': '<!(echo <(host_service_name) | sed "s/ //g")', |
1177 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam e) | sed "s/ //g")', | 1201 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam e) | sed "s/ //g")', |
1178 }, | 1202 }, |
1179 'generated_files': [ | 1203 'generated_files': [ |
1180 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', | 1204 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
1181 '<(PRODUCT_DIR)/remoting_me2me_host.app', | 1205 '<(PRODUCT_DIR)/remoting_me2me_host.app', |
1182 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 1206 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
1183 '<(PRODUCT_DIR)/remoting_native_messaging_host', | 1207 '<(PRODUCT_DIR)/remoting_native_messaging_host', |
1184 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', | 1208 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', |
1185 ], | 1209 ], |
1186 'generated_files_dst': [ | 1210 'generated_files_dst': [ |
1187 'PreferencePanes/org.chromium.chromoting.prefPane', | 1211 'PreferencePanes/org.chromium.chromoting.prefPane', |
1188 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', | 1212 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', |
1189 'Applications/<(host_uninstaller_name).app', | 1213 'Applications/<(host_uninstaller_name).app', |
1190 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co ntents/MacOS/native_messaging_host', | 1214 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co ntents/MacOS/native_messaging_host', |
1191 » » 'Config/com.google.chrome.remote_desktop.json', | 1215 'Config/com.google.chrome.remote_desktop.json', |
1192 ], | 1216 ], |
1193 'source_files': [ | 1217 'source_files': [ |
1194 '<@(remoting_host_installer_mac_files)', | 1218 '<@(remoting_host_installer_mac_files)', |
1195 ], | 1219 ], |
1196 'defs': [ | 1220 'defs': [ |
1197 'VERSION=<(version_full)', | 1221 'VERSION=<(version_full)', |
1198 'VERSION_SHORT=<(version_short)', | 1222 'VERSION_SHORT=<(version_short)', |
1199 'VERSION_MAJOR=<(version_major)', | 1223 'VERSION_MAJOR=<(version_major)', |
1200 'VERSION_MINOR=<(version_minor)', | 1224 'VERSION_MINOR=<(version_minor)', |
1201 'HOST_NAME=<(host_name)', | 1225 'HOST_NAME=<(host_name)', |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1529 'remoting_breakpad', | 1553 'remoting_breakpad', |
1530 'remoting_core_resources', | 1554 'remoting_core_resources', |
1531 'remoting_host', | 1555 'remoting_host', |
1532 'remoting_host_event_logger', | 1556 'remoting_host_event_logger', |
1533 'remoting_host_logging', | 1557 'remoting_host_logging', |
1534 'remoting_host_setup_base', | 1558 'remoting_host_setup_base', |
1535 'remoting_lib_idl', | 1559 'remoting_lib_idl', |
1536 'remoting_lib_ps', | 1560 'remoting_lib_ps', |
1537 'remoting_lib_rc', | 1561 'remoting_lib_rc', |
1538 'remoting_me2me_host_static', | 1562 'remoting_me2me_host_static', |
1563 'remoting_me2me_native_messaging_host_static', | |
1564 'remoting_native_messaging_base', | |
1539 'remoting_protocol', | 1565 'remoting_protocol', |
1540 'remoting_version_resources', | 1566 'remoting_version_resources', |
1541 ], | 1567 ], |
1542 'sources': [ | 1568 'sources': [ |
1543 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | 1569 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
1544 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', | 1570 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', |
1545 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc' , | 1571 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc' , |
1546 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | 1572 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1547 'host/chromoting_messages.cc', | 1573 'host/chromoting_messages.cc', |
1548 'host/chromoting_messages.h', | 1574 'host/chromoting_messages.h', |
(...skipping 14 matching lines...) Expand all Loading... | |
1563 'host/host_exit_codes.h', | 1589 'host/host_exit_codes.h', |
1564 'host/host_exit_codes.cc', | 1590 'host/host_exit_codes.cc', |
1565 'host/host_export.h', | 1591 'host/host_export.h', |
1566 'host/host_main.cc', | 1592 'host/host_main.cc', |
1567 'host/host_main.h', | 1593 'host/host_main.h', |
1568 'host/ipc_constants.cc', | 1594 'host/ipc_constants.cc', |
1569 'host/ipc_constants.h', | 1595 'host/ipc_constants.h', |
1570 'host/remoting_me2me_host.cc', | 1596 'host/remoting_me2me_host.cc', |
1571 'host/sas_injector.h', | 1597 'host/sas_injector.h', |
1572 'host/sas_injector_win.cc', | 1598 'host/sas_injector_win.cc', |
1599 'host/setup/me2me_native_messaging_host_main.cc', | |
1573 'host/verify_config_window_win.cc', | 1600 'host/verify_config_window_win.cc', |
1574 'host/verify_config_window_win.h', | 1601 'host/verify_config_window_win.h', |
1575 'host/win/chromoting_module.cc', | 1602 'host/win/chromoting_module.cc', |
1576 'host/win/chromoting_module.h', | 1603 'host/win/chromoting_module.h', |
1577 'host/win/core.cc', | 1604 'host/win/core.cc', |
1578 'host/win/core_resource.h', | 1605 'host/win/core_resource.h', |
1579 'host/win/elevated_controller.cc', | 1606 'host/win/elevated_controller.cc', |
1580 'host/win/elevated_controller.h', | 1607 'host/win/elevated_controller.h', |
1581 'host/win/host_service.cc', | 1608 'host/win/host_service.cc', |
1582 'host/win/host_service.h', | 1609 'host/win/host_service.h', |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1942 ], | 1969 ], |
1943 }, # end of target 'remoting_host_installation' | 1970 }, # end of target 'remoting_host_installation' |
1944 | 1971 |
1945 { | 1972 { |
1946 'target_name': 'remoting_me2me_host_archive', | 1973 'target_name': 'remoting_me2me_host_archive', |
1947 'type': 'none', | 1974 'type': 'none', |
1948 'dependencies': [ | 1975 'dependencies': [ |
1949 'remoting_core', | 1976 'remoting_core', |
1950 'remoting_desktop', | 1977 'remoting_desktop', |
1951 'remoting_host_exe', | 1978 'remoting_host_exe', |
1952 'remoting_native_messaging_manifest', | 1979 'remoting_me2me_native_messaging_manifest', |
1953 ], | 1980 ], |
1954 'compiled_inputs': [ | 1981 'compiled_inputs': [ |
1955 '<(PRODUCT_DIR)/remoting_core.dll', | 1982 '<(PRODUCT_DIR)/remoting_core.dll', |
1956 '<(PRODUCT_DIR)/remoting_desktop.exe', | 1983 '<(PRODUCT_DIR)/remoting_desktop.exe', |
1957 '<(PRODUCT_DIR)/remoting_host.exe', | 1984 '<(PRODUCT_DIR)/remoting_host.exe', |
1958 ], | 1985 ], |
1959 'compiled_inputs_dst': [ | 1986 'compiled_inputs_dst': [ |
1960 'files/remoting_core.dll', | 1987 'files/remoting_core.dll', |
1961 'files/remoting_desktop.exe', | 1988 'files/remoting_desktop.exe', |
1962 'files/remoting_host.exe', | 1989 'files/remoting_host.exe', |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2299 '--patches', | 2326 '--patches', |
2300 '<@(remoting_webapp_patch_files)', | 2327 '<@(remoting_webapp_patch_files)', |
2301 ], | 2328 ], |
2302 'msvs_cygwin_shell': 0, | 2329 'msvs_cygwin_shell': 0, |
2303 }, | 2330 }, |
2304 ], | 2331 ], |
2305 }], | 2332 }], |
2306 ], | 2333 ], |
2307 }, # end of target 'remoting_webapp' | 2334 }, # end of target 'remoting_webapp' |
2308 | 2335 |
2309 # Generates 'native_messaging_manifest.json' to be included in the | 2336 # Generates 'me2me_native_messaging_manifest.json' to be included in the |
2310 # installation. | 2337 # installation. |
2311 { | 2338 { |
2312 'target_name': 'remoting_native_messaging_manifest', | 2339 'target_name': 'remoting_me2me_native_messaging_manifest', |
2313 'type': 'none', | 2340 'type': 'none', |
2314 'dependencies': [ | 2341 'dependencies': [ |
2315 'remoting_resources', | 2342 'remoting_resources', |
2316 ], | 2343 ], |
2317 'variables': { | 2344 'variables': { |
2318 'input': 'host/setup/native_messaging_manifest.json', | 2345 'input': 'host/setup/me2me_native_messaging_manifest.json', |
2319 'output': '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json ', | 2346 'output': '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json ', |
2320 }, | 2347 }, |
2321 'target_conditions': [ | 2348 'target_conditions': [ |
2322 ['OS == "win" or OS == "mac" or OS == "linux"', { | 2349 ['OS == "win" or OS == "mac" or OS == "linux"', { |
2323 'conditions': [ | 2350 'conditions': [ |
2324 [ 'OS == "win"', { | 2351 [ 'OS == "win"', { |
2325 'variables': { | 2352 'variables': { |
2326 'native_messaging_host_path': 'remoting_host.exe', | 2353 'me2me_native_messaging_host_path': 'remoting_host.exe', |
2327 }, | 2354 }, |
2328 }], [ 'OS == "mac"', { | 2355 }], [ 'OS == "mac"', { |
2329 'variables': { | 2356 'variables': { |
2330 'native_messaging_host_path': '/Library/PrivilegedHelperTools/or g.chromium.chromoting.me2me_host.app/Contents/MacOS/native_messaging_host', | 2357 'me2me_native_messaging_host_path': '/Library/PrivilegedHelperTo ols/org.chromium.chromoting.me2me_host.app/Contents/MacOS/native_messaging_host' , |
2331 }, | 2358 }, |
2332 }], ['OS == "linux"', { | 2359 }], ['OS == "linux"', { |
2333 'variables': { | 2360 'variables': { |
2334 'native_messaging_host_path': '/opt/google/chrome-remote-desktop /native-messaging-host', | 2361 'me2me_native_messaging_host_path': '/opt/google/chrome-remote-d esktop/native-messaging-host', |
2335 }, | 2362 }, |
2336 }], ['OS != "linux" and OS != "mac" and OS != "win"', { | 2363 }], ['OS != "linux" and OS != "mac" and OS != "win"', { |
2337 'variables': { | 2364 'variables': { |
2338 'native_messaging_host_path': '/opt/google/chrome-remote-desktop /native-messaging-host', | 2365 'me2me_native_messaging_host_path': '/opt/google/chrome-remote-d esktop/native-messaging-host', |
2339 }, | 2366 }, |
2340 }], | 2367 }], |
2341 ], # conditions | 2368 ], # conditions |
2342 'actions': [ | 2369 'actions': [ |
2343 { | 2370 { |
2344 'action_name': 'generate_manifest', | 2371 'action_name': 'generate_manifest', |
2345 'inputs': [ | 2372 'inputs': [ |
2346 '<(remoting_localize_path)', | 2373 '<(remoting_localize_path)', |
2347 '<(input)', | 2374 '<(input)', |
2348 ], | 2375 ], |
2349 'outputs': [ | 2376 'outputs': [ |
2350 '<(output)', | 2377 '<(output)', |
2351 ], | 2378 ], |
2352 'action': [ | 2379 'action': [ |
2353 'python', | 2380 'python', |
2354 '<(remoting_localize_path)', | 2381 '<(remoting_localize_path)', |
2355 '--define', 'NATIVE_MESSAGING_HOST_PATH=<(native_messaging_host_ path)', | 2382 '--define', 'ME2ME_NATIVE_MESSAGING_HOST_PATH=<(me2me_native_mes saging_host_path)', |
2356 '--locale_dir', '<(webapp_locale_dir)', | 2383 '--locale_dir', '<(webapp_locale_dir)', |
2357 '--template', '<(input)', | 2384 '--template', '<(input)', |
2358 '--locale_output', | 2385 '--locale_output', |
2359 '<(output)', | 2386 '<(output)', |
2360 '--encoding', 'utf-8', | 2387 '--encoding', 'utf-8', |
2361 'en', | 2388 'en', |
2362 ], | 2389 ], |
2363 }, | 2390 }, |
2364 ], # actions | 2391 ], # actions |
2365 }, | 2392 }, |
2366 ], | 2393 ], |
2367 ], # target_conditions | 2394 ], # target_conditions |
2368 }, # end of target 'remoting_native_messaging_manifest' | 2395 }, # end of target 'remoting_me2me_native_messaging_manifest' |
2369 { | 2396 { |
2370 'target_name': 'remoting_resources', | 2397 'target_name': 'remoting_resources', |
2371 'type': 'none', | 2398 'type': 'none', |
2372 'variables': { | 2399 'variables': { |
2373 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2400 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
2374 'grit_resource_ids': 'resources/resource_ids', | 2401 'grit_resource_ids': 'resources/resource_ids', |
2375 'sources': [ | 2402 'sources': [ |
2376 'base/resources_unittest.cc', | 2403 'base/resources_unittest.cc', |
2377 'host/continue_window_mac.mm', | 2404 'host/continue_window_mac.mm', |
2378 'host/disconnect_window_mac.mm', | 2405 'host/disconnect_window_mac.mm', |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2765 '../ui/gfx/gfx.gyp:gfx', | 2792 '../ui/gfx/gfx.gyp:gfx', |
2766 '../ui/ui.gyp:ui', | 2793 '../ui/ui.gyp:ui', |
2767 'remoting_base', | 2794 'remoting_base', |
2768 'remoting_breakpad', | 2795 'remoting_breakpad', |
2769 'remoting_client', | 2796 'remoting_client', |
2770 'remoting_client_plugin', | 2797 'remoting_client_plugin', |
2771 'remoting_host', | 2798 'remoting_host', |
2772 'remoting_host_event_logger', | 2799 'remoting_host_event_logger', |
2773 'remoting_host_setup_base', | 2800 'remoting_host_setup_base', |
2774 'remoting_jingle_glue', | 2801 'remoting_jingle_glue', |
2802 'remoting_me2me_native_messaging_host_static', | |
2803 'remoting_native_messaging_base', | |
2775 'remoting_protocol', | 2804 'remoting_protocol', |
2776 'remoting_resources', | 2805 'remoting_resources', |
2777 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 2806 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
2778 ], | 2807 ], |
2779 'defines': [ | 2808 'defines': [ |
2780 'VERSION=<(version_full)', | 2809 'VERSION=<(version_full)', |
2781 ], | 2810 ], |
2782 'include_dirs': [ | 2811 'include_dirs': [ |
2783 '../testing/gmock/include', | 2812 '../testing/gmock/include', |
2784 ], | 2813 ], |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2829 'host/host_status_sender_unittest.cc', | 2858 'host/host_status_sender_unittest.cc', |
2830 'host/host_change_notification_listener_unittest.cc', | 2859 'host/host_change_notification_listener_unittest.cc', |
2831 'host/host_mock_objects.cc', | 2860 'host/host_mock_objects.cc', |
2832 'host/host_mock_objects.h', | 2861 'host/host_mock_objects.h', |
2833 'host/host_status_monitor_fake.h', | 2862 'host/host_status_monitor_fake.h', |
2834 'host/ipc_desktop_environment_unittest.cc', | 2863 'host/ipc_desktop_environment_unittest.cc', |
2835 'host/json_host_config_unittest.cc', | 2864 'host/json_host_config_unittest.cc', |
2836 'host/linux/x_server_clipboard_unittest.cc', | 2865 'host/linux/x_server_clipboard_unittest.cc', |
2837 'host/local_input_monitor_unittest.cc', | 2866 'host/local_input_monitor_unittest.cc', |
2838 'host/log_to_server_unittest.cc', | 2867 'host/log_to_server_unittest.cc', |
2868 'host/native_messaging/native_messaging_reader_unittest.cc', | |
2869 'host/native_messaging/native_messaging_writer_unittest.cc', | |
2839 'host/pairing_registry_delegate_linux_unittest.cc', | 2870 'host/pairing_registry_delegate_linux_unittest.cc', |
2840 'host/pairing_registry_delegate_win_unittest.cc', | 2871 'host/pairing_registry_delegate_win_unittest.cc', |
2841 'host/pin_hash_unittest.cc', | 2872 'host/pin_hash_unittest.cc', |
2842 'host/policy_hack/fake_policy_watcher.cc', | 2873 'host/policy_hack/fake_policy_watcher.cc', |
2843 'host/policy_hack/fake_policy_watcher.h', | 2874 'host/policy_hack/fake_policy_watcher.h', |
2844 'host/policy_hack/mock_policy_callback.cc', | 2875 'host/policy_hack/mock_policy_callback.cc', |
2845 'host/policy_hack/mock_policy_callback.h', | 2876 'host/policy_hack/mock_policy_callback.h', |
2846 'host/policy_hack/policy_watcher_unittest.cc', | 2877 'host/policy_hack/policy_watcher_unittest.cc', |
2847 'host/register_support_host_request_unittest.cc', | 2878 'host/register_support_host_request_unittest.cc', |
2848 'host/remote_input_filter_unittest.cc', | 2879 'host/remote_input_filter_unittest.cc', |
2849 'host/resizing_host_observer_unittest.cc', | 2880 'host/resizing_host_observer_unittest.cc', |
2850 'host/screen_capturer_fake.cc', | 2881 'host/screen_capturer_fake.cc', |
2851 'host/screen_capturer_fake.h', | 2882 'host/screen_capturer_fake.h', |
2852 'host/screen_resolution_unittest.cc', | 2883 'host/screen_resolution_unittest.cc', |
2853 'host/server_log_entry_unittest.cc', | 2884 'host/server_log_entry_unittest.cc', |
2854 'host/setup/native_messaging_host_unittest.cc', | 2885 'host/setup/me2me_native_messaging_host_unittest.cc', |
2855 'host/setup/native_messaging_reader_unittest.cc', | |
2856 'host/setup/native_messaging_writer_unittest.cc', | |
2857 'host/setup/oauth_helper_unittest.cc', | 2886 'host/setup/oauth_helper_unittest.cc', |
2858 'host/setup/pin_validator_unittest.cc', | 2887 'host/setup/pin_validator_unittest.cc', |
2859 'host/token_validator_factory_impl_unittest.cc', | 2888 'host/token_validator_factory_impl_unittest.cc', |
2860 'host/video_scheduler_unittest.cc', | 2889 'host/video_scheduler_unittest.cc', |
2861 'host/win/rdp_client_unittest.cc', | 2890 'host/win/rdp_client_unittest.cc', |
2862 'host/win/worker_process_launcher.cc', | 2891 'host/win/worker_process_launcher.cc', |
2863 'host/win/worker_process_launcher.h', | 2892 'host/win/worker_process_launcher.h', |
2864 'host/win/worker_process_launcher_unittest.cc', | 2893 'host/win/worker_process_launcher_unittest.cc', |
2865 'jingle_glue/chromium_socket_factory_unittest.cc', | 2894 'jingle_glue/chromium_socket_factory_unittest.cc', |
2866 'jingle_glue/fake_signal_strategy.cc', | 2895 'jingle_glue/fake_signal_strategy.cc', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2949 }], | 2978 }], |
2950 [ '(OS!="linux" or chromeos==0)', { | 2979 [ '(OS!="linux" or chromeos==0)', { |
2951 'sources!': [ | 2980 'sources!': [ |
2952 'client/plugin/normalizing_input_filter_cros_unittest.cc', | 2981 'client/plugin/normalizing_input_filter_cros_unittest.cc', |
2953 ], | 2982 ], |
2954 }], | 2983 }], |
2955 ['enable_remoting_host == 0', { | 2984 ['enable_remoting_host == 0', { |
2956 'dependencies!': [ | 2985 'dependencies!': [ |
2957 'remoting_host', | 2986 'remoting_host', |
2958 'remoting_host_setup_base', | 2987 'remoting_host_setup_base', |
2988 'remoting_me2me_native_messaging_host_static', | |
2989 'remoting_native_messaging_base', | |
2959 ], | 2990 ], |
2960 'sources/': [ | 2991 'sources/': [ |
2961 ['exclude', 'codec/*'], | 2992 ['exclude', 'codec/*'], |
2962 ['exclude', 'host/*'], | 2993 ['exclude', 'host/*'], |
2963 ] | 2994 ] |
2964 }], | 2995 }], |
2965 ['toolkit_uses_gtk == 1', { | 2996 ['toolkit_uses_gtk == 1', { |
2966 'dependencies': [ | 2997 'dependencies': [ |
2967 # Needed for the following #include chain: | 2998 # Needed for the following #include chain: |
2968 # base/run_all_unittests.cc | 2999 # base/run_all_unittests.cc |
2969 # ../base/test_suite.h | 3000 # ../base/test_suite.h |
2970 # gtk/gtk.h | 3001 # gtk/gtk.h |
2971 '../build/linux/system.gyp:gtk', | 3002 '../build/linux/system.gyp:gtk', |
2972 '../build/linux/system.gyp:ssl', | 3003 '../build/linux/system.gyp:ssl', |
2973 ], | 3004 ], |
2974 'conditions': [ | 3005 'conditions': [ |
2975 [ 'linux_use_tcmalloc==1', { | 3006 [ 'linux_use_tcmalloc==1', { |
2976 'dependencies': [ | 3007 'dependencies': [ |
2977 '../base/allocator/allocator.gyp:allocator', | 3008 '../base/allocator/allocator.gyp:allocator', |
2978 ], | 3009 ], |
2979 }, | 3010 }, |
2980 ], | 3011 ], |
2981 ], | 3012 ], |
2982 }], # end of 'toolkit_uses_gtk == 1' | 3013 }], # end of 'toolkit_uses_gtk == 1' |
2983 ], # end of 'conditions' | 3014 ], # end of 'conditions' |
2984 }, # end of target 'remoting_unittests' | 3015 }, # end of target 'remoting_unittests' |
2985 ], # end of targets | 3016 ], # end of targets |
2986 } | 3017 } |
OLD | NEW |