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', | 609 'host/setup/me2me_native_messaging_host.cc', |
593 'host/setup/native_messaging_channel.h', | 610 'host/setup/me2me_native_messaging_host.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', | 611 'host/setup/oauth_client.cc', |
601 'host/setup/oauth_client.h', | 612 'host/setup/oauth_client.h', |
602 'host/setup/oauth_helper.cc', | 613 'host/setup/oauth_helper.cc', |
603 'host/setup/oauth_helper.h', | 614 'host/setup/oauth_helper.h', |
604 'host/setup/pin_validator.cc', | 615 'host/setup/pin_validator.cc', |
605 'host/setup/pin_validator.h', | 616 'host/setup/pin_validator.h', |
606 'host/setup/service_client.cc', | 617 'host/setup/service_client.cc', |
607 'host/setup/service_client.h', | 618 'host/setup/service_client.h', |
608 'host/setup/test_util.cc', | 619 'host/setup/test_util.cc', |
609 'host/setup/test_util.h', | 620 'host/setup/test_util.h', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 'remoting_base', | 752 'remoting_base', |
742 'remoting_host', | 753 'remoting_host', |
743 'remoting_host_event_logger', | 754 'remoting_host_event_logger', |
744 'remoting_host_logging', | 755 'remoting_host_logging', |
745 'remoting_infoplist_strings', | 756 'remoting_infoplist_strings', |
746 'remoting_host_setup_base', | 757 'remoting_host_setup_base', |
747 'remoting_jingle_glue', | 758 'remoting_jingle_glue', |
748 'remoting_resources', | 759 'remoting_resources', |
749 ], | 760 ], |
750 'sources': [ | 761 'sources': [ |
751 'host/it2me/it2me_impl.cc', | 762 'host/it2me/it2me_host.cc', |
752 'host/it2me/it2me_impl.h', | 763 'host/it2me/it2me_host.h', |
753 ], | 764 ], |
754 }, # end of target 'remoting_it2me_host_static' | 765 }, # end of target 'remoting_it2me_host_static' |
755 { | 766 { |
756 'target_name': 'remoting_infoplist_strings', | 767 'target_name': 'remoting_infoplist_strings', |
757 'type': 'none', | 768 'type': 'none', |
758 'dependencies': [ | 769 'dependencies': [ |
759 'remoting_resources', | 770 'remoting_resources', |
760 ], | 771 ], |
761 'actions': [ | 772 'actions': [ |
762 { | 773 { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ]
, | 903 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ]
, |
893 }, | 904 }, |
894 ], | 905 ], |
895 }, | 906 }, |
896 { | 907 { |
897 'target_name': 'remoting_me2me_host_deb_installer', | 908 'target_name': 'remoting_me2me_host_deb_installer', |
898 'type': 'none', | 909 'type': 'none', |
899 'dependencies': [ | 910 'dependencies': [ |
900 'remoting_me2me_host', | 911 'remoting_me2me_host', |
901 'remoting_start_host', | 912 'remoting_start_host', |
902 'remoting_native_messaging_host', | 913 'remoting_me2me_native_messaging_host', |
| 914 'remoting_me2me_native_messaging_manifest', |
903 ], | 915 ], |
904 'actions': [ | 916 'actions': [ |
905 { | 917 { |
906 'action_name': 'build_debian_package', | 918 'action_name': 'build_debian_package', |
907 'inputs': [ | 919 'inputs': [ |
908 '<(deb_cmd)', | 920 '<(deb_cmd)', |
909 'host/installer/linux/Makefile', | 921 'host/installer/linux/Makefile', |
910 'host/installer/linux/debian/chrome-remote-desktop.init', | 922 'host/installer/linux/debian/chrome-remote-desktop.init', |
911 'host/installer/linux/debian/chrome-remote-desktop.pam', | 923 'host/installer/linux/debian/chrome-remote-desktop.pam', |
912 'host/installer/linux/debian/compat', | 924 'host/installer/linux/debian/compat', |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 ], # conditions | 1026 ], # conditions |
1015 }], # OS=mac | 1027 }], # OS=mac |
1016 ['OS=="linux" and linux_use_tcmalloc==1', { | 1028 ['OS=="linux" and linux_use_tcmalloc==1', { |
1017 'dependencies': [ | 1029 'dependencies': [ |
1018 '../base/allocator/allocator.gyp:allocator', | 1030 '../base/allocator/allocator.gyp:allocator', |
1019 ], | 1031 ], |
1020 }], # OS=linux | 1032 }], # OS=linux |
1021 ], # end of 'conditions' | 1033 ], # end of 'conditions' |
1022 }, # end of target 'remoting_me2me_host' | 1034 }, # end of target 'remoting_me2me_host' |
1023 { | 1035 { |
1024 'target_name': 'remoting_native_messaging_host', | 1036 'target_name': 'remoting_me2me_native_messaging_host', |
1025 'type': 'executable', | 1037 'type': 'executable', |
| 1038 'product_name': 'remoting_native_messaging_host', |
1026 'variables': { 'enable_wexit_time_destructors': 1, }, | 1039 'variables': { 'enable_wexit_time_destructors': 1, }, |
1027 'dependencies': [ | 1040 'dependencies': [ |
1028 '../base/base.gyp:base', | 1041 '../base/base.gyp:base', |
1029 'remoting_host', | 1042 'remoting_host', |
1030 'remoting_host_logging', | 1043 'remoting_host_logging', |
1031 'remoting_host_setup_base', | 1044 'remoting_host_setup_base', |
1032 'remoting_native_messaging_manifest', | 1045 'remoting_native_messaging_base', |
1033 ], | |
1034 'defines': [ | |
1035 'VERSION=<(version_full)', | |
1036 ], | 1046 ], |
1037 'sources': [ | 1047 'sources': [ |
1038 'host/setup/native_messaging_host_main.cc', | 1048 'host/setup/me2me_native_messaging_host_main.cc', |
1039 ], | 1049 ], |
1040 'conditions': [ | 1050 'conditions': [ |
1041 ['OS=="linux" and linux_use_tcmalloc==1', { | 1051 ['OS=="linux" and linux_use_tcmalloc==1', { |
1042 'dependencies': [ | 1052 'dependencies': [ |
1043 '../base/allocator/allocator.gyp:allocator', | 1053 '../base/allocator/allocator.gyp:allocator', |
1044 ], | 1054 ], |
1045 }], | 1055 }], |
1046 ], | 1056 ], |
1047 }, # end of target 'remoting_native_messaging_host' | 1057 }, # end of target 'remoting_me2me_native_messaging_host' |
1048 ], # end of 'targets' | 1058 ], # end of 'targets' |
1049 }], # 'OS!="win" and enable_remoting_host==1' | 1059 }], # 'OS!="win" and enable_remoting_host==1' |
1050 | 1060 |
1051 | 1061 |
1052 ['OS=="linux" and chromeos==0 and enable_remoting_host==1', { | 1062 ['OS=="linux" and chromeos==0 and enable_remoting_host==1', { |
1053 'targets': [ | 1063 'targets': [ |
1054 # Linux breakpad processing | 1064 # Linux breakpad processing |
1055 { | 1065 { |
1056 'target_name': 'remoting_linux_symbols', | 1066 'target_name': 'remoting_linux_symbols', |
1057 'type': 'none', | 1067 '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 | 1161 # This packages up the files needed for the remoting host installer so |
1152 # they can be sent off to be signed. | 1162 # they can be sent off to be signed. |
1153 # We don't build an installer here because we don't have signed binaries
. | 1163 # We don't build an installer here because we don't have signed binaries
. |
1154 { | 1164 { |
1155 'target_name': 'remoting_me2me_host_archive', | 1165 'target_name': 'remoting_me2me_host_archive', |
1156 'type': 'none', | 1166 'type': 'none', |
1157 'dependencies': [ | 1167 'dependencies': [ |
1158 'remoting_host_prefpane', | 1168 'remoting_host_prefpane', |
1159 'remoting_host_uninstaller', | 1169 'remoting_host_uninstaller', |
1160 'remoting_me2me_host', | 1170 'remoting_me2me_host', |
1161 'remoting_native_messaging_host', | 1171 'remoting_me2me_native_messaging_host', |
| 1172 'remoting_me2me_native_messaging_manifest', |
1162 ], | 1173 ], |
1163 'variables': { | 1174 'variables': { |
1164 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@
HOST_PLUGIN_FILE_NAME@")', | 1175 '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@")', | 1176 '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@")', | 1177 '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@")', | 1178 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) -
t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', |
1168 }, | 1179 }, |
1169 'actions': [ | 1180 'actions': [ |
1170 { | 1181 { |
1171 'action_name': 'Zip installer files for signing', | 1182 'action_name': 'Zip installer files for signing', |
1172 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho
st', | 1183 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho
st', |
1173 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 1184 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
1174 'variables': { | 1185 'variables': { |
1175 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', | 1186 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', |
1176 'host_service_name_nospace': '<!(echo <(host_service_name) | sed
"s/ //g")', | 1187 'host_service_name_nospace': '<!(echo <(host_service_name) | sed
"s/ //g")', |
1177 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam
e) | sed "s/ //g")', | 1188 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam
e) | sed "s/ //g")', |
1178 }, | 1189 }, |
1179 'generated_files': [ | 1190 'generated_files': [ |
1180 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', | 1191 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
1181 '<(PRODUCT_DIR)/remoting_me2me_host.app', | 1192 '<(PRODUCT_DIR)/remoting_me2me_host.app', |
1182 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 1193 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
1183 '<(PRODUCT_DIR)/remoting_native_messaging_host', | 1194 '<(PRODUCT_DIR)/remoting_native_messaging_host', |
1184 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', | 1195 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', |
1185 ], | 1196 ], |
1186 'generated_files_dst': [ | 1197 'generated_files_dst': [ |
1187 'PreferencePanes/org.chromium.chromoting.prefPane', | 1198 'PreferencePanes/org.chromium.chromoting.prefPane', |
1188 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', | 1199 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', |
1189 'Applications/<(host_uninstaller_name).app', | 1200 'Applications/<(host_uninstaller_name).app', |
1190 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co
ntents/MacOS/native_messaging_host', | 1201 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co
ntents/MacOS/native_messaging_host', |
1191 » » 'Config/com.google.chrome.remote_desktop.json', | 1202 'Config/com.google.chrome.remote_desktop.json', |
1192 ], | 1203 ], |
1193 'source_files': [ | 1204 'source_files': [ |
1194 '<@(remoting_host_installer_mac_files)', | 1205 '<@(remoting_host_installer_mac_files)', |
1195 ], | 1206 ], |
1196 'defs': [ | 1207 'defs': [ |
1197 'VERSION=<(version_full)', | 1208 'VERSION=<(version_full)', |
1198 'VERSION_SHORT=<(version_short)', | 1209 'VERSION_SHORT=<(version_short)', |
1199 'VERSION_MAJOR=<(version_major)', | 1210 'VERSION_MAJOR=<(version_major)', |
1200 'VERSION_MINOR=<(version_minor)', | 1211 'VERSION_MINOR=<(version_minor)', |
1201 'HOST_NAME=<(host_name)', | 1212 'HOST_NAME=<(host_name)', |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1529 'remoting_breakpad', | 1540 'remoting_breakpad', |
1530 'remoting_core_resources', | 1541 'remoting_core_resources', |
1531 'remoting_host', | 1542 'remoting_host', |
1532 'remoting_host_event_logger', | 1543 'remoting_host_event_logger', |
1533 'remoting_host_logging', | 1544 'remoting_host_logging', |
1534 'remoting_host_setup_base', | 1545 'remoting_host_setup_base', |
1535 'remoting_lib_idl', | 1546 'remoting_lib_idl', |
1536 'remoting_lib_ps', | 1547 'remoting_lib_ps', |
1537 'remoting_lib_rc', | 1548 'remoting_lib_rc', |
1538 'remoting_me2me_host_static', | 1549 'remoting_me2me_host_static', |
| 1550 'remoting_native_messaging_base', |
1539 'remoting_protocol', | 1551 'remoting_protocol', |
1540 'remoting_version_resources', | 1552 'remoting_version_resources', |
1541 ], | 1553 ], |
1542 'sources': [ | 1554 'sources': [ |
1543 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | 1555 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
1544 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', | 1556 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', |
1545 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, | 1557 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, |
1546 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | 1558 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1547 'host/chromoting_messages.cc', | 1559 'host/chromoting_messages.cc', |
1548 'host/chromoting_messages.h', | 1560 'host/chromoting_messages.h', |
(...skipping 14 matching lines...) Expand all Loading... |
1563 'host/host_exit_codes.h', | 1575 'host/host_exit_codes.h', |
1564 'host/host_exit_codes.cc', | 1576 'host/host_exit_codes.cc', |
1565 'host/host_export.h', | 1577 'host/host_export.h', |
1566 'host/host_main.cc', | 1578 'host/host_main.cc', |
1567 'host/host_main.h', | 1579 'host/host_main.h', |
1568 'host/ipc_constants.cc', | 1580 'host/ipc_constants.cc', |
1569 'host/ipc_constants.h', | 1581 'host/ipc_constants.h', |
1570 'host/remoting_me2me_host.cc', | 1582 'host/remoting_me2me_host.cc', |
1571 'host/sas_injector.h', | 1583 'host/sas_injector.h', |
1572 'host/sas_injector_win.cc', | 1584 'host/sas_injector_win.cc', |
| 1585 'host/setup/me2me_native_messaging_host_main.cc', |
1573 'host/verify_config_window_win.cc', | 1586 'host/verify_config_window_win.cc', |
1574 'host/verify_config_window_win.h', | 1587 'host/verify_config_window_win.h', |
1575 'host/win/chromoting_module.cc', | 1588 'host/win/chromoting_module.cc', |
1576 'host/win/chromoting_module.h', | 1589 'host/win/chromoting_module.h', |
1577 'host/win/core.cc', | 1590 'host/win/core.cc', |
1578 'host/win/core_resource.h', | 1591 'host/win/core_resource.h', |
1579 'host/win/elevated_controller.cc', | 1592 'host/win/elevated_controller.cc', |
1580 'host/win/elevated_controller.h', | 1593 'host/win/elevated_controller.h', |
1581 'host/win/host_service.cc', | 1594 'host/win/host_service.cc', |
1582 'host/win/host_service.h', | 1595 'host/win/host_service.h', |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1942 ], | 1955 ], |
1943 }, # end of target 'remoting_host_installation' | 1956 }, # end of target 'remoting_host_installation' |
1944 | 1957 |
1945 { | 1958 { |
1946 'target_name': 'remoting_me2me_host_archive', | 1959 'target_name': 'remoting_me2me_host_archive', |
1947 'type': 'none', | 1960 'type': 'none', |
1948 'dependencies': [ | 1961 'dependencies': [ |
1949 'remoting_core', | 1962 'remoting_core', |
1950 'remoting_desktop', | 1963 'remoting_desktop', |
1951 'remoting_host_exe', | 1964 'remoting_host_exe', |
1952 'remoting_native_messaging_manifest', | 1965 'remoting_me2me_native_messaging_manifest', |
1953 ], | 1966 ], |
1954 'compiled_inputs': [ | 1967 'compiled_inputs': [ |
1955 '<(PRODUCT_DIR)/remoting_core.dll', | 1968 '<(PRODUCT_DIR)/remoting_core.dll', |
1956 '<(PRODUCT_DIR)/remoting_desktop.exe', | 1969 '<(PRODUCT_DIR)/remoting_desktop.exe', |
1957 '<(PRODUCT_DIR)/remoting_host.exe', | 1970 '<(PRODUCT_DIR)/remoting_host.exe', |
1958 ], | 1971 ], |
1959 'compiled_inputs_dst': [ | 1972 'compiled_inputs_dst': [ |
1960 'files/remoting_core.dll', | 1973 'files/remoting_core.dll', |
1961 'files/remoting_desktop.exe', | 1974 'files/remoting_desktop.exe', |
1962 'files/remoting_host.exe', | 1975 'files/remoting_host.exe', |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2299 '--patches', | 2312 '--patches', |
2300 '<@(remoting_webapp_patch_files)', | 2313 '<@(remoting_webapp_patch_files)', |
2301 ], | 2314 ], |
2302 'msvs_cygwin_shell': 0, | 2315 'msvs_cygwin_shell': 0, |
2303 }, | 2316 }, |
2304 ], | 2317 ], |
2305 }], | 2318 }], |
2306 ], | 2319 ], |
2307 }, # end of target 'remoting_webapp' | 2320 }, # end of target 'remoting_webapp' |
2308 | 2321 |
2309 # Generates 'native_messaging_manifest.json' to be included in the | 2322 # Generates 'me2me_native_messaging_manifest.json' to be included in the |
2310 # installation. | 2323 # installation. |
2311 { | 2324 { |
2312 'target_name': 'remoting_native_messaging_manifest', | 2325 'target_name': 'remoting_me2me_native_messaging_manifest', |
2313 'type': 'none', | 2326 'type': 'none', |
2314 'dependencies': [ | 2327 'dependencies': [ |
2315 'remoting_resources', | 2328 'remoting_resources', |
2316 ], | 2329 ], |
2317 'variables': { | 2330 'variables': { |
2318 'input': 'host/setup/native_messaging_manifest.json', | 2331 'input': 'host/setup/me2me_native_messaging_manifest.json', |
2319 'output': '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json
', | 2332 'output': '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json
', |
2320 }, | 2333 }, |
2321 'target_conditions': [ | 2334 'target_conditions': [ |
2322 ['OS == "win" or OS == "mac" or OS == "linux"', { | 2335 ['OS == "win" or OS == "mac" or OS == "linux"', { |
2323 'conditions': [ | 2336 'conditions': [ |
2324 [ 'OS == "win"', { | 2337 [ 'OS == "win"', { |
2325 'variables': { | 2338 'variables': { |
2326 'native_messaging_host_path': 'remoting_host.exe', | 2339 'me2me_native_messaging_host_path': 'remoting_host.exe', |
2327 }, | 2340 }, |
2328 }], [ 'OS == "mac"', { | 2341 }], [ 'OS == "mac"', { |
2329 'variables': { | 2342 'variables': { |
2330 'native_messaging_host_path': '/Library/PrivilegedHelperTools/or
g.chromium.chromoting.me2me_host.app/Contents/MacOS/native_messaging_host', | 2343 'me2me_native_messaging_host_path': '/Library/PrivilegedHelperTo
ols/org.chromium.chromoting.me2me_host.app/Contents/MacOS/native_messaging_host'
, |
2331 }, | 2344 }, |
2332 }], ['OS == "linux"', { | 2345 }], ['OS == "linux"', { |
2333 'variables': { | 2346 'variables': { |
2334 'native_messaging_host_path': '/opt/google/chrome-remote-desktop
/native-messaging-host', | 2347 'me2me_native_messaging_host_path': '/opt/google/chrome-remote-d
esktop/native-messaging-host', |
2335 }, | 2348 }, |
2336 }], ['OS != "linux" and OS != "mac" and OS != "win"', { | 2349 }], ['OS != "linux" and OS != "mac" and OS != "win"', { |
2337 'variables': { | 2350 'variables': { |
2338 'native_messaging_host_path': '/opt/google/chrome-remote-desktop
/native-messaging-host', | 2351 'me2me_native_messaging_host_path': '/opt/google/chrome-remote-d
esktop/native-messaging-host', |
2339 }, | 2352 }, |
2340 }], | 2353 }], |
2341 ], # conditions | 2354 ], # conditions |
2342 'actions': [ | 2355 'actions': [ |
2343 { | 2356 { |
2344 'action_name': 'generate_manifest', | 2357 'action_name': 'generate_manifest', |
2345 'inputs': [ | 2358 'inputs': [ |
2346 '<(remoting_localize_path)', | 2359 '<(remoting_localize_path)', |
2347 '<(input)', | 2360 '<(input)', |
2348 ], | 2361 ], |
2349 'outputs': [ | 2362 'outputs': [ |
2350 '<(output)', | 2363 '<(output)', |
2351 ], | 2364 ], |
2352 'action': [ | 2365 'action': [ |
2353 'python', | 2366 'python', |
2354 '<(remoting_localize_path)', | 2367 '<(remoting_localize_path)', |
2355 '--define', 'NATIVE_MESSAGING_HOST_PATH=<(native_messaging_host_
path)', | 2368 '--define', 'ME2ME_NATIVE_MESSAGING_HOST_PATH=<(me2me_native_mes
saging_host_path)', |
2356 '--locale_dir', '<(webapp_locale_dir)', | 2369 '--locale_dir', '<(webapp_locale_dir)', |
2357 '--template', '<(input)', | 2370 '--template', '<(input)', |
2358 '--locale_output', | 2371 '--locale_output', |
2359 '<(output)', | 2372 '<(output)', |
2360 '--encoding', 'utf-8', | 2373 '--encoding', 'utf-8', |
2361 'en', | 2374 'en', |
2362 ], | 2375 ], |
2363 }, | 2376 }, |
2364 ], # actions | 2377 ], # actions |
2365 }, | 2378 }, |
2366 ], | 2379 ], |
2367 ], # target_conditions | 2380 ], # target_conditions |
2368 }, # end of target 'remoting_native_messaging_manifest' | 2381 }, # end of target 'remoting_me2me_native_messaging_manifest' |
2369 { | 2382 { |
2370 'target_name': 'remoting_resources', | 2383 'target_name': 'remoting_resources', |
2371 'type': 'none', | 2384 'type': 'none', |
2372 'variables': { | 2385 'variables': { |
2373 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2386 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
2374 'grit_resource_ids': 'resources/resource_ids', | 2387 'grit_resource_ids': 'resources/resource_ids', |
2375 'sources': [ | 2388 'sources': [ |
2376 'base/resources_unittest.cc', | 2389 'base/resources_unittest.cc', |
2377 'host/continue_window_mac.mm', | 2390 'host/continue_window_mac.mm', |
2378 'host/disconnect_window_mac.mm', | 2391 'host/disconnect_window_mac.mm', |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2765 '../ui/gfx/gfx.gyp:gfx', | 2778 '../ui/gfx/gfx.gyp:gfx', |
2766 '../ui/ui.gyp:ui', | 2779 '../ui/ui.gyp:ui', |
2767 'remoting_base', | 2780 'remoting_base', |
2768 'remoting_breakpad', | 2781 'remoting_breakpad', |
2769 'remoting_client', | 2782 'remoting_client', |
2770 'remoting_client_plugin', | 2783 'remoting_client_plugin', |
2771 'remoting_host', | 2784 'remoting_host', |
2772 'remoting_host_event_logger', | 2785 'remoting_host_event_logger', |
2773 'remoting_host_setup_base', | 2786 'remoting_host_setup_base', |
2774 'remoting_jingle_glue', | 2787 'remoting_jingle_glue', |
| 2788 'remoting_native_messaging_base', |
2775 'remoting_protocol', | 2789 'remoting_protocol', |
2776 'remoting_resources', | 2790 'remoting_resources', |
2777 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 2791 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
2778 ], | 2792 ], |
2779 'defines': [ | 2793 'defines': [ |
2780 'VERSION=<(version_full)', | 2794 'VERSION=<(version_full)', |
2781 ], | 2795 ], |
2782 'include_dirs': [ | 2796 'include_dirs': [ |
2783 '../testing/gmock/include', | 2797 '../testing/gmock/include', |
2784 ], | 2798 ], |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2829 'host/host_status_sender_unittest.cc', | 2843 'host/host_status_sender_unittest.cc', |
2830 'host/host_change_notification_listener_unittest.cc', | 2844 'host/host_change_notification_listener_unittest.cc', |
2831 'host/host_mock_objects.cc', | 2845 'host/host_mock_objects.cc', |
2832 'host/host_mock_objects.h', | 2846 'host/host_mock_objects.h', |
2833 'host/host_status_monitor_fake.h', | 2847 'host/host_status_monitor_fake.h', |
2834 'host/ipc_desktop_environment_unittest.cc', | 2848 'host/ipc_desktop_environment_unittest.cc', |
2835 'host/json_host_config_unittest.cc', | 2849 'host/json_host_config_unittest.cc', |
2836 'host/linux/x_server_clipboard_unittest.cc', | 2850 'host/linux/x_server_clipboard_unittest.cc', |
2837 'host/local_input_monitor_unittest.cc', | 2851 'host/local_input_monitor_unittest.cc', |
2838 'host/log_to_server_unittest.cc', | 2852 'host/log_to_server_unittest.cc', |
| 2853 'host/native_messaging/native_messaging_reader_unittest.cc', |
| 2854 'host/native_messaging/native_messaging_writer_unittest.cc', |
2839 'host/pairing_registry_delegate_linux_unittest.cc', | 2855 'host/pairing_registry_delegate_linux_unittest.cc', |
2840 'host/pairing_registry_delegate_win_unittest.cc', | 2856 'host/pairing_registry_delegate_win_unittest.cc', |
2841 'host/pin_hash_unittest.cc', | 2857 'host/pin_hash_unittest.cc', |
2842 'host/policy_hack/fake_policy_watcher.cc', | 2858 'host/policy_hack/fake_policy_watcher.cc', |
2843 'host/policy_hack/fake_policy_watcher.h', | 2859 'host/policy_hack/fake_policy_watcher.h', |
2844 'host/policy_hack/mock_policy_callback.cc', | 2860 'host/policy_hack/mock_policy_callback.cc', |
2845 'host/policy_hack/mock_policy_callback.h', | 2861 'host/policy_hack/mock_policy_callback.h', |
2846 'host/policy_hack/policy_watcher_unittest.cc', | 2862 'host/policy_hack/policy_watcher_unittest.cc', |
2847 'host/register_support_host_request_unittest.cc', | 2863 'host/register_support_host_request_unittest.cc', |
2848 'host/remote_input_filter_unittest.cc', | 2864 'host/remote_input_filter_unittest.cc', |
2849 'host/resizing_host_observer_unittest.cc', | 2865 'host/resizing_host_observer_unittest.cc', |
2850 'host/screen_capturer_fake.cc', | 2866 'host/screen_capturer_fake.cc', |
2851 'host/screen_capturer_fake.h', | 2867 'host/screen_capturer_fake.h', |
2852 'host/screen_resolution_unittest.cc', | 2868 'host/screen_resolution_unittest.cc', |
2853 'host/server_log_entry_unittest.cc', | 2869 'host/server_log_entry_unittest.cc', |
2854 'host/setup/native_messaging_host_unittest.cc', | 2870 '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', | 2871 'host/setup/oauth_helper_unittest.cc', |
2858 'host/setup/pin_validator_unittest.cc', | 2872 'host/setup/pin_validator_unittest.cc', |
2859 'host/token_validator_factory_impl_unittest.cc', | 2873 'host/token_validator_factory_impl_unittest.cc', |
2860 'host/video_scheduler_unittest.cc', | 2874 'host/video_scheduler_unittest.cc', |
2861 'host/win/rdp_client_unittest.cc', | 2875 'host/win/rdp_client_unittest.cc', |
2862 'host/win/worker_process_launcher.cc', | 2876 'host/win/worker_process_launcher.cc', |
2863 'host/win/worker_process_launcher.h', | 2877 'host/win/worker_process_launcher.h', |
2864 'host/win/worker_process_launcher_unittest.cc', | 2878 'host/win/worker_process_launcher_unittest.cc', |
2865 'jingle_glue/chromium_socket_factory_unittest.cc', | 2879 'jingle_glue/chromium_socket_factory_unittest.cc', |
2866 'jingle_glue/fake_signal_strategy.cc', | 2880 'jingle_glue/fake_signal_strategy.cc', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2949 }], | 2963 }], |
2950 [ '(OS!="linux" or chromeos==0)', { | 2964 [ '(OS!="linux" or chromeos==0)', { |
2951 'sources!': [ | 2965 'sources!': [ |
2952 'client/plugin/normalizing_input_filter_cros_unittest.cc', | 2966 'client/plugin/normalizing_input_filter_cros_unittest.cc', |
2953 ], | 2967 ], |
2954 }], | 2968 }], |
2955 ['enable_remoting_host == 0', { | 2969 ['enable_remoting_host == 0', { |
2956 'dependencies!': [ | 2970 'dependencies!': [ |
2957 'remoting_host', | 2971 'remoting_host', |
2958 'remoting_host_setup_base', | 2972 'remoting_host_setup_base', |
| 2973 'remoting_native_messaging_base', |
2959 ], | 2974 ], |
2960 'sources/': [ | 2975 'sources/': [ |
2961 ['exclude', 'codec/*'], | 2976 ['exclude', 'codec/*'], |
2962 ['exclude', 'host/*'], | 2977 ['exclude', 'host/*'], |
2963 ] | 2978 ] |
2964 }], | 2979 }], |
2965 ['toolkit_uses_gtk == 1', { | 2980 ['toolkit_uses_gtk == 1', { |
2966 'dependencies': [ | 2981 'dependencies': [ |
2967 # Needed for the following #include chain: | 2982 # Needed for the following #include chain: |
2968 # base/run_all_unittests.cc | 2983 # base/run_all_unittests.cc |
2969 # ../base/test_suite.h | 2984 # ../base/test_suite.h |
2970 # gtk/gtk.h | 2985 # gtk/gtk.h |
2971 '../build/linux/system.gyp:gtk', | 2986 '../build/linux/system.gyp:gtk', |
2972 '../build/linux/system.gyp:ssl', | 2987 '../build/linux/system.gyp:ssl', |
2973 ], | 2988 ], |
2974 'conditions': [ | 2989 'conditions': [ |
2975 [ 'linux_use_tcmalloc==1', { | 2990 [ 'linux_use_tcmalloc==1', { |
2976 'dependencies': [ | 2991 'dependencies': [ |
2977 '../base/allocator/allocator.gyp:allocator', | 2992 '../base/allocator/allocator.gyp:allocator', |
2978 ], | 2993 ], |
2979 }, | 2994 }, |
2980 ], | 2995 ], |
2981 ], | 2996 ], |
2982 }], # end of 'toolkit_uses_gtk == 1' | 2997 }], # end of 'toolkit_uses_gtk == 1' |
2983 ], # end of 'conditions' | 2998 ], # end of 'conditions' |
2984 }, # end of target 'remoting_unittests' | 2999 }, # end of target 'remoting_unittests' |
2985 ], # end of targets | 3000 ], # end of targets |
2986 } | 3001 } |
OLD | NEW |