| 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 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
| 8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
| 9 'chromium_code': 1, | 9 'chromium_code': 1, |
| 10 | 10 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 'host/installer/mac/ChromotingHostService.pkgproj', | 182 'host/installer/mac/ChromotingHostService.pkgproj', |
| 183 'host/installer/mac/ChromotingHostUninstaller.pkgproj', | 183 'host/installer/mac/ChromotingHostUninstaller.pkgproj', |
| 184 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist', | 184 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist', |
| 185 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
', | 185 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
', |
| 186 'host/installer/mac/Scripts/keystone_install.sh', | 186 'host/installer/mac/Scripts/keystone_install.sh', |
| 187 'host/installer/mac/Scripts/remoting_postflight.sh', | 187 'host/installer/mac/Scripts/remoting_postflight.sh', |
| 188 'host/installer/mac/Scripts/remoting_preflight.sh', | 188 'host/installer/mac/Scripts/remoting_preflight.sh', |
| 189 'host/installer/mac/Keystone/GoogleSoftwareUpdate.pkg', | 189 'host/installer/mac/Keystone/GoogleSoftwareUpdate.pkg', |
| 190 '<(DEPTH)/chrome/installer/mac/pkg-dmg', | 190 '<(DEPTH)/chrome/installer/mac/pkg-dmg', |
| 191 ], | 191 ], |
| 192 'remoting_host_installer_win_roots': [ |
| 193 'host/win/', |
| 194 ], |
| 195 'remoting_host_installer_win_files': [ |
| 196 'host/win/chromoting.wxs', |
| 197 'host/win/parameters.json', |
| 198 ], |
| 192 }, | 199 }, |
| 193 | 200 |
| 194 'target_defaults': { | 201 'target_defaults': { |
| 195 'defines': [ | 202 'defines': [ |
| 196 ], | 203 ], |
| 197 'include_dirs': [ | 204 'include_dirs': [ |
| 198 '..', # Root of Chrome checkout | 205 '..', # Root of Chrome checkout |
| 199 ], | 206 ], |
| 200 'conditions': [ | 207 'conditions': [ |
| 201 ['remoting_multi_process != 0', { | 208 ['remoting_multi_process != 0', { |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 # building a non-component build. WiX does not provide a easy way to | 697 # building a non-component build. WiX does not provide a easy way to |
| 691 # include all DLLs imported by the installed binaries, so supporting | 698 # include all DLLs imported by the installed binaries, so supporting |
| 692 # the component build becomes a burden. | 699 # the component build becomes a burden. |
| 693 ['OS == "win" and component != "shared_library" and wix_exists == "True" \ | 700 ['OS == "win" and component != "shared_library" and wix_exists == "True" \ |
| 694 and sas_dll_exists == "True"', { | 701 and sas_dll_exists == "True"', { |
| 695 'targets': [ | 702 'targets': [ |
| 696 { | 703 { |
| 697 'target_name': 'remoting_host_installation', | 704 'target_name': 'remoting_host_installation', |
| 698 'type': 'none', | 705 'type': 'none', |
| 699 'dependencies': [ | 706 'dependencies': [ |
| 700 'remoting_host_controller', | 707 'remoting_me2me_host_archive', |
| 701 'remoting_service', | |
| 702 'remoting_me2me_host', | |
| 703 ], | 708 ], |
| 704 'sources': [ | 709 'sources': [ |
| 705 'host/win/chromoting.wxs', | 710 '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
| 706 ], | 711 ], |
| 707 'outputs': [ | 712 'outputs': [ |
| 708 '<(PRODUCT_DIR)/chromoting.msi', | 713 '<(PRODUCT_DIR)/chromoting.msi', |
| 709 ], | 714 ], |
| 710 'wix_defines' : [ | |
| 711 '-dBranding=<(branding)', | |
| 712 '-dRemotingMultiProcess=<(remoting_multi_process)', | |
| 713 ], | |
| 714 'wix_inputs' : [ | |
| 715 '<(PRODUCT_DIR)/remoting_host_controller.exe', | |
| 716 '<(PRODUCT_DIR)/remoting_me2me_host.exe', | |
| 717 '<(PRODUCT_DIR)/remoting_service.exe', | |
| 718 '<(sas_dll_path)/sas.dll', | |
| 719 'resources/chromoting.ico', | |
| 720 ], | |
| 721 'conditions': [ | |
| 722 ['remoting_multi_process != 0', { | |
| 723 'dependencies': [ | |
| 724 'remoting_desktop', | |
| 725 ], | |
| 726 'wix_inputs' : [ | |
| 727 '<(PRODUCT_DIR)/remoting_desktop.exe', | |
| 728 ], | |
| 729 }], | |
| 730 ['buildtype == "Official"', { | |
| 731 'wix_defines': [ | |
| 732 '-dOfficialBuild=1', | |
| 733 ], | |
| 734 }], | |
| 735 ], | |
| 736 'rules': [ | 715 'rules': [ |
| 737 { | 716 { |
| 738 'rule_name': 'candle_and_light', | 717 'rule_name': 'zip2msi', |
| 739 'extension': 'wxs', | 718 'extension': 'zip', |
| 740 'inputs': [ | 719 'inputs': [ |
| 741 '<@(_wix_inputs)', | 720 'tools/zip2msi.py', |
| 742 'tools/candle_and_light.py', | |
| 743 ], | 721 ], |
| 744 'outputs': [ | 722 'outputs': [ |
| 745 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', | 723 '<(PRODUCT_DIR)/chromoting.msi', |
| 746 ], | 724 ], |
| 747 'msvs_cygwin_shell': 0, | 725 'msvs_cygwin_shell': 0, |
| 748 'action': [ | 726 'action': [ |
| 749 'python', 'tools/candle_and_light.py', | 727 'python', 'tools/zip2msi.py', |
| 750 '--wix_path', '<(wix_path)', | 728 '--wix_path', '<(wix_path)', |
| 751 '--controller_clsid', '{<(daemon_controller_clsid)}', | 729 '--intermediate_dir', '<(INTERMEDIATE_DIR)/installation', |
| 752 '--version', '<(version_full)', | 730 '<(RULE_INPUT_PATH)', |
| 753 '--product_dir', '<(PRODUCT_DIR).', | 731 '<@(_outputs)', |
| 754 '--intermediate_dir', '<(INTERMEDIATE_DIR).', | |
| 755 '--sas_dll_path', '<(sas_dll_path)', | |
| 756 '--input', '<(RULE_INPUT_PATH)', | |
| 757 '--output', '<@(_outputs)', | |
| 758 '<@(_wix_defines)', | |
| 759 ], | 732 ], |
| 760 'message': 'Generating <@(_outputs)', | 733 'message': 'Generating <@(_outputs)', |
| 761 }, | 734 }, |
| 762 ], | 735 ], |
| 763 }, # end of target 'remoting_host_installation' | 736 }, # end of target 'remoting_host_installation' |
| 764 | 737 |
| 765 # The 'remoting_host_installation_unittest' target is used to make sure | 738 # The 'remoting_host_installation_unittest' target is used to make sure |
| 766 # that the code signing job (running outside of Chromium tree) will be | 739 # that the code signing job (running outside of Chromium tree) will be |
| 767 # able to unpack and re-assemble the installation successfully. | 740 # able to unpack and re-assemble the installation successfully. |
| 768 # | 741 # |
| (...skipping 23 matching lines...) Expand all Loading... |
| 792 ], | 765 ], |
| 793 'outputs': [ | 766 'outputs': [ |
| 794 '<(INTERMEDIATE_DIR)/chromoting-test.msi', | 767 '<(INTERMEDIATE_DIR)/chromoting-test.msi', |
| 795 ], | 768 ], |
| 796 'msvs_cygwin_shell': 0, | 769 'msvs_cygwin_shell': 0, |
| 797 'action': [ | 770 'action': [ |
| 798 'python', | 771 'python', |
| 799 'tools/dark_and_candle_and_light.py', | 772 'tools/dark_and_candle_and_light.py', |
| 800 '--wix_path', '<(wix_path)', | 773 '--wix_path', '<(wix_path)', |
| 801 '--input', '<(RULE_INPUT_PATH)', | 774 '--input', '<(RULE_INPUT_PATH)', |
| 802 '--intermediate_dir', '<(INTERMEDIATE_DIR).', | 775 '--intermediate_dir', '<(INTERMEDIATE_DIR)/installation', |
| 803 '--output', '<@(_outputs)', | 776 '--output', '<@(_outputs)', |
| 804 ], | 777 ], |
| 805 'message': 'Unpacking and repacking to <@(_outputs)', | 778 'message': 'Unpacking and repacking to <@(_outputs)', |
| 806 }, | 779 }, |
| 807 ], | 780 ], |
| 808 }, # end of target 'remoting_host_installation_unittest' | 781 }, # end of target 'remoting_host_installation_unittest' |
| 782 { |
| 783 'target_name': 'remoting_me2me_host_archive', |
| 784 'type': 'none', |
| 785 'dependencies': [ |
| 786 'remoting_host_controller', |
| 787 'remoting_service', |
| 788 'remoting_me2me_host', |
| 789 ], |
| 790 'sources': [ |
| 791 '<(sas_dll_path)/sas.dll', |
| 792 '<@(remoting_host_installer_win_files)', |
| 793 'host/installer/build-installer-archive.py', |
| 794 'resources/chromoting.ico', |
| 795 ], |
| 796 'defs': [ |
| 797 'BRANDING=<(branding)', |
| 798 'CONTROLLER_CLSID={<(daemon_controller_clsid)}', |
| 799 'REMOTING_MULTI_PROCESS=<(remoting_multi_process)', |
| 800 'VERSION=<(version_full)', |
| 801 ], |
| 802 'generated_files': [ |
| 803 '<(PRODUCT_DIR)/remoting_host_controller.exe', |
| 804 '<(PRODUCT_DIR)/remoting_me2me_host.exe', |
| 805 '<(PRODUCT_DIR)/remoting_service.exe', |
| 806 '<(sas_dll_path)/sas.dll', |
| 807 'resources/chromoting.ico', |
| 808 ], |
| 809 'generated_files_dst': [ |
| 810 'files/remoting_host_controller.exe', |
| 811 'files/remoting_me2me_host.exe', |
| 812 'files/remoting_service.exe', |
| 813 'files/sas.dll', |
| 814 'files/chromoting.ico', |
| 815 ], |
| 816 'conditions': [ |
| 817 ['buildtype == "Official"', { |
| 818 'defs': [ |
| 819 'OFFICIAL_BUILD=1', |
| 820 ], |
| 821 }, { # else buildtype != "Official" |
| 822 'defs': [ |
| 823 'OFFICIAL_BUILD=0', |
| 824 ], |
| 825 }], |
| 826 ['remoting_multi_process != 0', { |
| 827 'dependencies': [ |
| 828 'remoting_desktop', |
| 829 ], |
| 830 'generated_files': [ |
| 831 '<(PRODUCT_DIR)/remoting_desktop.exe', |
| 832 ], |
| 833 'generated_files_dst': [ |
| 834 'files/remoting_desktop.exe', |
| 835 ], |
| 836 }], |
| 837 ], |
| 838 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
| 839 'outputs': [ |
| 840 '<(_zip_path)', |
| 841 ], |
| 842 'actions': [ |
| 843 { |
| 844 'action_name': 'Zip installer files for signing', |
| 845 'temp_dir': '<(INTERMEDIATE_DIR)/installation', |
| 846 'source_files': [ |
| 847 '<@(remoting_host_installer_win_files)', |
| 848 ], |
| 849 'inputs': [ |
| 850 '<(sas_dll_path)/sas.dll', |
| 851 '<@(_source_files)', |
| 852 'host/installer/build-installer-archive.py', |
| 853 'resources/chromoting.ico', |
| 854 ], |
| 855 'outputs': [ |
| 856 '<(_zip_path)', |
| 857 ], |
| 858 'action': [ |
| 859 'python', |
| 860 'host/installer/build-installer-archive.py', |
| 861 '<(_temp_dir)', |
| 862 '<(_zip_path)', |
| 863 '--source-file-roots', |
| 864 '<@(remoting_host_installer_win_roots)', |
| 865 '--source-files', |
| 866 '<@(_source_files)', |
| 867 '--generated-files', |
| 868 '<@(_generated_files)', |
| 869 '--generated-files-dst', |
| 870 '<@(_generated_files_dst)', |
| 871 '--defs', |
| 872 '<@(_defs)', |
| 873 ], |
| 874 }, |
| 875 ], # actions |
| 876 }, # end of target 'remoting_me2me_host_archive' |
| 809 ], # end of 'targets' | 877 ], # end of 'targets' |
| 810 }], # '<(wix_path) != ""' | 878 }], # '<(wix_path) != ""' |
| 811 | 879 |
| 812 ['remoting_multi_process != 0', { | 880 ['remoting_multi_process != 0', { |
| 813 'targets': [ | 881 'targets': [ |
| 814 { | 882 { |
| 815 'target_name': 'remoting_desktop', | 883 'target_name': 'remoting_desktop', |
| 816 'type': 'executable', | 884 'type': 'executable', |
| 817 'variables': { 'enable_wexit_time_destructors': 1, }, | 885 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 818 'dependencies': [ | 886 'dependencies': [ |
| (...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1922 '../base/allocator/allocator.gyp:allocator', | 1990 '../base/allocator/allocator.gyp:allocator', |
| 1923 ], | 1991 ], |
| 1924 }, | 1992 }, |
| 1925 ], | 1993 ], |
| 1926 ], | 1994 ], |
| 1927 }], | 1995 }], |
| 1928 ], # end of 'conditions' | 1996 ], # end of 'conditions' |
| 1929 }, # end of target 'remoting_unittests' | 1997 }, # end of target 'remoting_unittests' |
| 1930 ], # end of targets | 1998 ], # end of targets |
| 1931 } | 1999 } |
| OLD | NEW |