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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' | 798 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' |
799 '--print_only <(remoting_locales))', | 799 '--print_only <(remoting_locales))', |
800 ], | 800 ], |
801 'action': [ | 801 'action': [ |
802 'python', | 802 'python', |
803 '<(remoting_localize_path)', | 803 '<(remoting_localize_path)', |
804 '--locale_dir', '<(webapp_locale_dir)', | 804 '--locale_dir', '<(webapp_locale_dir)', |
805 '--template', 'host/plugin/host_plugin-InfoPlist.strings.jinja2'
, | 805 '--template', 'host/plugin/host_plugin-InfoPlist.strings.jinja2'
, |
806 '--locale_output', | 806 '--locale_output', |
807 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/@{jso
n_suffix}.lproj/InfoPlist.strings', | 807 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/@{jso
n_suffix}.lproj/InfoPlist.strings', |
808 '--encoding', 'utf-8', | |
809 '<@(remoting_locales)', | 808 '<@(remoting_locales)', |
810 ], | 809 ], |
811 }, | 810 }, |
812 { | 811 { |
813 'action_name': 'generate_host_strings', | 812 'action_name': 'generate_host_strings', |
814 'inputs': [ | 813 'inputs': [ |
815 '<(remoting_localize_path)', | 814 '<(remoting_localize_path)', |
816 'host/remoting_me2me_host-InfoPlist.strings.jinja2', | 815 'host/remoting_me2me_host-InfoPlist.strings.jinja2', |
817 ], | 816 ], |
818 'outputs': [ | 817 'outputs': [ |
819 '<!@pymod_do_main(remoting_localize --locale_output ' | 818 '<!@pymod_do_main(remoting_localize --locale_output ' |
820 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_
suffix}.lproj/InfoPlist.strings" ' | 819 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_
suffix}.lproj/InfoPlist.strings" ' |
821 '--print_only <(remoting_locales))', | 820 '--print_only <(remoting_locales))', |
822 ], | 821 ], |
823 'action': [ | 822 'action': [ |
824 'python', | 823 'python', |
825 '<(remoting_localize_path)', | 824 '<(remoting_localize_path)', |
826 '--locale_dir', '<(webapp_locale_dir)', | 825 '--locale_dir', '<(webapp_locale_dir)', |
827 '--template', 'host/remoting_me2me_host-InfoPlist.strings.jinja2
', | 826 '--template', 'host/remoting_me2me_host-InfoPlist.strings.jinja2
', |
828 '--locale_output', | 827 '--locale_output', |
829 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_suffi
x}.lproj/InfoPlist.strings', | 828 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_suffi
x}.lproj/InfoPlist.strings', |
830 '--encoding', 'utf-8', | |
831 '<@(remoting_locales)', | 829 '<@(remoting_locales)', |
832 ], | 830 ], |
833 }, | 831 }, |
834 { | 832 { |
835 'action_name': 'generate_preference_pane_strings', | 833 'action_name': 'generate_preference_pane_strings', |
836 'inputs': [ | 834 'inputs': [ |
837 '<(remoting_localize_path)', | 835 '<(remoting_localize_path)', |
838 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', | 836 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', |
839 ], | 837 ], |
840 'outputs': [ | 838 'outputs': [ |
841 '<!@pymod_do_main(remoting_localize --locale_output ' | 839 '<!@pymod_do_main(remoting_localize --locale_output ' |
842 '"<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resour
ces/@{json_suffix}.lproj/InfoPlist.strings" ' | 840 '"<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resour
ces/@{json_suffix}.lproj/InfoPlist.strings" ' |
843 '--print_only <(remoting_locales))', | 841 '--print_only <(remoting_locales))', |
844 ], | 842 ], |
845 'action': [ | 843 'action': [ |
846 'python', | 844 'python', |
847 '<(remoting_localize_path)', | 845 '<(remoting_localize_path)', |
848 '--locale_dir', '<(webapp_locale_dir)', | 846 '--locale_dir', '<(webapp_locale_dir)', |
849 '--template', 'host/mac/me2me_preference_pane-InfoPlist.strings.
jinja2', | 847 '--template', 'host/mac/me2me_preference_pane-InfoPlist.strings.
jinja2', |
850 '--locale_output', | 848 '--locale_output', |
851 '<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resources/@
{json_suffix}.lproj/InfoPlist.strings', | 849 '<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resources/@
{json_suffix}.lproj/InfoPlist.strings', |
852 '--encoding', 'utf-8', | |
853 '<@(remoting_locales)', | 850 '<@(remoting_locales)', |
854 ], | 851 ], |
855 }, | 852 }, |
856 { | 853 { |
857 'action_name': 'generate_uninstaller_strings', | 854 'action_name': 'generate_uninstaller_strings', |
858 'inputs': [ | 855 'inputs': [ |
859 '<(remoting_localize_path)', | 856 '<(remoting_localize_path)', |
860 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.s
trings.jinja2', | 857 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.s
trings.jinja2', |
861 ], | 858 ], |
862 'outputs': [ | 859 'outputs': [ |
863 '<!@pymod_do_main(remoting_localize --locale_output ' | 860 '<!@pymod_do_main(remoting_localize --locale_output ' |
864 '"<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' | 861 '"<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' |
865 '--print_only <(remoting_locales))', | 862 '--print_only <(remoting_locales))', |
866 ], | 863 ], |
867 'action': [ | 864 'action': [ |
868 'python', | 865 'python', |
869 '<(remoting_localize_path)', | 866 '<(remoting_localize_path)', |
870 '--locale_dir', '<(webapp_locale_dir)', | 867 '--locale_dir', '<(webapp_locale_dir)', |
871 '--template', 'host/installer/mac/uninstaller/remoting_uninstall
er-InfoPlist.strings.jinja2', | 868 '--template', 'host/installer/mac/uninstaller/remoting_uninstall
er-InfoPlist.strings.jinja2', |
872 '--locale_output', | 869 '--locale_output', |
873 '<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/@{jso
n_suffix}.lproj/InfoPlist.strings', | 870 '<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/@{jso
n_suffix}.lproj/InfoPlist.strings', |
874 '--encoding', 'utf-8', | |
875 '<@(remoting_locales)', | 871 '<@(remoting_locales)', |
876 ], | 872 ], |
877 }, | 873 }, |
878 ], | 874 ], |
879 }, # end of target 'remoting_infoplist_strings' | 875 }, # end of target 'remoting_infoplist_strings' |
880 ], # end of 'targets' | 876 ], # end of 'targets' |
881 }], # 'enable_remoting_host==1' | 877 }], # 'enable_remoting_host==1' |
882 | 878 |
883 ['OS!="win" and enable_remoting_host==1', { | 879 ['OS!="win" and enable_remoting_host==1', { |
884 'conditions': [ | 880 'conditions': [ |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1630 'host/win/core.rc.jinja2' | 1626 'host/win/core.rc.jinja2' |
1631 ], | 1627 ], |
1632 'rules': [ | 1628 'rules': [ |
1633 { | 1629 { |
1634 'rule_name': 'version', | 1630 'rule_name': 'version', |
1635 'extension': 'jinja2', | 1631 'extension': 'jinja2', |
1636 'outputs': [ | 1632 'outputs': [ |
1637 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc' | 1633 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc' |
1638 ], | 1634 ], |
1639 'action': [ | 1635 'action': [ |
1640 'python', | 1636 'python', '<(remoting_localize_path)', |
1641 '<(remoting_localize_path)', | |
1642 '--locale_dir', '<(webapp_locale_dir)', | 1637 '--locale_dir', '<(webapp_locale_dir)', |
1643 '--template', '<(RULE_INPUT_PATH)', | 1638 '--template', '<(RULE_INPUT_PATH)', |
1644 '--output', '<@(_outputs)', | 1639 '--output', '<@(_outputs)', |
| 1640 '--encoding', 'utf-16', |
1645 '<@(remoting_locales)', | 1641 '<@(remoting_locales)', |
1646 ], | 1642 ], |
1647 'message': 'Localizing the dialogs and strings' | 1643 'message': 'Localizing the dialogs and strings' |
1648 }, | 1644 }, |
1649 ], | 1645 ], |
1650 }, # end of target 'remoting_core_resources' | 1646 }, # end of target 'remoting_core_resources' |
1651 { | 1647 { |
1652 'target_name': 'remoting_desktop', | 1648 'target_name': 'remoting_desktop', |
1653 'type': 'executable', | 1649 'type': 'executable', |
1654 'variables': { 'enable_wexit_time_destructors': 1, }, | 1650 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1733 'host/win/host_messages.mc.jinja2' | 1729 'host/win/host_messages.mc.jinja2' |
1734 ], | 1730 ], |
1735 'rules': [ | 1731 'rules': [ |
1736 { | 1732 { |
1737 'rule_name': 'localize', | 1733 'rule_name': 'localize', |
1738 'extension': 'jinja2', | 1734 'extension': 'jinja2', |
1739 'outputs': [ | 1735 'outputs': [ |
1740 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages
.mc', | 1736 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages
.mc', |
1741 ], | 1737 ], |
1742 'action': [ | 1738 'action': [ |
1743 'python', | 1739 'python', '<(remoting_localize_path)', |
1744 '<(remoting_localize_path)', | |
1745 '--locale_dir', '<(webapp_locale_dir)', | 1740 '--locale_dir', '<(webapp_locale_dir)', |
1746 '--template', '<(RULE_INPUT_PATH)', | 1741 '--template', '<(RULE_INPUT_PATH)', |
1747 '--output', '<@(_outputs)', | 1742 '--output', '<@(_outputs)', |
| 1743 '--encoding', 'utf-16', |
1748 '<@(remoting_locales)', | 1744 '<@(remoting_locales)', |
1749 ], | 1745 ], |
1750 'message': 'Localizing the event log messages' | 1746 'message': 'Localizing the event log messages' |
1751 }, | 1747 }, |
1752 ], | 1748 ], |
1753 }, # end of target 'remoting_host_messages' | 1749 }, # end of target 'remoting_host_messages' |
1754 | 1750 |
1755 # Generates localized the version information resources for the Windows | 1751 # Generates localized the version information resources for the Windows |
1756 # binaries. | 1752 # binaries. |
1757 # The substitution strings are taken from: | 1753 # The substitution strings are taken from: |
(...skipping 26 matching lines...) Expand all Loading... |
1784 }, | 1780 }, |
1785 'inputs': [ | 1781 'inputs': [ |
1786 '<(chrome_version_path)', | 1782 '<(chrome_version_path)', |
1787 '<(lastchange_path)', | 1783 '<(lastchange_path)', |
1788 '<(remoting_version_path)', | 1784 '<(remoting_version_path)', |
1789 ], | 1785 ], |
1790 'outputs': [ | 1786 'outputs': [ |
1791 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | 1787 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1792 ], | 1788 ], |
1793 'action': [ | 1789 'action': [ |
1794 'python', | 1790 'python', '<(remoting_localize_path)', |
1795 '<(remoting_localize_path)', | |
1796 '--variables', '<(chrome_version_path)', | 1791 '--variables', '<(chrome_version_path)', |
1797 # |remoting_version_path| must be after |chrome_version_path| | 1792 # |remoting_version_path| must be after |chrome_version_path| |
1798 # because it can contain overrides for the version numbers. | 1793 # because it can contain overrides for the version numbers. |
1799 '--variables', '<(remoting_version_path)', | 1794 '--variables', '<(remoting_version_path)', |
1800 '--variables', '<(lastchange_path)', | 1795 '--variables', '<(lastchange_path)', |
1801 '--locale_dir', '<(webapp_locale_dir)', | 1796 '--locale_dir', '<(webapp_locale_dir)', |
1802 '--template', '<(RULE_INPUT_PATH)', | 1797 '--template', '<(RULE_INPUT_PATH)', |
1803 '--output', '<@(_outputs)', | 1798 '--output', '<@(_outputs)', |
| 1799 '--encoding', 'utf-16', |
1804 '<@(remoting_locales)', | 1800 '<@(remoting_locales)', |
1805 ], | 1801 ], |
1806 'message': 'Localizing the version information' | 1802 'message': 'Localizing the version information' |
1807 }, | 1803 }, |
1808 ], | 1804 ], |
1809 }, # end of target 'remoting_version_resources' | 1805 }, # end of target 'remoting_version_resources' |
1810 ], # end of 'targets' | 1806 ], # end of 'targets' |
1811 }], # 'OS=="win"' | 1807 }], # 'OS=="win"' |
1812 | 1808 |
1813 # The host installation is generated only if WiX is available. If | 1809 # The host installation is generated only if WiX is available. If |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 '<(output)', | 2254 '<(output)', |
2259 ], | 2255 ], |
2260 'action': [ | 2256 'action': [ |
2261 'python', | 2257 'python', |
2262 '<(remoting_localize_path)', | 2258 '<(remoting_localize_path)', |
2263 '--define', 'ME2ME_NATIVE_MESSAGING_HOST_PATH=<(me2me_native_mes
saging_host_path)', | 2259 '--define', 'ME2ME_NATIVE_MESSAGING_HOST_PATH=<(me2me_native_mes
saging_host_path)', |
2264 '--locale_dir', '<(webapp_locale_dir)', | 2260 '--locale_dir', '<(webapp_locale_dir)', |
2265 '--template', '<(input)', | 2261 '--template', '<(input)', |
2266 '--locale_output', | 2262 '--locale_output', |
2267 '<(output)', | 2263 '<(output)', |
2268 '--encoding', 'utf-8', | |
2269 'en', | 2264 'en', |
2270 ], | 2265 ], |
2271 }, | 2266 }, |
2272 ], # actions | 2267 ], # actions |
2273 }, | 2268 }, |
2274 ], | 2269 ], |
2275 ], # target_conditions | 2270 ], # target_conditions |
2276 }, # end of target 'remoting_me2me_native_messaging_manifest' | 2271 }, # end of target 'remoting_me2me_native_messaging_manifest' |
2277 { | 2272 { |
2278 'target_name': 'remoting_resources', | 2273 'target_name': 'remoting_resources', |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2904 '../base/allocator/allocator.gyp:allocator', | 2899 '../base/allocator/allocator.gyp:allocator', |
2905 ], | 2900 ], |
2906 }, | 2901 }, |
2907 ], | 2902 ], |
2908 ], | 2903 ], |
2909 }], # end of 'toolkit_uses_gtk == 1' | 2904 }], # end of 'toolkit_uses_gtk == 1' |
2910 ], # end of 'conditions' | 2905 ], # end of 'conditions' |
2911 }, # end of target 'remoting_unittests' | 2906 }, # end of target 'remoting_unittests' |
2912 ], # end of targets | 2907 ], # end of targets |
2913 } | 2908 } |
OLD | NEW |