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 25 matching lines...) Expand all Loading... |
36 'version_minor': | 36 'version_minor': |
37 '<!(python <(version_py_path) -f <(remoting_version_path) -t "@REMOTING_PA
TCH@")', | 37 '<!(python <(version_py_path) -f <(remoting_version_path) -t "@REMOTING_PA
TCH@")', |
38 'version_short': | 38 'version_short': |
39 '<(version_major).<(version_minor).' | 39 '<(version_major).<(version_minor).' |
40 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@BUILD@")', | 40 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@BUILD@")', |
41 'version_full': | 41 'version_full': |
42 '<(version_short).' | 42 '<(version_short).' |
43 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@PATCH@")', | 43 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@PATCH@")', |
44 | 44 |
45 'branding_path': '../remoting/branding_<(branding)', | 45 'branding_path': '../remoting/branding_<(branding)', |
46 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP
YRIGHT@")', | |
47 | 46 |
48 'webapp_locale_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/webapp/_locales', | 47 'webapp_locale_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/webapp/_locales', |
49 | 48 |
50 # Use consistent strings across all platforms. | |
51 # These values must match host/plugin/constants.h | |
52 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 49 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
53 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path)
-t "@HOST_PLUGIN_DESCRIPTION@")', | |
54 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H
OST_PLUGIN_FILE_NAME@")', | |
55 | 50 |
56 'conditions': [ | 51 'conditions': [ |
57 # Remoting host is supported only on Windows, OSX and Linux (with X11). | 52 # Remoting host is supported only on Windows, OSX and Linux (with X11). |
58 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0 and use_x11==1)',
{ | 53 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0 and use_x11==1)',
{ |
59 'enable_remoting_host': 1, | 54 'enable_remoting_host': 1, |
60 }, { | 55 }, { |
61 'enable_remoting_host': 0, | 56 'enable_remoting_host': 0, |
62 }], | 57 }], |
63 ['OS=="mac"', { | 58 ['OS=="mac"', { |
64 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_BUNDLE_ID@")', | 59 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_BUNDLE_ID@")', |
(...skipping 28 matching lines...) Expand all Loading... |
93 # classes will be used during/after upgrade even if there are old | 88 # classes will be used during/after upgrade even if there are old |
94 # instances running already. | 89 # instances running already. |
95 # The parameter passed to uuidgen.py is ignored, but needed to make sure | 90 # The parameter passed to uuidgen.py is ignored, but needed to make sure |
96 # that the script will be invoked separately for each CLSID. Otherwise | 91 # that the script will be invoked separately for each CLSID. Otherwise |
97 # GYP will reuse the value returned by the first invocation of | 92 # GYP will reuse the value returned by the first invocation of |
98 # the script. | 93 # the script. |
99 'daemon_controller_clsid': '<!(python tools/uuidgen.py 1)', | 94 'daemon_controller_clsid': '<!(python tools/uuidgen.py 1)', |
100 'rdp_desktop_session_clsid': '<!(python tools/uuidgen.py 2)', | 95 'rdp_desktop_session_clsid': '<!(python tools/uuidgen.py 2)', |
101 }], | 96 }], |
102 ], | 97 ], |
| 98 |
103 'remoting_locales': [ | 99 'remoting_locales': [ |
104 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', | 100 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', |
105 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', | 101 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', |
106 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', | 102 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', |
107 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', | 103 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', |
108 'zh-CN', 'zh-TW', | 104 'zh-CN', 'zh-TW', |
109 ], | 105 ], |
| 106 'remoting_locale_files': [ |
| 107 # Build the list of .pak files generated from remoting_strings.grd. |
| 108 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x ' |
| 109 '<(PRODUCT_DIR) <(remoting_locales))', |
| 110 ], |
110 'remoting_webapp_locale_files': [ | 111 'remoting_webapp_locale_files': [ |
111 # Build the list of .json files generated from remoting_strings.grd. | 112 # Build the list of .json files generated from remoting_strings.grd. |
112 '<!@pymod_do_main(remoting_localize --locale_output ' | 113 '<!@pymod_do_main(remoting_localize --locale_output ' |
113 '"<(webapp_locale_dir)/${json_suffix}/messages.json" ' | 114 '"<(webapp_locale_dir)/@{json_suffix}/messages.json" ' |
114 '--print_only <(remoting_locales))', | 115 '--print_only <(remoting_locales))', |
115 ], | 116 ], |
116 'remoting_webapp_files': [ | 117 'remoting_webapp_files': [ |
117 'resources/chromoting16.webp', | 118 'resources/chromoting16.webp', |
118 'resources/chromoting48.webp', | 119 'resources/chromoting48.webp', |
119 'resources/chromoting128.webp', | 120 'resources/chromoting128.webp', |
120 'resources/disclosure_arrow_down.webp', | 121 'resources/disclosure_arrow_down.webp', |
121 'resources/disclosure_arrow_right.webp', | 122 'resources/disclosure_arrow_right.webp', |
122 'resources/host_setup_instructions.webp', | 123 'resources/host_setup_instructions.webp', |
123 'resources/icon_cross.webp', | 124 'resources/icon_cross.webp', |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 ['enable_remoting_host==1', { | 263 ['enable_remoting_host==1', { |
263 'targets': [ | 264 'targets': [ |
264 { | 265 { |
265 'target_name': 'remoting_host', | 266 'target_name': 'remoting_host', |
266 'type': 'static_library', | 267 'type': 'static_library', |
267 'variables': { 'enable_wexit_time_destructors': 1, }, | 268 'variables': { 'enable_wexit_time_destructors': 1, }, |
268 'dependencies': [ | 269 'dependencies': [ |
269 'remoting_base', | 270 'remoting_base', |
270 'remoting_jingle_glue', | 271 'remoting_jingle_glue', |
271 'remoting_protocol', | 272 'remoting_protocol', |
| 273 'remoting_resources', |
272 '../crypto/crypto.gyp:crypto', | 274 '../crypto/crypto.gyp:crypto', |
273 '../google_apis/google_apis.gyp:google_apis', | 275 '../google_apis/google_apis.gyp:google_apis', |
274 '../ipc/ipc.gyp:ipc', | 276 '../ipc/ipc.gyp:ipc', |
275 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 277 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
276 ], | 278 ], |
277 'defines': [ | 279 'defines': [ |
278 'VERSION=<(version_full)', | 280 'VERSION=<(version_full)', |
279 ], | 281 ], |
280 'sources': [ | 282 'sources': [ |
281 'host/audio_capturer.cc', | 283 'host/audio_capturer.cc', |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 'host/server_log_entry.cc', | 424 'host/server_log_entry.cc', |
423 'host/server_log_entry.h', | 425 'host/server_log_entry.h', |
424 'host/service_urls.cc', | 426 'host/service_urls.cc', |
425 'host/service_urls.h', | 427 'host/service_urls.h', |
426 'host/session_manager_factory.cc', | 428 'host/session_manager_factory.cc', |
427 'host/session_manager_factory.h', | 429 'host/session_manager_factory.h', |
428 'host/signaling_connector.cc', | 430 'host/signaling_connector.cc', |
429 'host/signaling_connector.h', | 431 'host/signaling_connector.h', |
430 'host/token_validator_factory_impl.cc', | 432 'host/token_validator_factory_impl.cc', |
431 'host/token_validator_factory_impl.h', | 433 'host/token_validator_factory_impl.h', |
432 'host/ui_strings.cc', | |
433 'host/ui_strings.h', | |
434 'host/usage_stats_consent.h', | 434 'host/usage_stats_consent.h', |
435 'host/usage_stats_consent_mac.cc', | 435 'host/usage_stats_consent_mac.cc', |
436 'host/usage_stats_consent_win.cc', | 436 'host/usage_stats_consent_win.cc', |
437 'host/video_scheduler.cc', | 437 'host/video_scheduler.cc', |
438 'host/video_scheduler.h', | 438 'host/video_scheduler.h', |
439 'host/win/com_security.cc', | 439 'host/win/com_security.cc', |
440 'host/win/com_security.h', | 440 'host/win/com_security.h', |
441 'host/win/launch_process_with_token.cc', | 441 'host/win/launch_process_with_token.cc', |
442 'host/win/launch_process_with_token.h', | 442 'host/win/launch_process_with_token.h', |
443 'host/win/omaha.cc', | 443 'host/win/omaha.cc', |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 }], | 632 }], |
633 ], | 633 ], |
634 }, # end of target 'remoting_host_setup_base' | 634 }, # end of target 'remoting_host_setup_base' |
635 | 635 |
636 { | 636 { |
637 'target_name': 'remoting_host_plugin', | 637 'target_name': 'remoting_host_plugin', |
638 'type': 'loadable_module', | 638 'type': 'loadable_module', |
639 'variables': { 'enable_wexit_time_destructors': 1, }, | 639 'variables': { 'enable_wexit_time_destructors': 1, }, |
640 'product_extension': '<(host_plugin_extension)', | 640 'product_extension': '<(host_plugin_extension)', |
641 'product_prefix': '<(host_plugin_prefix)', | 641 'product_prefix': '<(host_plugin_prefix)', |
| 642 'defines': [ |
| 643 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', |
| 644 ], |
642 'dependencies': [ | 645 'dependencies': [ |
| 646 '../base/base.gyp:base_i18n', |
643 '../net/net.gyp:net', | 647 '../net/net.gyp:net', |
644 '../third_party/npapi/npapi.gyp:npapi', | 648 '../third_party/npapi/npapi.gyp:npapi', |
645 'remoting_base', | 649 'remoting_base', |
646 'remoting_host', | 650 'remoting_host', |
647 'remoting_host_event_logger', | 651 'remoting_host_event_logger', |
648 'remoting_host_logging', | 652 'remoting_host_logging', |
| 653 'remoting_infoplist_strings', |
649 'remoting_host_setup_base', | 654 'remoting_host_setup_base', |
650 'remoting_jingle_glue', | 655 'remoting_jingle_glue', |
| 656 'remoting_resources', |
651 ], | 657 ], |
652 'sources': [ | 658 'sources': [ |
653 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | |
654 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | |
655 'base/dispatch_win.h', | 659 'base/dispatch_win.h', |
656 'host/plugin/host_log_handler.cc', | 660 'host/plugin/host_log_handler.cc', |
657 'host/plugin/host_log_handler.h', | 661 'host/plugin/host_log_handler.h', |
658 'host/plugin/host_plugin.cc', | 662 'host/plugin/host_plugin.cc', |
659 'host/plugin/host_plugin_utils.cc', | 663 'host/plugin/host_plugin_utils.cc', |
660 'host/plugin/host_plugin_utils.h', | 664 'host/plugin/host_plugin_utils.h', |
661 'host/plugin/host_script_object.cc', | 665 'host/plugin/host_script_object.cc', |
662 'host/plugin/host_script_object.h', | 666 'host/plugin/host_script_object.h', |
663 'host/win/core_resource.h', | 667 'host/win/core_resource.h', |
664 ], | 668 ], |
665 'conditions': [ | 669 'conditions': [ |
666 ['OS=="mac"', { | 670 ['OS=="mac"', { |
667 'mac_bundle': 1, | 671 'mac_bundle': 1, |
668 'xcode_settings': { | 672 'xcode_settings': { |
669 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 673 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
670 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 674 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
671 'INFOPLIST_PREPROCESS': 'YES', | 675 'INFOPLIST_PREPROCESS': 'YES', |
672 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t
o | 676 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t
o |
673 # duplicate string once | 677 # duplicate string once |
674 # http://code.google.com/p/gyp/issues/detail?id=243 is fixed. | 678 # http://code.google.com/p/gyp/issues/detail?id=243 is fixed. |
675 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE="<(
host_plugin_mime_type)" HOST_PLUGIN_NAME="<(host_plugin_name)" HOST_PLUGIN_DESCR
IPTION="<(host_plugin_description)"', | 679 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE="<(
host_plugin_mime_type)" VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_
short)"', |
676 }, | 680 }, |
677 # TODO(mark): Come up with a fancier way to do this. It should | 681 # TODO(mark): Come up with a fancier way to do this. It should |
678 # only be necessary to list host_plugin-Info.plist once, not the | 682 # only be necessary to list host_plugin-Info.plist once, not the |
679 # three times it is listed here. | 683 # three times it is listed here. |
680 'mac_bundle_resources': [ | 684 'mac_bundle_resources': [ |
681 'host/disconnect_window.xib', | 685 'host/disconnect_window.xib', |
682 'host/plugin/host_plugin-Info.plist', | 686 'host/plugin/host_plugin-Info.plist', |
683 'resources/chromoting16.png', | 687 'resources/chromoting16.png', |
684 'resources/chromoting48.png', | 688 'resources/chromoting48.png', |
685 'resources/chromoting128.png', | 689 'resources/chromoting128.png', |
| 690 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT
_DIR) <(remoting_locales))', |
| 691 |
| 692 # Localized strings for 'Info.plist' |
| 693 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 694 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' |
| 695 '--print_only <(remoting_locales))', |
686 ], | 696 ], |
687 'mac_bundle_resources!': [ | 697 'mac_bundle_resources!': [ |
688 'host/plugin/host_plugin-Info.plist', | 698 'host/plugin/host_plugin-Info.plist', |
689 ], | 699 ], |
690 'conditions': [ | 700 'conditions': [ |
691 ['mac_breakpad==1', { | 701 ['mac_breakpad==1', { |
692 'variables': { | 702 'variables': { |
693 # A real .dSYM is needed for dump_syms to operate on. | 703 # A real .dSYM is needed for dump_syms to operate on. |
694 'mac_real_dsym': 1, | 704 'mac_real_dsym': 1, |
695 }, | 705 }, |
696 }], | 706 }], |
697 ], # conditions | 707 ], # conditions |
698 }], # OS=="mac" | 708 }], # OS=="mac" |
699 [ 'OS=="win"', { | 709 [ 'OS=="win"', { |
700 'defines': [ | 710 'defines': [ |
701 'BINARY=BINARY_HOST_PLUGIN', | 711 'BINARY=BINARY_HOST_PLUGIN', |
702 'ISOLATION_AWARE_ENABLED=1', | 712 'ISOLATION_AWARE_ENABLED=1', |
703 ], | 713 ], |
704 'dependencies': [ | 714 'dependencies': [ |
705 'remoting_lib_idl', | 715 'remoting_lib_idl', |
706 'remoting_core_resources', | 716 'remoting_core_resources', |
707 'remoting_version_resources', | 717 'remoting_version_resources', |
708 ], | 718 ], |
709 'include_dirs': [ | 719 'include_dirs': [ |
710 '<(INTERMEDIATE_DIR)', | 720 '<(INTERMEDIATE_DIR)', |
711 ], | 721 ], |
712 'sources': [ | 722 'sources': [ |
| 723 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
| 724 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
713 'host/plugin/host_plugin.def', | 725 'host/plugin/host_plugin.def', |
714 ], | 726 ], |
715 'msvs_settings': { | 727 'msvs_settings': { |
716 'VCManifestTool': { | 728 'VCManifestTool': { |
717 'EmbedManifest': 'true', | 729 'EmbedManifest': 'true', |
718 }, | 730 }, |
719 'VCLinkerTool': { | 731 'VCLinkerTool': { |
720 'AdditionalOptions': [ | 732 'AdditionalOptions': [ |
721 "\"/manifestdependency:type='win32' " | 733 "\"/manifestdependency:type='win32' " |
722 "name='Microsoft.Windows.Common-Controls' " | 734 "name='Microsoft.Windows.Common-Controls' " |
723 "version='6.0.0.0' " | 735 "version='6.0.0.0' " |
724 "processorArchitecture='*' " | 736 "processorArchitecture='*' " |
725 "publicKeyToken='6595b64144ccf1df' language='*'\"", | 737 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
726 ], | 738 ], |
727 }, | 739 }, |
728 }, | 740 }, |
729 }], | 741 }], |
730 ], | 742 ], |
731 }, # end of target 'remoting_host_plugin' | 743 }, # end of target 'remoting_host_plugin' |
| 744 { |
| 745 'target_name': 'remoting_infoplist_strings', |
| 746 'type': 'none', |
| 747 'dependencies': [ |
| 748 'remoting_resources', |
| 749 ], |
| 750 'actions': [ |
| 751 { |
| 752 'action_name': 'generate_host_plugin_strings', |
| 753 'inputs': [ |
| 754 '<(remoting_localize_path)', |
| 755 'host/plugin/host_plugin-InfoPlist.strings.jinja2', |
| 756 ], |
| 757 'outputs': [ |
| 758 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 759 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' |
| 760 '--print_only <(remoting_locales))', |
| 761 ], |
| 762 'action': [ |
| 763 'python', |
| 764 '<(remoting_localize_path)', |
| 765 '--locale_dir', '<(webapp_locale_dir)', |
| 766 '--template', 'host/plugin/host_plugin-InfoPlist.strings.jinja2'
, |
| 767 '--locale_output', |
| 768 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/@{jso
n_suffix}.lproj/InfoPlist.strings', |
| 769 '--encoding', 'utf-8', |
| 770 '<@(remoting_locales)', |
| 771 ], |
| 772 }, |
| 773 { |
| 774 'action_name': 'generate_host_strings', |
| 775 'inputs': [ |
| 776 '<(remoting_localize_path)', |
| 777 'host/remoting_me2me_host-InfoPlist.strings.jinja2', |
| 778 ], |
| 779 'outputs': [ |
| 780 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 781 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_
suffix}.lproj/InfoPlist.strings" ' |
| 782 '--print_only <(remoting_locales))', |
| 783 ], |
| 784 'action': [ |
| 785 'python', |
| 786 '<(remoting_localize_path)', |
| 787 '--locale_dir', '<(webapp_locale_dir)', |
| 788 '--template', 'host/remoting_me2me_host-InfoPlist.strings.jinja2
', |
| 789 '--locale_output', |
| 790 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_suffi
x}.lproj/InfoPlist.strings', |
| 791 '--encoding', 'utf-8', |
| 792 '<@(remoting_locales)', |
| 793 ], |
| 794 }, |
| 795 { |
| 796 'action_name': 'generate_preference_pane_strings', |
| 797 'inputs': [ |
| 798 '<(remoting_localize_path)', |
| 799 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', |
| 800 ], |
| 801 'outputs': [ |
| 802 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 803 '"<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resour
ces/@{json_suffix}.lproj/InfoPlist.strings" ' |
| 804 '--print_only <(remoting_locales))', |
| 805 ], |
| 806 'action': [ |
| 807 'python', |
| 808 '<(remoting_localize_path)', |
| 809 '--locale_dir', '<(webapp_locale_dir)', |
| 810 '--template', 'host/mac/me2me_preference_pane-InfoPlist.strings.
jinja2', |
| 811 '--locale_output', |
| 812 '<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resources/@
{json_suffix}.lproj/InfoPlist.strings', |
| 813 '--encoding', 'utf-8', |
| 814 '<@(remoting_locales)', |
| 815 ], |
| 816 }, |
| 817 { |
| 818 'action_name': 'generate_uninstaller_strings', |
| 819 'inputs': [ |
| 820 '<(remoting_localize_path)', |
| 821 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.s
trings.jinja2', |
| 822 ], |
| 823 'outputs': [ |
| 824 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 825 '"<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' |
| 826 '--print_only <(remoting_locales))', |
| 827 ], |
| 828 'action': [ |
| 829 'python', |
| 830 '<(remoting_localize_path)', |
| 831 '--locale_dir', '<(webapp_locale_dir)', |
| 832 '--template', 'host/installer/mac/uninstaller/remoting_uninstall
er-InfoPlist.strings.jinja2', |
| 833 '--locale_output', |
| 834 '<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/@{jso
n_suffix}.lproj/InfoPlist.strings', |
| 835 '--encoding', 'utf-8', |
| 836 '<@(remoting_locales)', |
| 837 ], |
| 838 }, |
| 839 ], |
| 840 }, # end of target 'remoting_infoplist_strings' |
732 | 841 |
733 { | 842 { |
734 'target_name': 'remoting_native_messaging_host', | 843 'target_name': 'remoting_native_messaging_host', |
735 'type': 'executable', | 844 'type': 'executable', |
736 'variables': { 'enable_wexit_time_destructors': 1, }, | 845 'variables': { 'enable_wexit_time_destructors': 1, }, |
737 'dependencies': [ | 846 'dependencies': [ |
738 '../base/base.gyp:base', | 847 '../base/base.gyp:base', |
739 'remoting_host', | 848 'remoting_host', |
740 'remoting_host_logging', | 849 'remoting_host_logging', |
741 'remoting_host_setup_base', | 850 'remoting_host_setup_base', |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 'dependencies': [ | 948 'dependencies': [ |
840 '../base/base.gyp:base', | 949 '../base/base.gyp:base', |
841 '../base/base.gyp:base_i18n', | 950 '../base/base.gyp:base_i18n', |
842 '../net/net.gyp:net', | 951 '../net/net.gyp:net', |
843 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 952 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
844 'remoting_base', | 953 'remoting_base', |
845 'remoting_breakpad', | 954 'remoting_breakpad', |
846 'remoting_host', | 955 'remoting_host', |
847 'remoting_host_event_logger', | 956 'remoting_host_event_logger', |
848 'remoting_host_logging', | 957 'remoting_host_logging', |
| 958 'remoting_infoplist_strings', |
849 'remoting_jingle_glue', | 959 'remoting_jingle_glue', |
850 'remoting_me2me_host_static', | 960 'remoting_me2me_host_static', |
851 ], | 961 ], |
852 'defines': [ | 962 'defines': [ |
853 'VERSION=<(version_full)', | 963 'VERSION=<(version_full)', |
854 ], | 964 ], |
855 'sources': [ | 965 'sources': [ |
856 'host/host_main.cc', | 966 'host/host_main.cc', |
857 'host/host_main.h', | 967 'host/host_main.h', |
858 'host/remoting_me2me_host.cc', | 968 'host/remoting_me2me_host.cc', |
859 ], | 969 ], |
860 'conditions': [ | 970 'conditions': [ |
861 ['OS=="mac"', { | 971 ['OS=="mac"', { |
862 'mac_bundle': 1, | 972 'mac_bundle': 1, |
863 'variables': { | 973 'variables': { |
864 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p
ath) -t "@MAC_HOST_BUNDLE_ID@")', | 974 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p
ath) -t "@MAC_HOST_BUNDLE_ID@")', |
865 }, | 975 }, |
866 'xcode_settings': { | 976 'xcode_settings': { |
867 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', | 977 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', |
868 'INFOPLIST_PREPROCESS': 'YES', | 978 'INFOPLIST_PREPROCESS': 'YES', |
869 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f
ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_I
NFO="<(copyright_info)"', | 979 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f
ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"', |
870 }, | 980 }, |
871 'mac_bundle_resources': [ | 981 'mac_bundle_resources': [ |
872 'host/disconnect_window.xib', | 982 'host/disconnect_window.xib', |
873 'host/remoting_me2me_host.icns', | 983 'host/remoting_me2me_host.icns', |
874 'host/remoting_me2me_host-Info.plist', | 984 'host/remoting_me2me_host-Info.plist', |
| 985 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT
_DIR) <(remoting_locales))', |
| 986 |
| 987 # Localized strings for 'Info.plist' |
| 988 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 989 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_
suffix}.lproj/InfoPlist.strings" ' |
| 990 '--print_only <(remoting_locales))', |
875 ], | 991 ], |
876 'mac_bundle_resources!': [ | 992 'mac_bundle_resources!': [ |
877 'host/remoting_me2me_host-Info.plist', | 993 'host/remoting_me2me_host-Info.plist', |
878 ], | 994 ], |
879 'conditions': [ | 995 'conditions': [ |
880 ['mac_breakpad==1', { | 996 ['mac_breakpad==1', { |
881 'variables': { | 997 'variables': { |
882 # A real .dSYM is needed for dump_syms to operate on. | 998 # A real .dSYM is needed for dump_syms to operate on. |
883 'mac_real_dsym': 1, | 999 'mac_real_dsym': 1, |
884 }, | 1000 }, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 }], # 'OS=="linux"' | 1097 }], # 'OS=="linux"' |
982 | 1098 |
983 ['OS=="mac"', { | 1099 ['OS=="mac"', { |
984 'targets': [ | 1100 'targets': [ |
985 { | 1101 { |
986 'target_name': 'remoting_host_uninstaller', | 1102 'target_name': 'remoting_host_uninstaller', |
987 'type': 'executable', | 1103 'type': 'executable', |
988 'mac_bundle': 1, | 1104 'mac_bundle': 1, |
989 'variables': { | 1105 'variables': { |
990 'bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_UNINSTALLER_BUNDLE_ID@")', | 1106 'bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_UNINSTALLER_BUNDLE_ID@")', |
991 'bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t
"@MAC_UNINSTALLER_BUNDLE_NAME@")', | |
992 }, | 1107 }, |
993 'dependencies': [ | 1108 'dependencies': [ |
994 '<(DEPTH)/base/base.gyp:base', | 1109 '<(DEPTH)/base/base.gyp:base', |
| 1110 'remoting_infoplist_strings', |
995 ], | 1111 ], |
996 'sources': [ | 1112 'sources': [ |
997 'host/constants_mac.cc', | 1113 'host/constants_mac.cc', |
998 'host/constants_mac.h', | 1114 'host/constants_mac.h', |
999 'host/installer/mac/uninstaller/remoting_uninstaller.h', | 1115 'host/installer/mac/uninstaller/remoting_uninstaller.h', |
1000 'host/installer/mac/uninstaller/remoting_uninstaller.mm', | 1116 'host/installer/mac/uninstaller/remoting_uninstaller.mm', |
1001 'host/installer/mac/uninstaller/remoting_uninstaller_app.h', | 1117 'host/installer/mac/uninstaller/remoting_uninstaller_app.h', |
1002 'host/installer/mac/uninstaller/remoting_uninstaller_app.mm', | 1118 'host/installer/mac/uninstaller/remoting_uninstaller_app.mm', |
1003 ], | 1119 ], |
1004 'xcode_settings': { | 1120 'xcode_settings': { |
1005 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall
er-Info.plist', | 1121 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall
er-Info.plist', |
1006 'INFOPLIST_PREPROCESS': 'YES', | 1122 'INFOPLIST_PREPROCESS': 'YES', |
1007 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_INFO="<(copyright_info)"', | 1123 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', |
1008 }, | 1124 }, |
1009 'mac_bundle_resources': [ | 1125 'mac_bundle_resources': [ |
1010 'host/installer/mac/uninstaller/remoting_uninstaller.icns', | 1126 'host/installer/mac/uninstaller/remoting_uninstaller.icns', |
1011 'host/installer/mac/uninstaller/remoting_uninstaller.xib', | 1127 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |
1012 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 1128 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
| 1129 |
| 1130 # Localized strings for 'Info.plist' |
| 1131 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 1132 '"<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/@{js
on_suffix}.lproj/InfoPlist.strings" ' |
| 1133 '--print_only <(remoting_locales))', |
1013 ], | 1134 ], |
1014 'mac_bundle_resources!': [ | 1135 'mac_bundle_resources!': [ |
1015 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 1136 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
1016 ], | 1137 ], |
1017 }, # end of target 'remoting_host_uninstaller' | 1138 }, # end of target 'remoting_host_uninstaller' |
1018 | 1139 |
1019 # This packages up the files needed for the remoting host installer so | 1140 # This packages up the files needed for the remoting host installer so |
1020 # they can be sent off to be signed. | 1141 # they can be sent off to be signed. |
1021 # We don't build an installer here because we don't have signed binaries
. | 1142 # We don't build an installer here because we don't have signed binaries
. |
1022 { | 1143 { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 'Applications/<(host_uninstaller_name).app', | 1175 'Applications/<(host_uninstaller_name).app', |
1055 ], | 1176 ], |
1056 'source_files': [ | 1177 'source_files': [ |
1057 '<@(remoting_host_installer_mac_files)', | 1178 '<@(remoting_host_installer_mac_files)', |
1058 ], | 1179 ], |
1059 'defs': [ | 1180 'defs': [ |
1060 'VERSION=<(version_full)', | 1181 'VERSION=<(version_full)', |
1061 'VERSION_SHORT=<(version_short)', | 1182 'VERSION_SHORT=<(version_short)', |
1062 'VERSION_MAJOR=<(version_major)', | 1183 'VERSION_MAJOR=<(version_major)', |
1063 'VERSION_MINOR=<(version_minor)', | 1184 'VERSION_MINOR=<(version_minor)', |
1064 'COPYRIGHT_INFO=<(copyright_info)', | |
1065 'HOST_NAME=<(host_name)', | 1185 'HOST_NAME=<(host_name)', |
1066 'HOST_SERVICE_NAME=<(host_service_name)', | 1186 'HOST_SERVICE_NAME=<(host_service_name)', |
1067 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', | 1187 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', |
1068 'HOST_PKG=<(host_name)', | 1188 'HOST_PKG=<(host_name)', |
1069 'HOST_SERVICE_PKG=<(host_service_name_nospace)', | 1189 'HOST_SERVICE_PKG=<(host_service_name_nospace)', |
1070 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', | 1190 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', |
1071 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', | 1191 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', |
1072 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos
pace)', | 1192 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos
pace)', |
1073 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_
name_nospace)', | 1193 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_
name_nospace)', |
1074 'DMG_VOLUME_NAME=<(host_name) <(version_full)', | 1194 'DMG_VOLUME_NAME=<(host_name) <(version_full)', |
(...skipping 27 matching lines...) Expand all Loading... |
1102 }, # end of target 'remoting_me2me_host_archive' | 1222 }, # end of target 'remoting_me2me_host_archive' |
1103 | 1223 |
1104 { | 1224 { |
1105 'target_name': 'remoting_host_prefpane', | 1225 'target_name': 'remoting_host_prefpane', |
1106 'type': 'loadable_module', | 1226 'type': 'loadable_module', |
1107 'mac_bundle': 1, | 1227 'mac_bundle': 1, |
1108 'product_extension': 'prefPane', | 1228 'product_extension': 'prefPane', |
1109 'defines': [ | 1229 'defines': [ |
1110 'JSON_USE_EXCEPTION=0', | 1230 'JSON_USE_EXCEPTION=0', |
1111 ], | 1231 ], |
| 1232 'dependencies': [ |
| 1233 'remoting_infoplist_strings', |
| 1234 ], |
1112 'include_dirs': [ | 1235 'include_dirs': [ |
1113 '../third_party/jsoncpp/overrides/include/', | 1236 '../third_party/jsoncpp/overrides/include/', |
1114 '../third_party/jsoncpp/source/include/', | 1237 '../third_party/jsoncpp/source/include/', |
1115 '../third_party/jsoncpp/source/src/lib_json/', | 1238 '../third_party/jsoncpp/source/src/lib_json/', |
1116 ], | 1239 ], |
1117 | 1240 |
1118 # These source files are included directly, instead of adding target | 1241 # These source files are included directly, instead of adding target |
1119 # dependencies, because the targets are not yet built for 64-bit on | 1242 # dependencies, because the targets are not yet built for 64-bit on |
1120 # Mac OS X - http://crbug.com/125116. | 1243 # Mac OS X - http://crbug.com/125116. |
1121 # | 1244 # |
(...skipping 17 matching lines...) Expand all Loading... |
1139 'link_settings': { | 1262 'link_settings': { |
1140 'libraries': [ | 1263 'libraries': [ |
1141 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 1264 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
1142 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 1265 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
1143 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', | 1266 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
1144 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 1267 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
1145 ], | 1268 ], |
1146 }, | 1269 }, |
1147 'variables': { | 1270 'variables': { |
1148 'bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_PREFPANE_BUNDLE_ID@")', | 1271 'bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_PREFPANE_BUNDLE_ID@")', |
1149 'bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t
"@MAC_PREFPANE_BUNDLE_NAME@")', | |
1150 # The XML new-line entity splits the label into two lines, which | |
1151 # is the maximum number of lines allowed by the System Preferences | |
1152 # applet. | |
1153 # TODO(lambroslambrou): When these strings are localized, use "\n" | |
1154 # instead of "
" for linebreaks. | |
1155 'pref_pane_icon_label': '<!(python <(version_py_path) -f <(branding_
path) -t "@MAC_PREFPANE_ICON_LABEL@")', | |
1156 }, | 1272 }, |
1157 'xcode_settings': { | 1273 'xcode_settings': { |
1158 'ARCHS': ['i386', 'x86_64'], | 1274 'ARCHS': ['i386', 'x86_64'], |
1159 'GCC_ENABLE_OBJC_GC': 'supported', | 1275 'GCC_ENABLE_OBJC_GC': 'supported', |
1160 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', | 1276 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', |
1161 'INFOPLIST_PREPROCESS': 'YES', | 1277 'INFOPLIST_PREPROCESS': 'YES', |
1162 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_INFO="<(copyright_info)" PREF_PANE_ICON_LABEL="<(pref_pane_ic
on_label)"', | 1278 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', |
1163 }, | 1279 }, |
1164 'mac_bundle_resources': [ | 1280 'mac_bundle_resources': [ |
1165 'host/mac/me2me_preference_pane.xib', | 1281 'host/mac/me2me_preference_pane.xib', |
1166 'host/mac/me2me_preference_pane_confirm_pin.xib', | 1282 'host/mac/me2me_preference_pane_confirm_pin.xib', |
1167 'host/mac/me2me_preference_pane_disable.xib', | 1283 'host/mac/me2me_preference_pane_disable.xib', |
1168 'host/mac/me2me_preference_pane-Info.plist', | 1284 'host/mac/me2me_preference_pane-Info.plist', |
1169 'resources/chromoting128.png', | 1285 'resources/chromoting128.png', |
| 1286 |
| 1287 # Localized strings for 'Info.plist' |
| 1288 '<!@pymod_do_main(remoting_localize --locale_output ' |
| 1289 '"<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resources/
@{json_suffix}.lproj/InfoPlist.strings" ' |
| 1290 '--print_only <(remoting_locales))', |
1170 ], | 1291 ], |
1171 'mac_bundle_resources!': [ | 1292 'mac_bundle_resources!': [ |
1172 'host/mac/me2me_preference_pane-Info.plist', | 1293 'host/mac/me2me_preference_pane-Info.plist', |
1173 ], | 1294 ], |
1174 'conditions': [ | 1295 'conditions': [ |
1175 ['mac_breakpad==1', { | 1296 ['mac_breakpad==1', { |
1176 'variables': { | 1297 'variables': { |
1177 # A real .dSYM is needed for dump_syms to operate on. | 1298 # A real .dSYM is needed for dump_syms to operate on. |
1178 'mac_real_dsym': 1, | 1299 'mac_real_dsym': 1, |
1179 }, | 1300 }, |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2032 'webapp/appsv2.patch', | 2153 'webapp/appsv2.patch', |
2033 ], | 2154 ], |
2034 'remoting_webapp_apps_v2_js_files': [ | 2155 'remoting_webapp_apps_v2_js_files': [ |
2035 'webapp/background.js', | 2156 'webapp/background.js', |
2036 ], | 2157 ], |
2037 }, | 2158 }, |
2038 'dependencies': [ | 2159 'dependencies': [ |
2039 'remoting_resources', | 2160 'remoting_resources', |
2040 'remoting_host_plugin', | 2161 'remoting_host_plugin', |
2041 ], | 2162 ], |
2042 'sources': [ | 2163 'locale_files': [ |
2043 'webapp/build-webapp.py', | |
2044 '<(remoting_version_path)', | |
2045 '<(chrome_version_path)', | |
2046 '<@(remoting_webapp_apps_v2_js_files)', | |
2047 '<@(remoting_webapp_files)', | |
2048 '<@(remoting_webapp_js_files)', | |
2049 '<@(remoting_webapp_locale_files)', | 2164 '<@(remoting_webapp_locale_files)', |
2050 '<@(remoting_webapp_patch_files)', | |
2051 ], | 2165 ], |
2052 'conditions': [ | 2166 'conditions': [ |
2053 ['enable_remoting_host==1', { | 2167 ['enable_remoting_host==1', { |
| 2168 'locale_files': [ |
| 2169 '<@(remoting_locale_files)', |
| 2170 ], |
2054 'variables': { | 2171 'variables': { |
2055 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_
plugin.<(host_plugin_extension)', | 2172 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_
plugin.<(host_plugin_extension)', |
2056 }, | 2173 }, |
2057 }, { | 2174 }, { |
2058 'variables': { | 2175 'variables': { |
2059 'plugin_path': '', | 2176 'plugin_path': '', |
2060 }, | 2177 }, |
2061 'dependencies!': [ | 2178 'dependencies!': [ |
2062 'remoting_host_plugin', | 2179 'remoting_host_plugin', |
2063 ], | 2180 ], |
2064 }], | 2181 }], |
2065 ], | 2182 ], |
2066 'actions': [ | 2183 'actions': [ |
2067 { | 2184 { |
2068 'action_name': 'Build Remoting WebApp', | 2185 'action_name': 'Build Remoting WebApp', |
2069 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 2186 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
2070 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 2187 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
2071 'inputs': [ | 2188 'inputs': [ |
2072 'webapp/build-webapp.py', | 2189 'webapp/build-webapp.py', |
2073 '<(chrome_version_path)', | 2190 '<(chrome_version_path)', |
2074 '<(remoting_version_path)', | 2191 '<(remoting_version_path)', |
2075 '<@(remoting_webapp_files)', | 2192 '<@(remoting_webapp_files)', |
2076 '<@(remoting_webapp_js_files)', | 2193 '<@(remoting_webapp_js_files)', |
2077 '<@(remoting_webapp_locale_files)', | 2194 '<@(_locale_files)', |
2078 ], | 2195 ], |
2079 'conditions': [ | 2196 'conditions': [ |
2080 ['enable_remoting_host==1', { | 2197 ['enable_remoting_host==1', { |
2081 'inputs': [ | 2198 'inputs': [ |
2082 '<(plugin_path)', | 2199 '<(plugin_path)', |
2083 ], | 2200 ], |
2084 }], | 2201 }], |
2085 ], | 2202 ], |
2086 'outputs': [ | 2203 'outputs': [ |
2087 '<(_output_dir)', | 2204 '<(_output_dir)', |
2088 '<(_zip_path)', | 2205 '<(_zip_path)', |
2089 ], | 2206 ], |
2090 'action': [ | 2207 'action': [ |
2091 'python', 'webapp/build-webapp.py', | 2208 'python', 'webapp/build-webapp.py', |
2092 '<(buildtype)', | 2209 '<(buildtype)', |
2093 '<(version_full)', | 2210 '<(version_full)', |
2094 '<(host_plugin_mime_type)', | 2211 '<(host_plugin_mime_type)', |
2095 '<(_output_dir)', | 2212 '<(_output_dir)', |
2096 '<(_zip_path)', | 2213 '<(_zip_path)', |
2097 '<(plugin_path)', | 2214 '<(plugin_path)', |
2098 '<@(remoting_webapp_files)', | 2215 '<@(remoting_webapp_files)', |
2099 '<@(remoting_webapp_js_files)', | 2216 '<@(remoting_webapp_js_files)', |
2100 '--locales', | 2217 '--locales', |
2101 '<@(remoting_webapp_locale_files)', | 2218 '<@(_locale_files)', |
2102 ], | 2219 ], |
2103 'msvs_cygwin_shell': 1, | 2220 'msvs_cygwin_shell': 0, |
2104 }, | 2221 }, |
2105 ], | 2222 ], |
2106 'target_conditions': [ | 2223 'target_conditions': [ |
2107 # We cannot currently build the appsv2 version of WebApp on Windows as | 2224 # We cannot currently build the appsv2 version of WebApp on Windows as |
2108 # there isn't a version of the "patch" tool available on windows. We | 2225 # there isn't a version of the "patch" tool available on windows. We |
2109 # should remove this condition when we remove the reliance on the 'patch
'. | 2226 # should remove this condition when we remove the reliance on the 'patch
'. |
2110 | 2227 |
2111 # We define this in a 'target_conditions' section because 'plugin_path' | 2228 # We define this in a 'target_conditions' section because 'plugin_path' |
2112 # is defined in a 'conditions' section so its value is not available | 2229 # is defined in a 'conditions' section so its value is not available |
2113 # when gyp processes the 'actions' in a 'conditions" section. | 2230 # when gyp processes the 'actions' in a 'conditions" section. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2147 '<(_zip_path)', | 2264 '<(_zip_path)', |
2148 '<(plugin_path)', | 2265 '<(plugin_path)', |
2149 '<@(remoting_webapp_apps_v2_js_files)', | 2266 '<@(remoting_webapp_apps_v2_js_files)', |
2150 '<@(remoting_webapp_files)', | 2267 '<@(remoting_webapp_files)', |
2151 '<@(remoting_webapp_js_files)', | 2268 '<@(remoting_webapp_js_files)', |
2152 '--locales', | 2269 '--locales', |
2153 '<@(remoting_webapp_locale_files)', | 2270 '<@(remoting_webapp_locale_files)', |
2154 '--patches', | 2271 '--patches', |
2155 '<@(remoting_webapp_patch_files)', | 2272 '<@(remoting_webapp_patch_files)', |
2156 ], | 2273 ], |
2157 'msvs_cygwin_shell': 1, | 2274 'msvs_cygwin_shell': 0, |
2158 }, | 2275 }, |
2159 ], | 2276 ], |
2160 }], | 2277 }], |
2161 ], | 2278 ], |
2162 }, # end of target 'remoting_webapp' | 2279 }, # end of target 'remoting_webapp' |
2163 | 2280 |
2164 { | 2281 { |
2165 'target_name': 'remoting_resources', | 2282 'target_name': 'remoting_resources', |
2166 'type': 'none', | 2283 'type': 'none', |
2167 'variables': { | 2284 'variables': { |
2168 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2285 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
2169 'grit_resource_ids': 'resources/resource_ids', | 2286 'grit_resource_ids': 'resources/resource_ids', |
2170 'sources': [ | 2287 'sources': [ |
2171 'base/resources_unittest.cc', | 2288 'base/resources_unittest.cc', |
2172 'host/plugin/host_script_object.cc', | 2289 'host/continue_window_mac.mm', |
| 2290 'host/disconnect_window_mac.mm', |
| 2291 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings
.jinja2', |
| 2292 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', |
| 2293 'host/plugin/host_plugin-InfoPlist.strings.jinja2', |
2173 'host/win/core.rc.jinja2', | 2294 'host/win/core.rc.jinja2', |
2174 'host/win/host_messages.mc.jinja2', | 2295 'host/win/host_messages.mc.jinja2', |
2175 'host/win/version.rc.jinja2', | 2296 'host/win/version.rc.jinja2', |
2176 'webapp/butter_bar.js', | 2297 'webapp/butter_bar.js', |
2177 'webapp/client_screen.js', | 2298 'webapp/client_screen.js', |
2178 'webapp/error.js', | 2299 'webapp/error.js', |
2179 'webapp/host_list.js', | 2300 'webapp/host_list.js', |
| 2301 'webapp/host_setup_dialog.js', |
2180 'webapp/host_table_entry.js', | 2302 'webapp/host_table_entry.js', |
2181 'webapp/host_setup_dialog.js', | |
2182 'webapp/main.html', | 2303 'webapp/main.html', |
2183 'webapp/manifest.json', | 2304 'webapp/manifest.json', |
2184 'webapp/paired_client_manager.js', | 2305 'webapp/paired_client_manager.js', |
2185 'webapp/remoting.js', | 2306 'webapp/remoting.js', |
2186 ], | 2307 ], |
2187 }, | 2308 }, |
2188 'actions': [ | 2309 'actions': [ |
2189 { | 2310 { |
2190 'action_name': 'verify_resources', | 2311 'action_name': 'verify_resources', |
2191 'inputs': [ | 2312 'inputs': [ |
2192 'resources/remoting_strings.grd', | 2313 'resources/remoting_strings.grd', |
2193 'resources/common_resources.grd', | |
2194 'tools/verify_resources.py', | 2314 'tools/verify_resources.py', |
2195 '<@(sources)' | 2315 '<@(sources)' |
2196 ], | 2316 ], |
2197 'outputs': [ | 2317 'outputs': [ |
2198 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2318 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
2199 ], | 2319 ], |
2200 'action': [ | 2320 'action': [ |
2201 'python', | 2321 'python', |
2202 'tools/verify_resources.py', | 2322 'tools/verify_resources.py', |
2203 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2323 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
2204 '-r', 'resources/remoting_strings.grd', | 2324 '-r', 'resources/remoting_strings.grd', |
2205 '-r', 'resources/common_resources.grd', | |
2206 '<@(sources)', | 2325 '<@(sources)', |
2207 ], | 2326 ], |
2208 }, | 2327 }, |
2209 { | 2328 { |
2210 'action_name': 'remoting_strings', | 2329 'action_name': 'remoting_strings', |
2211 'variables': { | 2330 'variables': { |
2212 'grit_grd_file': 'resources/remoting_strings.grd', | 2331 'grit_grd_file': 'resources/remoting_strings.grd', |
2213 }, | 2332 }, |
2214 'includes': [ '../build/grit_action.gypi' ], | 2333 'includes': [ '../build/grit_action.gypi' ], |
2215 }, | 2334 }, |
2216 { | 2335 { |
2217 'action_name': 'common_resources', | 2336 'action_name': 'copy_locales', |
2218 'variables': { | 2337 'variables': { |
2219 'grit_grd_file': 'resources/common_resources.grd', | 2338 'copy_output_dir%': '<(PRODUCT_DIR)', |
2220 }, | 2339 }, |
2221 'includes': [ '../build/grit_action.gypi' ], | 2340 'inputs': [ |
2222 }, | 2341 'tools/build/remoting_copy_locales.py', |
2223 ], | 2342 '<!@pymod_do_main(remoting_copy_locales -i -p <(OS) -g <(grit_out_di
r) <(remoting_locales))' |
2224 'copies': [ | |
2225 # Copy results to the product directory. | |
2226 { | |
2227 'destination': '<(PRODUCT_DIR)/remoting_locales', | |
2228 'files': [ | |
2229 # Build the list of .pak files generated from remoting_strings.grd. | |
2230 '<!@pymod_do_main(remoting_localize --locale_output ' | |
2231 '"<(grit_out_dir)/remoting/resources/${pak_suffix}.pak" ' | |
2232 '--print_only <(remoting_locales))', | |
2233 ], | 2343 ], |
2234 }, | 2344 'outputs': [ |
2235 { | 2345 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output
_dir) <(remoting_locales))' |
2236 'destination': '<(PRODUCT_DIR)', | 2346 ], |
2237 'files': [ | 2347 'action': [ |
2238 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak', | 2348 'python', |
2239 ] | 2349 'tools/build/remoting_copy_locales.py', |
2240 }, | 2350 '-p', '<(OS)', |
| 2351 '-g', '<(grit_out_dir)', |
| 2352 '-x', '<(copy_output_dir)/.', |
| 2353 '<@(remoting_locales)', |
| 2354 ], |
| 2355 } |
2241 ], | 2356 ], |
2242 'includes': [ '../build/grit_target.gypi' ], | 2357 'includes': [ '../build/grit_target.gypi' ], |
2243 }, # end of target 'remoting_resources' | 2358 }, # end of target 'remoting_resources' |
2244 | 2359 |
2245 { | 2360 { |
2246 'target_name': 'remoting_base', | 2361 'target_name': 'remoting_base', |
2247 'type': 'static_library', | 2362 'type': 'static_library', |
2248 'variables': { 'enable_wexit_time_destructors': 1, }, | 2363 'variables': { 'enable_wexit_time_destructors': 1, }, |
2249 'dependencies': [ | 2364 'dependencies': [ |
2250 '../base/base.gyp:base', | 2365 '../base/base.gyp:base', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2284 'base/capabilities.cc', | 2399 'base/capabilities.cc', |
2285 'base/capabilities.h', | 2400 'base/capabilities.h', |
2286 'base/compound_buffer.cc', | 2401 'base/compound_buffer.cc', |
2287 'base/compound_buffer.h', | 2402 'base/compound_buffer.h', |
2288 'base/constants.cc', | 2403 'base/constants.cc', |
2289 'base/constants.h', | 2404 'base/constants.h', |
2290 'base/plugin_thread_task_runner.cc', | 2405 'base/plugin_thread_task_runner.cc', |
2291 'base/plugin_thread_task_runner.h', | 2406 'base/plugin_thread_task_runner.h', |
2292 'base/rate_counter.cc', | 2407 'base/rate_counter.cc', |
2293 'base/rate_counter.h', | 2408 'base/rate_counter.h', |
2294 'base/resources.cc', | |
2295 'base/resources.h', | 2409 'base/resources.h', |
| 2410 'base/resources_linux.cc', |
| 2411 'base/resources_mac.mm', |
| 2412 'base/resources_win.cc', |
2296 'base/rsa_key_pair.cc', | 2413 'base/rsa_key_pair.cc', |
2297 'base/rsa_key_pair.h', | 2414 'base/rsa_key_pair.h', |
2298 'base/running_average.cc', | 2415 'base/running_average.cc', |
2299 'base/running_average.h', | 2416 'base/running_average.h', |
2300 'base/socket_reader.cc', | 2417 'base/socket_reader.cc', |
2301 'base/socket_reader.h', | 2418 'base/socket_reader.h', |
2302 'base/typed_buffer.h', | 2419 'base/typed_buffer.h', |
2303 'base/url_request_context.cc', | 2420 'base/url_request_context.cc', |
2304 'base/url_request_context.h', | 2421 'base/url_request_context.h', |
2305 'base/util.cc', | 2422 'base/util.cc', |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2695 'include_dirs': [ | 2812 'include_dirs': [ |
2696 '../breakpad/src', | 2813 '../breakpad/src', |
2697 ], | 2814 ], |
2698 'link_settings': { | 2815 'link_settings': { |
2699 'libraries': [ | 2816 'libraries': [ |
2700 '-lrpcrt4.lib', | 2817 '-lrpcrt4.lib', |
2701 '-lwtsapi32.lib', | 2818 '-lwtsapi32.lib', |
2702 ], | 2819 ], |
2703 }, | 2820 }, |
2704 }], | 2821 }], |
| 2822 ['OS=="mac"', { |
| 2823 'mac_bundle': 1, |
| 2824 'xcode_settings': { |
| 2825 'INFOPLIST_FILE': 'unittests-Info.plist', |
| 2826 'INFOPLIST_PREPROCESS': 'YES', |
| 2827 }, |
| 2828 'mac_bundle_resources': [ |
| 2829 'unittests-Info.plist', |
| 2830 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR
) <(remoting_locales))', |
| 2831 ], |
| 2832 'mac_bundle_resources!': [ |
| 2833 'unittests-Info.plist', |
| 2834 ], |
| 2835 }], # OS=="mac" |
2705 ['OS=="mac" or (OS=="linux" and chromeos==0)', { | 2836 ['OS=="mac" or (OS=="linux" and chromeos==0)', { |
2706 # Javascript unittests are disabled on CrOS because they cause | 2837 # Javascript unittests are disabled on CrOS because they cause |
2707 # valgrind and test errors. | 2838 # valgrind and test errors. |
2708 # | 2839 # |
2709 # Javascript unittests are disabled on Windows because they add a | 2840 # Javascript unittests are disabled on Windows because they add a |
2710 # dependency on 'common_constants' which (only on Windows) requires | 2841 # dependency on 'common_constants' which (only on Windows) requires |
2711 # additional dependencies: | 2842 # additional dependencies: |
2712 # '../content/content.gyp:content_common', | 2843 # '../content/content.gyp:content_common', |
2713 # 'installer_util', | 2844 # 'installer_util', |
2714 # These targets are defined in .gypi files that would need to be | 2845 # These targets are defined in .gypi files that would need to be |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2761 '../base/allocator/allocator.gyp:allocator', | 2892 '../base/allocator/allocator.gyp:allocator', |
2762 ], | 2893 ], |
2763 }, | 2894 }, |
2764 ], | 2895 ], |
2765 ], | 2896 ], |
2766 }], # end of 'toolkit_uses_gtk == 1' | 2897 }], # end of 'toolkit_uses_gtk == 1' |
2767 ], # end of 'conditions' | 2898 ], # end of 'conditions' |
2768 }, # end of target 'remoting_unittests' | 2899 }, # end of target 'remoting_unittests' |
2769 ], # end of targets | 2900 ], # end of targets |
2770 } | 2901 } |
OLD | NEW |