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 'defines': [ | |
539 'VERSION=<(version_full)', | |
Lambros
2013/10/29 20:09:40
This #define is not needed here.
weitao
2013/10/31 17:59:33
Done.
| |
540 ], | |
541 'sources': [ | |
542 'host/native_messaging/native_messaging_channel.cc', | |
543 'host/native_messaging/native_messaging_channel.h', | |
544 'host/native_messaging/native_messaging_reader.cc', | |
545 'host/native_messaging/native_messaging_reader.h', | |
546 'host/native_messaging/native_messaging_writer.cc', | |
547 'host/native_messaging/native_messaging_writer.h', | |
548 ], | |
549 }, # end of target 'remoting_native_messaging_base' | |
550 | |
551 { | |
532 'target_name': 'remoting_me2me_host_static', | 552 'target_name': 'remoting_me2me_host_static', |
533 'type': 'static_library', | 553 'type': 'static_library', |
534 'variables': { 'enable_wexit_time_destructors': 1, }, | 554 'variables': { 'enable_wexit_time_destructors': 1, }, |
535 'dependencies': [ | 555 'dependencies': [ |
536 '../base/base.gyp:base', | 556 '../base/base.gyp:base', |
537 '../base/base.gyp:base_i18n', | 557 '../base/base.gyp:base_i18n', |
538 '../net/net.gyp:net', | 558 '../net/net.gyp:net', |
539 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 559 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
540 'remoting_base', | 560 'remoting_base', |
541 'remoting_breakpad', | 561 'remoting_breakpad', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
582 'host/setup/daemon_controller_delegate_linux.cc', | 602 'host/setup/daemon_controller_delegate_linux.cc', |
583 'host/setup/daemon_controller_delegate_linux.h', | 603 'host/setup/daemon_controller_delegate_linux.h', |
584 'host/setup/daemon_controller_delegate_mac.h', | 604 'host/setup/daemon_controller_delegate_mac.h', |
585 'host/setup/daemon_controller_delegate_mac.mm', | 605 'host/setup/daemon_controller_delegate_mac.mm', |
586 'host/setup/daemon_controller_delegate_win.cc', | 606 'host/setup/daemon_controller_delegate_win.cc', |
587 'host/setup/daemon_controller_delegate_win.h', | 607 'host/setup/daemon_controller_delegate_win.h', |
588 'host/setup/daemon_installer_win.cc', | 608 'host/setup/daemon_installer_win.cc', |
589 'host/setup/daemon_installer_win.h', | 609 'host/setup/daemon_installer_win.h', |
590 'host/setup/host_starter.cc', | 610 'host/setup/host_starter.cc', |
591 'host/setup/host_starter.h', | 611 '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', | 612 'host/setup/oauth_client.cc', |
601 'host/setup/oauth_client.h', | 613 'host/setup/oauth_client.h', |
602 'host/setup/oauth_helper.cc', | 614 'host/setup/oauth_helper.cc', |
603 'host/setup/oauth_helper.h', | 615 'host/setup/oauth_helper.h', |
604 'host/setup/pin_validator.cc', | 616 'host/setup/pin_validator.cc', |
605 'host/setup/pin_validator.h', | 617 'host/setup/pin_validator.h', |
606 'host/setup/service_client.cc', | 618 'host/setup/service_client.cc', |
607 'host/setup/service_client.h', | 619 'host/setup/service_client.h', |
608 'host/setup/test_util.cc', | 620 'host/setup/test_util.cc', |
609 'host/setup/test_util.h', | 621 'host/setup/test_util.h', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
741 'remoting_base', | 753 'remoting_base', |
742 'remoting_host', | 754 'remoting_host', |
743 'remoting_host_event_logger', | 755 'remoting_host_event_logger', |
744 'remoting_host_logging', | 756 'remoting_host_logging', |
745 'remoting_infoplist_strings', | 757 'remoting_infoplist_strings', |
746 'remoting_host_setup_base', | 758 'remoting_host_setup_base', |
747 'remoting_jingle_glue', | 759 'remoting_jingle_glue', |
748 'remoting_resources', | 760 'remoting_resources', |
749 ], | 761 ], |
750 'sources': [ | 762 'sources': [ |
751 'host/it2me/it2me_impl.cc', | 763 'host/it2me/it2me_host.cc', |
752 'host/it2me/it2me_impl.h', | 764 'host/it2me/it2me_host.h', |
753 ], | 765 ], |
754 }, # end of target 'remoting_it2me_host_static' | 766 }, # end of target 'remoting_it2me_host_static' |
755 { | 767 { |
756 'target_name': 'remoting_infoplist_strings', | 768 'target_name': 'remoting_infoplist_strings', |
757 'type': 'none', | 769 'type': 'none', |
758 'dependencies': [ | 770 'dependencies': [ |
759 'remoting_resources', | 771 'remoting_resources', |
760 ], | 772 ], |
761 'actions': [ | 773 'actions': [ |
762 { | 774 { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
892 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ] , | 904 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ] , |
893 }, | 905 }, |
894 ], | 906 ], |
895 }, | 907 }, |
896 { | 908 { |
897 'target_name': 'remoting_me2me_host_deb_installer', | 909 'target_name': 'remoting_me2me_host_deb_installer', |
898 'type': 'none', | 910 'type': 'none', |
899 'dependencies': [ | 911 'dependencies': [ |
900 'remoting_me2me_host', | 912 'remoting_me2me_host', |
901 'remoting_start_host', | 913 'remoting_start_host', |
902 'remoting_native_messaging_host', | 914 'remoting_me2me_native_messaging_host', |
915 'remoting_me2me_native_messaging_manifest', | |
903 ], | 916 ], |
904 'actions': [ | 917 'actions': [ |
905 { | 918 { |
906 'action_name': 'build_debian_package', | 919 'action_name': 'build_debian_package', |
907 'inputs': [ | 920 'inputs': [ |
908 '<(deb_cmd)', | 921 '<(deb_cmd)', |
909 'host/installer/linux/Makefile', | 922 'host/installer/linux/Makefile', |
910 'host/installer/linux/debian/chrome-remote-desktop.init', | 923 'host/installer/linux/debian/chrome-remote-desktop.init', |
911 'host/installer/linux/debian/chrome-remote-desktop.pam', | 924 'host/installer/linux/debian/chrome-remote-desktop.pam', |
912 'host/installer/linux/debian/compat', | 925 'host/installer/linux/debian/compat', |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1014 ], # conditions | 1027 ], # conditions |
1015 }], # OS=mac | 1028 }], # OS=mac |
1016 ['OS=="linux" and linux_use_tcmalloc==1', { | 1029 ['OS=="linux" and linux_use_tcmalloc==1', { |
1017 'dependencies': [ | 1030 'dependencies': [ |
1018 '../base/allocator/allocator.gyp:allocator', | 1031 '../base/allocator/allocator.gyp:allocator', |
1019 ], | 1032 ], |
1020 }], # OS=linux | 1033 }], # OS=linux |
1021 ], # end of 'conditions' | 1034 ], # end of 'conditions' |
1022 }, # end of target 'remoting_me2me_host' | 1035 }, # end of target 'remoting_me2me_host' |
1023 { | 1036 { |
1024 'target_name': 'remoting_native_messaging_host', | 1037 'target_name': 'remoting_me2me_native_messaging_host', |
1025 'type': 'executable', | 1038 'type': 'executable', |
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', |
1044 'remoting_native_messaging_base', | |
1031 'remoting_host_setup_base', | 1045 'remoting_host_setup_base', |
1032 'remoting_native_messaging_manifest', | |
1033 ], | 1046 ], |
1034 'defines': [ | 1047 'defines': [ |
1035 'VERSION=<(version_full)', | 1048 'VERSION=<(version_full)', |
1036 ], | 1049 ], |
1037 'sources': [ | 1050 'sources': [ |
1038 'host/setup/native_messaging_host_main.cc', | 1051 'host/setup/me2me_native_messaging_host_main.cc', |
1052 'host/setup/me2me_native_messaging_host.cc', | |
1053 'host/setup/me2me_native_messaging_host.h', | |
1039 ], | 1054 ], |
1040 'conditions': [ | 1055 'conditions': [ |
1041 ['OS=="linux" and linux_use_tcmalloc==1', { | 1056 ['OS=="linux" and linux_use_tcmalloc==1', { |
1042 'dependencies': [ | 1057 'dependencies': [ |
1043 '../base/allocator/allocator.gyp:allocator', | 1058 '../base/allocator/allocator.gyp:allocator', |
1044 ], | 1059 ], |
1045 }], | 1060 }], |
1046 ], | 1061 ], |
1047 }, # end of target 'remoting_native_messaging_host' | 1062 }, # end of target 'remoting_me2me_native_messaging_host' |
1048 ], # end of 'targets' | 1063 ], # end of 'targets' |
1049 }], # 'OS!="win" and enable_remoting_host==1' | 1064 }], # 'OS!="win" and enable_remoting_host==1' |
1050 | 1065 |
1051 | 1066 |
1052 ['OS=="linux" and chromeos==0 and enable_remoting_host==1', { | 1067 ['OS=="linux" and chromeos==0 and enable_remoting_host==1', { |
1053 'targets': [ | 1068 'targets': [ |
1054 # Linux breakpad processing | 1069 # Linux breakpad processing |
1055 { | 1070 { |
1056 'target_name': 'remoting_linux_symbols', | 1071 'target_name': 'remoting_linux_symbols', |
1057 'type': 'none', | 1072 '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 | 1166 # This packages up the files needed for the remoting host installer so |
1152 # they can be sent off to be signed. | 1167 # they can be sent off to be signed. |
1153 # We don't build an installer here because we don't have signed binaries . | 1168 # We don't build an installer here because we don't have signed binaries . |
1154 { | 1169 { |
1155 'target_name': 'remoting_me2me_host_archive', | 1170 'target_name': 'remoting_me2me_host_archive', |
1156 'type': 'none', | 1171 'type': 'none', |
1157 'dependencies': [ | 1172 'dependencies': [ |
1158 'remoting_host_prefpane', | 1173 'remoting_host_prefpane', |
1159 'remoting_host_uninstaller', | 1174 'remoting_host_uninstaller', |
1160 'remoting_me2me_host', | 1175 'remoting_me2me_host', |
1161 'remoting_native_messaging_host', | 1176 'remoting_me2me_native_messaging_host', |
1177 'remoting_me2me_native_messaging_manifest', | |
1162 ], | 1178 ], |
1163 'variables': { | 1179 'variables': { |
1164 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@ HOST_PLUGIN_FILE_NAME@")', | 1180 '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@")', | 1181 '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@")', | 1182 '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@")', | 1183 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', |
1168 }, | 1184 }, |
1169 'actions': [ | 1185 'actions': [ |
1170 { | 1186 { |
1171 'action_name': 'Zip installer files for signing', | 1187 'action_name': 'Zip installer files for signing', |
1172 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', | 1188 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', |
1173 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 1189 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
1174 'variables': { | 1190 'variables': { |
1175 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', | 1191 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', |
1176 'host_service_name_nospace': '<!(echo <(host_service_name) | sed "s/ //g")', | 1192 'host_service_name_nospace': '<!(echo <(host_service_name) | sed "s/ //g")', |
1177 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam e) | sed "s/ //g")', | 1193 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam e) | sed "s/ //g")', |
1178 }, | 1194 }, |
1179 'generated_files': [ | 1195 'generated_files': [ |
1180 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', | 1196 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
1181 '<(PRODUCT_DIR)/remoting_me2me_host.app', | 1197 '<(PRODUCT_DIR)/remoting_me2me_host.app', |
1182 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 1198 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
1183 '<(PRODUCT_DIR)/remoting_native_messaging_host', | 1199 '<(PRODUCT_DIR)/remoting_native_messaging_host', |
1184 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', | 1200 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', |
1185 ], | 1201 ], |
1186 'generated_files_dst': [ | 1202 'generated_files_dst': [ |
1187 'PreferencePanes/org.chromium.chromoting.prefPane', | 1203 'PreferencePanes/org.chromium.chromoting.prefPane', |
1188 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', | 1204 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', |
1189 'Applications/<(host_uninstaller_name).app', | 1205 'Applications/<(host_uninstaller_name).app', |
1190 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co ntents/MacOS/native_messaging_host', | 1206 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co ntents/MacOS/native_messaging_host', |
1191 » » 'Config/com.google.chrome.remote_desktop.json', | 1207 'Config/com.google.chrome.remote_desktop.json', |
1192 ], | 1208 ], |
1193 'source_files': [ | 1209 'source_files': [ |
1194 '<@(remoting_host_installer_mac_files)', | 1210 '<@(remoting_host_installer_mac_files)', |
1195 ], | 1211 ], |
1196 'defs': [ | 1212 'defs': [ |
1197 'VERSION=<(version_full)', | 1213 'VERSION=<(version_full)', |
1198 'VERSION_SHORT=<(version_short)', | 1214 'VERSION_SHORT=<(version_short)', |
1199 'VERSION_MAJOR=<(version_major)', | 1215 'VERSION_MAJOR=<(version_major)', |
1200 'VERSION_MINOR=<(version_minor)', | 1216 'VERSION_MINOR=<(version_minor)', |
1201 'HOST_NAME=<(host_name)', | 1217 'HOST_NAME=<(host_name)', |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1529 'remoting_breakpad', | 1545 'remoting_breakpad', |
1530 'remoting_core_resources', | 1546 'remoting_core_resources', |
1531 'remoting_host', | 1547 'remoting_host', |
1532 'remoting_host_event_logger', | 1548 'remoting_host_event_logger', |
1533 'remoting_host_logging', | 1549 'remoting_host_logging', |
1534 'remoting_host_setup_base', | 1550 'remoting_host_setup_base', |
1535 'remoting_lib_idl', | 1551 'remoting_lib_idl', |
1536 'remoting_lib_ps', | 1552 'remoting_lib_ps', |
1537 'remoting_lib_rc', | 1553 'remoting_lib_rc', |
1538 'remoting_me2me_host_static', | 1554 'remoting_me2me_host_static', |
1555 'remoting_native_messaging_base', | |
1539 'remoting_protocol', | 1556 'remoting_protocol', |
1540 'remoting_version_resources', | 1557 'remoting_version_resources', |
1541 ], | 1558 ], |
1542 'sources': [ | 1559 'sources': [ |
1543 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | 1560 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
1544 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', | 1561 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', |
1545 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc' , | 1562 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc' , |
1546 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | 1563 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1547 'host/chromoting_messages.cc', | 1564 'host/chromoting_messages.cc', |
1548 'host/chromoting_messages.h', | 1565 'host/chromoting_messages.h', |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1942 ], | 1959 ], |
1943 }, # end of target 'remoting_host_installation' | 1960 }, # end of target 'remoting_host_installation' |
1944 | 1961 |
1945 { | 1962 { |
1946 'target_name': 'remoting_me2me_host_archive', | 1963 'target_name': 'remoting_me2me_host_archive', |
1947 'type': 'none', | 1964 'type': 'none', |
1948 'dependencies': [ | 1965 'dependencies': [ |
1949 'remoting_core', | 1966 'remoting_core', |
1950 'remoting_desktop', | 1967 'remoting_desktop', |
1951 'remoting_host_exe', | 1968 'remoting_host_exe', |
1952 'remoting_native_messaging_manifest', | 1969 'remoting_me2me_native_messaging_manifest', |
1953 ], | 1970 ], |
1954 'compiled_inputs': [ | 1971 'compiled_inputs': [ |
1955 '<(PRODUCT_DIR)/remoting_core.dll', | 1972 '<(PRODUCT_DIR)/remoting_core.dll', |
1956 '<(PRODUCT_DIR)/remoting_desktop.exe', | 1973 '<(PRODUCT_DIR)/remoting_desktop.exe', |
1957 '<(PRODUCT_DIR)/remoting_host.exe', | 1974 '<(PRODUCT_DIR)/remoting_host.exe', |
1958 ], | 1975 ], |
1959 'compiled_inputs_dst': [ | 1976 'compiled_inputs_dst': [ |
1960 'files/remoting_core.dll', | 1977 'files/remoting_core.dll', |
1961 'files/remoting_desktop.exe', | 1978 'files/remoting_desktop.exe', |
1962 'files/remoting_host.exe', | 1979 'files/remoting_host.exe', |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2299 '--patches', | 2316 '--patches', |
2300 '<@(remoting_webapp_patch_files)', | 2317 '<@(remoting_webapp_patch_files)', |
2301 ], | 2318 ], |
2302 'msvs_cygwin_shell': 0, | 2319 'msvs_cygwin_shell': 0, |
2303 }, | 2320 }, |
2304 ], | 2321 ], |
2305 }], | 2322 }], |
2306 ], | 2323 ], |
2307 }, # end of target 'remoting_webapp' | 2324 }, # end of target 'remoting_webapp' |
2308 | 2325 |
2309 # Generates 'native_messaging_manifest.json' to be included in the | 2326 # Generates 'me2me_native_messaging_manifest.json' to be included in the |
2310 # installation. | 2327 # installation. |
2311 { | 2328 { |
2312 'target_name': 'remoting_native_messaging_manifest', | 2329 'target_name': 'remoting_me2me_native_messaging_manifest', |
2313 'type': 'none', | 2330 'type': 'none', |
2314 'dependencies': [ | 2331 'dependencies': [ |
2315 'remoting_resources', | 2332 'remoting_resources', |
2316 ], | 2333 ], |
2317 'variables': { | 2334 'variables': { |
2318 'input': 'host/setup/native_messaging_manifest.json', | 2335 'input': 'host/setup/me2me_native_messaging_manifest.json', |
2319 'output': '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json ', | 2336 'output': '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json ', |
2320 }, | 2337 }, |
2321 'target_conditions': [ | 2338 'target_conditions': [ |
2322 ['OS == "win" or OS == "mac" or OS == "linux"', { | 2339 ['OS == "win" or OS == "mac" or OS == "linux"', { |
2323 'conditions': [ | 2340 'conditions': [ |
2324 [ 'OS == "win"', { | 2341 [ 'OS == "win"', { |
2325 'variables': { | 2342 'variables': { |
2326 'native_messaging_host_path': 'remoting_host.exe', | 2343 'me2me_native_messaging_host_path': 'remoting_host.exe', |
2327 }, | 2344 }, |
2328 }], [ 'OS == "mac"', { | 2345 }], [ 'OS == "mac"', { |
2329 'variables': { | 2346 'variables': { |
2330 'native_messaging_host_path': '/Library/PrivilegedHelperTools/or g.chromium.chromoting.me2me_host.app/Contents/MacOS/native_messaging_host', | 2347 'me2me_native_messaging_host_path': '/Library/PrivilegedHelperTo ols/org.chromium.chromoting.me2me_host.app/Contents/MacOS/native_messaging_host' , |
2331 }, | 2348 }, |
2332 }], ['OS == "linux"', { | 2349 }], ['OS == "linux"', { |
2333 'variables': { | 2350 'variables': { |
2334 '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', |
2335 }, | 2352 }, |
2336 }], ['OS != "linux" and OS != "mac" and OS != "win"', { | 2353 }], ['OS != "linux" and OS != "mac" and OS != "win"', { |
2337 'variables': { | 2354 'variables': { |
2338 'native_messaging_host_path': '/opt/google/chrome-remote-desktop /native-messaging-host', | 2355 'me2me_native_messaging_host_path': '/opt/google/chrome-remote-d esktop/native-messaging-host', |
2339 }, | 2356 }, |
2340 }], | 2357 }], |
2341 ], # conditions | 2358 ], # conditions |
2342 'actions': [ | 2359 'actions': [ |
2343 { | 2360 { |
2344 'action_name': 'generate_manifest', | 2361 'action_name': 'generate_manifest', |
2345 'inputs': [ | 2362 'inputs': [ |
2346 '<(remoting_localize_path)', | 2363 '<(remoting_localize_path)', |
2347 '<(input)', | 2364 '<(input)', |
2348 ], | 2365 ], |
2349 'outputs': [ | 2366 'outputs': [ |
2350 '<(output)', | 2367 '<(output)', |
2351 ], | 2368 ], |
2352 'action': [ | 2369 'action': [ |
2353 'python', | 2370 'python', |
2354 '<(remoting_localize_path)', | 2371 '<(remoting_localize_path)', |
2355 '--define', 'NATIVE_MESSAGING_HOST_PATH=<(native_messaging_host_ path)', | 2372 '--define', 'ME2ME_NATIVE_MESSAGING_HOST_PATH=<(me2me_native_mes saging_host_path)', |
2356 '--locale_dir', '<(webapp_locale_dir)', | 2373 '--locale_dir', '<(webapp_locale_dir)', |
2357 '--template', '<(input)', | 2374 '--template', '<(input)', |
2358 '--locale_output', | 2375 '--locale_output', |
2359 '<(output)', | 2376 '<(output)', |
2360 '--encoding', 'utf-8', | 2377 '--encoding', 'utf-8', |
2361 'en', | 2378 'en', |
2362 ], | 2379 ], |
2363 }, | 2380 }, |
2364 ], # actions | 2381 ], # actions |
2365 }, | 2382 }, |
2366 ], | 2383 ], |
2367 ], # target_conditions | 2384 ], # target_conditions |
2368 }, # end of target 'remoting_native_messaging_manifest' | 2385 }, # end of target 'remoting_me2me_native_messaging_manifest' |
2369 { | 2386 { |
2370 'target_name': 'remoting_resources', | 2387 'target_name': 'remoting_resources', |
2371 'type': 'none', | 2388 'type': 'none', |
2372 'variables': { | 2389 'variables': { |
2373 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2390 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
2374 'grit_resource_ids': 'resources/resource_ids', | 2391 'grit_resource_ids': 'resources/resource_ids', |
2375 'sources': [ | 2392 'sources': [ |
2376 'base/resources_unittest.cc', | 2393 'base/resources_unittest.cc', |
2377 'host/continue_window_mac.mm', | 2394 'host/continue_window_mac.mm', |
2378 'host/disconnect_window_mac.mm', | 2395 'host/disconnect_window_mac.mm', |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2765 '../ui/gfx/gfx.gyp:gfx', | 2782 '../ui/gfx/gfx.gyp:gfx', |
2766 '../ui/ui.gyp:ui', | 2783 '../ui/ui.gyp:ui', |
2767 'remoting_base', | 2784 'remoting_base', |
2768 'remoting_breakpad', | 2785 'remoting_breakpad', |
2769 'remoting_client', | 2786 'remoting_client', |
2770 'remoting_client_plugin', | 2787 'remoting_client_plugin', |
2771 'remoting_host', | 2788 'remoting_host', |
2772 'remoting_host_event_logger', | 2789 'remoting_host_event_logger', |
2773 'remoting_host_setup_base', | 2790 'remoting_host_setup_base', |
2774 'remoting_jingle_glue', | 2791 'remoting_jingle_glue', |
2792 'remoting_native_messaging_base', | |
2775 'remoting_protocol', | 2793 'remoting_protocol', |
2776 'remoting_resources', | 2794 'remoting_resources', |
2777 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 2795 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
2778 ], | 2796 ], |
2779 'defines': [ | 2797 'defines': [ |
2780 'VERSION=<(version_full)', | 2798 'VERSION=<(version_full)', |
2781 ], | 2799 ], |
2782 'include_dirs': [ | 2800 'include_dirs': [ |
2783 '../testing/gmock/include', | 2801 '../testing/gmock/include', |
2784 ], | 2802 ], |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2829 'host/host_status_sender_unittest.cc', | 2847 'host/host_status_sender_unittest.cc', |
2830 'host/host_change_notification_listener_unittest.cc', | 2848 'host/host_change_notification_listener_unittest.cc', |
2831 'host/host_mock_objects.cc', | 2849 'host/host_mock_objects.cc', |
2832 'host/host_mock_objects.h', | 2850 'host/host_mock_objects.h', |
2833 'host/host_status_monitor_fake.h', | 2851 'host/host_status_monitor_fake.h', |
2834 'host/ipc_desktop_environment_unittest.cc', | 2852 'host/ipc_desktop_environment_unittest.cc', |
2835 'host/json_host_config_unittest.cc', | 2853 'host/json_host_config_unittest.cc', |
2836 'host/linux/x_server_clipboard_unittest.cc', | 2854 'host/linux/x_server_clipboard_unittest.cc', |
2837 'host/local_input_monitor_unittest.cc', | 2855 'host/local_input_monitor_unittest.cc', |
2838 'host/log_to_server_unittest.cc', | 2856 'host/log_to_server_unittest.cc', |
2857 'host/native_messaging/native_messaging_reader_unittest.cc', | |
2858 'host/native_messaging/native_messaging_writer_unittest.cc', | |
2839 'host/pairing_registry_delegate_linux_unittest.cc', | 2859 'host/pairing_registry_delegate_linux_unittest.cc', |
2840 'host/pairing_registry_delegate_win_unittest.cc', | 2860 'host/pairing_registry_delegate_win_unittest.cc', |
2841 'host/pin_hash_unittest.cc', | 2861 'host/pin_hash_unittest.cc', |
2842 'host/policy_hack/fake_policy_watcher.cc', | 2862 'host/policy_hack/fake_policy_watcher.cc', |
2843 'host/policy_hack/fake_policy_watcher.h', | 2863 'host/policy_hack/fake_policy_watcher.h', |
2844 'host/policy_hack/mock_policy_callback.cc', | 2864 'host/policy_hack/mock_policy_callback.cc', |
2845 'host/policy_hack/mock_policy_callback.h', | 2865 'host/policy_hack/mock_policy_callback.h', |
2846 'host/policy_hack/policy_watcher_unittest.cc', | 2866 'host/policy_hack/policy_watcher_unittest.cc', |
2847 'host/register_support_host_request_unittest.cc', | 2867 'host/register_support_host_request_unittest.cc', |
2848 'host/remote_input_filter_unittest.cc', | 2868 'host/remote_input_filter_unittest.cc', |
2849 'host/resizing_host_observer_unittest.cc', | 2869 'host/resizing_host_observer_unittest.cc', |
2850 'host/screen_capturer_fake.cc', | 2870 'host/screen_capturer_fake.cc', |
2851 'host/screen_capturer_fake.h', | 2871 'host/screen_capturer_fake.h', |
2852 'host/screen_resolution_unittest.cc', | 2872 'host/screen_resolution_unittest.cc', |
2853 'host/server_log_entry_unittest.cc', | 2873 'host/server_log_entry_unittest.cc', |
2854 'host/setup/native_messaging_host_unittest.cc', | 2874 'host/setup/me2me_native_messaging_host.cc', |
2855 'host/setup/native_messaging_reader_unittest.cc', | 2875 'host/setup/me2me_native_messaging_host.h', |
2856 'host/setup/native_messaging_writer_unittest.cc', | 2876 'host/setup/me2me_native_messaging_host_unittest.cc', |
2857 'host/setup/oauth_helper_unittest.cc', | 2877 'host/setup/oauth_helper_unittest.cc', |
2858 'host/setup/pin_validator_unittest.cc', | 2878 'host/setup/pin_validator_unittest.cc', |
2859 'host/token_validator_factory_impl_unittest.cc', | 2879 'host/token_validator_factory_impl_unittest.cc', |
2860 'host/video_scheduler_unittest.cc', | 2880 'host/video_scheduler_unittest.cc', |
2861 'host/win/rdp_client_unittest.cc', | 2881 'host/win/rdp_client_unittest.cc', |
2862 'host/win/worker_process_launcher.cc', | 2882 'host/win/worker_process_launcher.cc', |
2863 'host/win/worker_process_launcher.h', | 2883 'host/win/worker_process_launcher.h', |
2864 'host/win/worker_process_launcher_unittest.cc', | 2884 'host/win/worker_process_launcher_unittest.cc', |
2865 'jingle_glue/chromium_socket_factory_unittest.cc', | 2885 'jingle_glue/chromium_socket_factory_unittest.cc', |
2866 'jingle_glue/fake_signal_strategy.cc', | 2886 'jingle_glue/fake_signal_strategy.cc', |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2977 '../base/allocator/allocator.gyp:allocator', | 2997 '../base/allocator/allocator.gyp:allocator', |
2978 ], | 2998 ], |
2979 }, | 2999 }, |
2980 ], | 3000 ], |
2981 ], | 3001 ], |
2982 }], # end of 'toolkit_uses_gtk == 1' | 3002 }], # end of 'toolkit_uses_gtk == 1' |
2983 ], # end of 'conditions' | 3003 ], # end of 'conditions' |
2984 }, # end of target 'remoting_unittests' | 3004 }, # end of target 'remoting_unittests' |
2985 ], # end of targets | 3005 ], # end of targets |
2986 } | 3006 } |
OLD | NEW |