Chromium Code Reviews| 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 11 matching lines...) Expand all Loading... | |
| 22 'version_short': | 22 'version_short': |
| 23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' | 23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' |
| 24 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@")', | 24 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@")', |
| 25 | 25 |
| 26 'branding_path': '../remoting/branding_<(branding)', | 26 'branding_path': '../remoting/branding_<(branding)', |
| 27 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP YRIGHT@")', | 27 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP YRIGHT@")', |
| 28 | 28 |
| 29 # Use consistent strings across all platforms. | 29 # Use consistent strings across all platforms. |
| 30 # These values must match host/plugin/constants.h | 30 # These values must match host/plugin/constants.h |
| 31 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 31 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
| 32 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_FILE_DESCRIPTION@")', | 32 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_DESCRIPTION@")', |
| 33 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H OST_PLUGIN_FILE_NAME@")', | 33 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H OST_PLUGIN_FILE_NAME@")', |
| 34 | 34 |
| 35 'conditions': [ | 35 'conditions': [ |
| 36 ['OS=="mac"', { | 36 ['OS=="mac"', { |
| 37 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@ MAC_BUNDLE_ID@")', | 37 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@ MAC_BUNDLE_ID@")', |
| 38 'mac_creator': '<!(python <(version_py_path) -f <(branding_path) -t "@MA C_CREATOR@")', | 38 'mac_creator': '<!(python <(version_py_path) -f <(branding_path) -t "@MA C_CREATOR@")', |
| 39 'host_plugin_extension': 'plugin', | 39 'host_plugin_extension': 'plugin', |
| 40 'host_plugin_prefix': '', | 40 'host_plugin_prefix': '', |
| 41 }], | 41 }], |
| 42 ['os_posix == 1 and OS != "mac" and target_arch == "ia32"', { | 42 ['os_posix == 1 and OS != "mac" and target_arch == "ia32"', { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 ], | 200 ], |
| 201 'include_dirs': [ | 201 'include_dirs': [ |
| 202 '..', # Root of Chrome checkout | 202 '..', # Root of Chrome checkout |
| 203 ], | 203 ], |
| 204 'conditions': [ | 204 'conditions': [ |
| 205 ['remoting_audio == 1', { | 205 ['remoting_audio == 1', { |
| 206 'defines': [ | 206 'defines': [ |
| 207 'ENABLE_REMOTING_AUDIO', | 207 'ENABLE_REMOTING_AUDIO', |
| 208 ], | 208 ], |
| 209 }], | 209 }], |
| 210 ['remoting_multi_process == 1', { | 210 ['remoting_multi_process != 0', { |
| 211 'defines': [ | 211 'defines': [ |
| 212 'REMOTING_MULTI_PROCESS', | 212 'REMOTING_MULTI_PROCESS', |
| 213 ], | 213 ], |
| 214 }], | 214 }], |
| 215 ], | 215 ], |
| 216 }, | 216 }, |
| 217 | 217 |
| 218 'conditions': [ | 218 'conditions': [ |
| 219 ['OS=="linux"', { | 219 ['OS=="linux"', { |
| 220 'targets': [ | 220 'targets': [ |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 303 'remoting_host_prefpane', | 303 'remoting_host_prefpane', |
| 304 'remoting_host_uninstaller', | 304 'remoting_host_uninstaller', |
| 305 'remoting_me2me_host', | 305 'remoting_me2me_host', |
| 306 ], | 306 ], |
| 307 'sources': [ | 307 'sources': [ |
| 308 'host/installer/build-installer-archive.py', | 308 'host/installer/build-installer-archive.py', |
| 309 '<@(remoting_host_installer_mac_files)', | 309 '<@(remoting_host_installer_mac_files)', |
| 310 ], | 310 ], |
| 311 'variables': { | 311 'variables': { |
| 312 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@ HOST_PLUGIN_FILE_NAME@")', | 312 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@ HOST_PLUGIN_FILE_NAME@")', |
| 313 'host_service_name': '<!(python <(version_py_path) -f <(branding_pat h) -t "@HOST_SERVICE_FILE_NAME@")', | 313 'host_service_name': '<!(python <(version_py_path) -f <(branding_pat h) -t "@DAEMON_FILE_NAME@")', |
| 314 'host_uninstaller_name': '<!(python <(version_py_path) -f <(branding _path) -t "@MAC_UNINSTALLER_NAME@")', | 314 'host_uninstaller_name': '<!(python <(version_py_path) -f <(branding _path) -t "@MAC_UNINSTALLER_NAME@")', |
| 315 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', | 315 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', |
| 316 }, | 316 }, |
| 317 'actions': [ | 317 'actions': [ |
| 318 { | 318 { |
| 319 'action_name': 'Zip installer files for signing', | 319 'action_name': 'Zip installer files for signing', |
| 320 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', | 320 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', |
| 321 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 321 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
| 322 'variables': { | 322 'variables': { |
| 323 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', | 323 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 644 '<(version_path)', | 644 '<(version_path)', |
| 645 '<(chrome_version_path)', | 645 '<(chrome_version_path)', |
| 646 ], | 646 ], |
| 647 'direct_dependent_settings': { | 647 'direct_dependent_settings': { |
| 648 'include_dirs': [ | 648 'include_dirs': [ |
| 649 '<(SHARED_INTERMEDIATE_DIR)/remoting', | 649 '<(SHARED_INTERMEDIATE_DIR)/remoting', |
| 650 ], | 650 ], |
| 651 }, | 651 }, |
| 652 'sources': [ | 652 'sources': [ |
| 653 'host/plugin/host_plugin.ver', | 653 'host/plugin/host_plugin.ver', |
| 654 'host/remoting_desktop.ver', | |
| 654 'host/remoting_me2me_host.ver', | 655 'host/remoting_me2me_host.ver', |
| 655 'host/win/elevated_controller.ver', | 656 'host/win/elevated_controller.ver', |
|
garykac
2012/09/05 22:40:42
controller.ver?
alexeypa (please no reviews)
2012/09/05 23:24:02
Done.
| |
| 656 'host/win/host_service.ver', | 657 'host/win/host_service.ver', |
|
garykac
2012/09/05 22:40:42
daemon.ver?
alexeypa (please no reviews)
2012/09/05 23:24:02
Done.
| |
| 657 ], | 658 ], |
| 658 'rules': [ | 659 'rules': [ |
| 659 { | 660 { |
| 660 'rule_name': 'version', | 661 'rule_name': 'version', |
| 661 'extension': 'ver', | 662 'extension': 'ver', |
| 662 'variables': { | 663 'variables': { |
| 663 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', | 664 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
| 664 'template_input_path': 'version.rc.version', | 665 'template_input_path': 'version.rc.version', |
| 665 }, | 666 }, |
| 666 'inputs': [ | 667 'inputs': [ |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 707 'remoting_me2me_host', | 708 'remoting_me2me_host', |
| 708 ], | 709 ], |
| 709 'sources': [ | 710 'sources': [ |
| 710 'host/win/chromoting.wxs', | 711 'host/win/chromoting.wxs', |
| 711 ], | 712 ], |
| 712 'outputs': [ | 713 'outputs': [ |
| 713 '<(PRODUCT_DIR)/chromoting.msi', | 714 '<(PRODUCT_DIR)/chromoting.msi', |
| 714 ], | 715 ], |
| 715 'wix_defines' : [ | 716 'wix_defines' : [ |
| 716 '-dBranding=<(branding)', | 717 '-dBranding=<(branding)', |
| 718 '-dRemotingMultiProcess=<(remoting_multi_process)', | |
| 719 ], | |
| 720 'wix_inputs' : [ | |
| 721 '<(PRODUCT_DIR)/remoting_host_controller.exe', | |
|
garykac
2012/09/05 22:40:42
remoting_controller?
alexeypa (please no reviews)
2012/09/05 23:24:02
Cannot touch file names yet.
| |
| 722 '<(PRODUCT_DIR)/remoting_me2me_host.exe', | |
|
garykac
2012/09/05 22:40:42
remoting_host_me2me for consistency with you renam
Sergey Ulanov
2012/09/05 23:03:57
FYI on linux we renamed main host binary to chrome
alexeypa (please no reviews)
2012/09/05 23:24:02
Cannot touch file names yet.
| |
| 723 '<(PRODUCT_DIR)/remoting_service.exe', | |
| 724 '<(sas_dll_path)/sas.dll', | |
| 725 'resources/chromoting.ico', | |
| 717 ], | 726 ], |
| 718 'conditions': [ | 727 'conditions': [ |
| 728 ['remoting_multi_process != 0', { | |
| 729 'dependencies': [ | |
| 730 'remoting_desktop', | |
| 731 ], | |
| 732 'wix_inputs' : [ | |
| 733 '<(PRODUCT_DIR)/remoting_desktop.exe', | |
| 734 ], | |
| 735 }], | |
| 719 ['buildtype == "Official"', { | 736 ['buildtype == "Official"', { |
| 720 'wix_defines': [ | 737 'wix_defines': [ |
| 721 '-dOfficialBuild=1', | 738 '-dOfficialBuild=1', |
| 722 ], | 739 ], |
| 723 }], | 740 }], |
| 724 ], | 741 ], |
| 725 'rules': [ | 742 'rules': [ |
| 726 { | 743 { |
| 727 'rule_name': 'candle_and_light', | 744 'rule_name': 'candle_and_light', |
| 728 'extension': 'wxs', | 745 'extension': 'wxs', |
| 729 'inputs': [ | 746 'inputs': [ |
| 730 '<(PRODUCT_DIR)/remoting_host_controller.exe', | 747 '<@(_wix_inputs)', |
| 731 '<(PRODUCT_DIR)/remoting_me2me_host.exe', | |
| 732 '<(PRODUCT_DIR)/remoting_service.exe', | |
| 733 '<(sas_dll_path)/sas.dll', | |
| 734 'resources/chromoting.ico', | |
| 735 'tools/candle_and_light.py', | 748 'tools/candle_and_light.py', |
| 736 ], | 749 ], |
| 737 'outputs': [ | 750 'outputs': [ |
| 738 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', | 751 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
| 739 ], | 752 ], |
| 740 'msvs_cygwin_shell': 0, | 753 'msvs_cygwin_shell': 0, |
| 741 'action': [ | 754 'action': [ |
| 742 'python', 'tools/candle_and_light.py', | 755 'python', 'tools/candle_and_light.py', |
| 743 '--wix_path', '<(wix_path)', | 756 '--wix_path', '<(wix_path)', |
| 744 '--controller_clsid', '{<(daemon_controller_clsid)}', | 757 '--controller_clsid', '{<(daemon_controller_clsid)}', |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 795 '--intermediate_dir', '<(INTERMEDIATE_DIR).', | 808 '--intermediate_dir', '<(INTERMEDIATE_DIR).', |
| 796 '--output', '<@(_outputs)', | 809 '--output', '<@(_outputs)', |
| 797 ], | 810 ], |
| 798 'message': 'Unpacking and repacking to <@(_outputs)', | 811 'message': 'Unpacking and repacking to <@(_outputs)', |
| 799 }, | 812 }, |
| 800 ], | 813 ], |
| 801 }, # end of target 'remoting_host_installation_unittest' | 814 }, # end of target 'remoting_host_installation_unittest' |
| 802 ], # end of 'targets' | 815 ], # end of 'targets' |
| 803 }], # '<(wix_path) != ""' | 816 }], # '<(wix_path) != ""' |
| 804 | 817 |
| 818 ['remoting_multi_process != 0', { | |
| 819 'targets': [ | |
| 820 { | |
| 821 'target_name': 'remoting_desktop', | |
| 822 'type': 'executable', | |
| 823 'variables': { 'enable_wexit_time_destructors': 1, }, | |
| 824 'dependencies': [ | |
| 825 'remoting_base', | |
| 826 'remoting_breakpad', | |
| 827 'remoting_host', | |
| 828 'remoting_version_resources', | |
| 829 '../base/base.gyp:base', | |
| 830 '../ipc/ipc.gyp:ipc', | |
| 831 ], | |
| 832 'sources': [ | |
| 833 'host/branding.cc', | |
| 834 'host/branding.h', | |
| 835 'host/desktop_process.cc', | |
| 836 'host/desktop_process.h', | |
| 837 'host/host_ui.rc', | |
| 838 'host/usage_stats_consent.h', | |
| 839 'host/usage_stats_consent_win.cc', | |
| 840 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_desktop_version.rc', | |
| 841 ], | |
| 842 'link_settings': { | |
| 843 'libraries': [ | |
| 844 '-lcomctl32.lib', | |
| 845 ], | |
| 846 }, | |
| 847 'msvs_settings': { | |
| 848 'VCLinkerTool': { | |
| 849 'AdditionalOptions': [ | |
| 850 "\"/manifestdependency:type='win32' " | |
| 851 "name='Microsoft.Windows.Common-Controls' " | |
| 852 "version='6.0.0.0' " | |
| 853 "processorArchitecture='*' " | |
| 854 "publicKeyToken='6595b64144ccf1df' language='*'\"", | |
| 855 ], | |
| 856 'conditions': [ | |
| 857 ['buildtype == "Official" and remoting_multi_process != 0', { | |
| 858 'AdditionalOptions': [ | |
| 859 "\"/MANIFESTUAC:level='requireAdministrator' " | |
| 860 "uiAccess='true'\"", | |
| 861 ], | |
| 862 }], | |
| 863 ], | |
| 864 # 2 == /SUBSYSTEM:WINDOWS | |
| 865 'SubSystem': '2', | |
| 866 }, | |
| 867 }, | |
| 868 }, # end of target 'remoting_desktop' | |
| 869 ], | |
| 870 }], # 'remoting_multi_process != 0' | |
| 871 | |
| 805 ], # end of 'conditions' | 872 ], # end of 'conditions' |
| 806 | 873 |
| 807 'targets': [ | 874 'targets': [ |
| 808 { | 875 { |
| 809 'target_name': 'remoting_breakpad', | 876 'target_name': 'remoting_breakpad', |
| 810 'type': 'static_library', | 877 'type': 'static_library', |
| 811 'variables': { 'enable_wexit_time_destructors': 1, }, | 878 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 812 'dependencies': [ | 879 'dependencies': [ |
| 813 '../base/base.gyp:base', | 880 '../base/base.gyp:base', |
| 814 ], | 881 ], |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1494 'msvs_settings': { | 1561 'msvs_settings': { |
| 1495 'VCLinkerTool': { | 1562 'VCLinkerTool': { |
| 1496 'AdditionalOptions': [ | 1563 'AdditionalOptions': [ |
| 1497 "\"/manifestdependency:type='win32' " | 1564 "\"/manifestdependency:type='win32' " |
| 1498 "name='Microsoft.Windows.Common-Controls' " | 1565 "name='Microsoft.Windows.Common-Controls' " |
| 1499 "version='6.0.0.0' " | 1566 "version='6.0.0.0' " |
| 1500 "processorArchitecture='*' " | 1567 "processorArchitecture='*' " |
| 1501 "publicKeyToken='6595b64144ccf1df' language='*'\"", | 1568 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
| 1502 ], | 1569 ], |
| 1503 'conditions': [ | 1570 'conditions': [ |
| 1504 ['buildtype == "Official"', { | 1571 ['buildtype == "Official" and remoting_multi_process == 0', { |
| 1505 'AdditionalOptions': [ | 1572 'AdditionalOptions': [ |
| 1506 "\"/MANIFESTUAC:level='requireAdministrator' " | 1573 "\"/MANIFESTUAC:level='requireAdministrator' " |
| 1507 "uiAccess='true'\"", | 1574 "uiAccess='true'\"", |
| 1508 ], | 1575 ], |
| 1509 }], | 1576 }], |
| 1510 ], | 1577 ], |
| 1511 # 2 == /SUBSYSTEM:WINDOWS | 1578 # 2 == /SUBSYSTEM:WINDOWS |
| 1512 'SubSystem': '2', | 1579 'SubSystem': '2', |
| 1513 }, | 1580 }, |
| 1514 }, | 1581 }, |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1839 '../base/allocator/allocator.gyp:allocator', | 1906 '../base/allocator/allocator.gyp:allocator', |
| 1840 ], | 1907 ], |
| 1841 }, | 1908 }, |
| 1842 ], | 1909 ], |
| 1843 ], | 1910 ], |
| 1844 }], | 1911 }], |
| 1845 ], # end of 'conditions' | 1912 ], # end of 'conditions' |
| 1846 }, # end of target 'remoting_unittests' | 1913 }, # end of target 'remoting_unittests' |
| 1847 ], # end of targets | 1914 ], # end of targets |
| 1848 } | 1915 } |
| OLD | NEW |