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. | 49 # Use consistent strings across all platforms. |
51 # These values must match host/plugin/constants.h | 50 # These values must match host/plugin/constants.h |
52 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 51 '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 | 52 |
56 'conditions': [ | 53 'conditions': [ |
57 # Remoting host is supported only on Windows, OSX and Linux (with X11). | 54 # 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)',
{ | 55 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0 and use_x11==1)',
{ |
59 'enable_remoting_host': 1, | 56 'enable_remoting_host': 1, |
60 }, { | 57 }, { |
61 'enable_remoting_host': 0, | 58 'enable_remoting_host': 0, |
62 }], | 59 }], |
63 ['OS=="mac"', { | 60 ['OS=="mac"', { |
64 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_BUNDLE_ID@")', | 61 '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 | 90 # classes will be used during/after upgrade even if there are old |
94 # instances running already. | 91 # instances running already. |
95 # The parameter passed to uuidgen.py is ignored, but needed to make sure | 92 # 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 | 93 # that the script will be invoked separately for each CLSID. Otherwise |
97 # GYP will reuse the value returned by the first invocation of | 94 # GYP will reuse the value returned by the first invocation of |
98 # the script. | 95 # the script. |
99 'daemon_controller_clsid': '<!(python tools/uuidgen.py 1)', | 96 'daemon_controller_clsid': '<!(python tools/uuidgen.py 1)', |
100 'rdp_desktop_session_clsid': '<!(python tools/uuidgen.py 2)', | 97 'rdp_desktop_session_clsid': '<!(python tools/uuidgen.py 2)', |
101 }], | 98 }], |
102 ], | 99 ], |
| 100 |
103 'remoting_locales': [ | 101 'remoting_locales': [ |
104 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', | 102 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', |
105 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', | 103 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', |
106 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', | 104 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', |
107 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', | 105 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', |
108 'zh-CN', 'zh-TW', | 106 'zh-CN', 'zh-TW', |
109 ], | 107 ], |
| 108 'remoting_locale_files': [ |
| 109 # Build the list of .pak files generated from remoting_strings.grd. |
| 110 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x ' |
| 111 '<(PRODUCT_DIR) <(remoting_locales))', |
| 112 ], |
110 'remoting_webapp_locale_files': [ | 113 'remoting_webapp_locale_files': [ |
111 # Build the list of .json files generated from remoting_strings.grd. | 114 # Build the list of .json files generated from remoting_strings.grd. |
112 '<!@pymod_do_main(remoting_localize --locale_output ' | 115 '<!@pymod_do_main(remoting_localize --locale_output ' |
113 '"<(webapp_locale_dir)/${json_suffix}/messages.json" ' | 116 '"<(webapp_locale_dir)/@{json_suffix}/messages.json" ' |
114 '--print_only <(remoting_locales))', | 117 '--print_only <(remoting_locales))', |
115 ], | 118 ], |
116 'remoting_webapp_files': [ | 119 'remoting_webapp_files': [ |
117 'resources/chromoting16.webp', | 120 'resources/chromoting16.webp', |
118 'resources/chromoting48.webp', | 121 'resources/chromoting48.webp', |
119 'resources/chromoting128.webp', | 122 'resources/chromoting128.webp', |
120 'resources/disclosure_arrow_down.webp', | 123 'resources/disclosure_arrow_down.webp', |
121 'resources/disclosure_arrow_right.webp', | 124 'resources/disclosure_arrow_right.webp', |
122 'resources/host_setup_instructions.webp', | 125 'resources/host_setup_instructions.webp', |
123 'resources/icon_cross.webp', | 126 'resources/icon_cross.webp', |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 ['enable_remoting_host==1', { | 264 ['enable_remoting_host==1', { |
262 'targets': [ | 265 'targets': [ |
263 { | 266 { |
264 'target_name': 'remoting_host', | 267 'target_name': 'remoting_host', |
265 'type': 'static_library', | 268 'type': 'static_library', |
266 'variables': { 'enable_wexit_time_destructors': 1, }, | 269 'variables': { 'enable_wexit_time_destructors': 1, }, |
267 'dependencies': [ | 270 'dependencies': [ |
268 'remoting_base', | 271 'remoting_base', |
269 'remoting_jingle_glue', | 272 'remoting_jingle_glue', |
270 'remoting_protocol', | 273 'remoting_protocol', |
| 274 'remoting_resources', |
271 '../crypto/crypto.gyp:crypto', | 275 '../crypto/crypto.gyp:crypto', |
272 '../google_apis/google_apis.gyp:google_apis', | 276 '../google_apis/google_apis.gyp:google_apis', |
273 '../ipc/ipc.gyp:ipc', | 277 '../ipc/ipc.gyp:ipc', |
274 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 278 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
275 ], | 279 ], |
276 'defines': [ | 280 'defines': [ |
277 'VERSION=<(version_full)', | 281 'VERSION=<(version_full)', |
278 ], | 282 ], |
279 'sources': [ | 283 'sources': [ |
280 'host/audio_capturer.cc', | 284 'host/audio_capturer.cc', |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 'host/service_client.cc', | 427 'host/service_client.cc', |
424 'host/service_client.h', | 428 'host/service_client.h', |
425 'host/service_urls.cc', | 429 'host/service_urls.cc', |
426 'host/service_urls.h', | 430 'host/service_urls.h', |
427 'host/session_manager_factory.cc', | 431 'host/session_manager_factory.cc', |
428 'host/session_manager_factory.h', | 432 'host/session_manager_factory.h', |
429 'host/signaling_connector.cc', | 433 'host/signaling_connector.cc', |
430 'host/signaling_connector.h', | 434 'host/signaling_connector.h', |
431 'host/token_validator_factory_impl.cc', | 435 'host/token_validator_factory_impl.cc', |
432 'host/token_validator_factory_impl.h', | 436 'host/token_validator_factory_impl.h', |
433 'host/ui_strings.cc', | |
434 'host/ui_strings.h', | |
435 'host/usage_stats_consent.h', | 437 'host/usage_stats_consent.h', |
436 'host/usage_stats_consent_mac.cc', | 438 'host/usage_stats_consent_mac.cc', |
437 'host/usage_stats_consent_win.cc', | 439 'host/usage_stats_consent_win.cc', |
438 'host/video_scheduler.cc', | 440 'host/video_scheduler.cc', |
439 'host/video_scheduler.h', | 441 'host/video_scheduler.h', |
440 'host/win/com_security.cc', | 442 'host/win/com_security.cc', |
441 'host/win/com_security.h', | 443 'host/win/com_security.h', |
442 'host/win/launch_process_with_token.cc', | 444 'host/win/launch_process_with_token.cc', |
443 'host/win/launch_process_with_token.h', | 445 'host/win/launch_process_with_token.h', |
444 'host/win/omaha.cc', | 446 'host/win/omaha.cc', |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 }], | 633 }], |
632 ], | 634 ], |
633 }, # end of target 'remoting_host_setup_base' | 635 }, # end of target 'remoting_host_setup_base' |
634 | 636 |
635 { | 637 { |
636 'target_name': 'remoting_host_plugin', | 638 'target_name': 'remoting_host_plugin', |
637 'type': 'loadable_module', | 639 'type': 'loadable_module', |
638 'variables': { 'enable_wexit_time_destructors': 1, }, | 640 'variables': { 'enable_wexit_time_destructors': 1, }, |
639 'product_extension': '<(host_plugin_extension)', | 641 'product_extension': '<(host_plugin_extension)', |
640 'product_prefix': '<(host_plugin_prefix)', | 642 'product_prefix': '<(host_plugin_prefix)', |
| 643 'defines': [ |
| 644 'HOST_PLUGIN_MIME_TYPE="<(host_plugin_mime_type)"', |
| 645 ], |
641 'dependencies': [ | 646 'dependencies': [ |
642 '../net/net.gyp:net', | 647 '../net/net.gyp:net', |
643 '../third_party/npapi/npapi.gyp:npapi', | 648 '../third_party/npapi/npapi.gyp:npapi', |
644 'remoting_base', | 649 'remoting_base', |
645 'remoting_host', | 650 'remoting_host', |
646 'remoting_host_event_logger', | 651 'remoting_host_event_logger', |
647 'remoting_host_logging', | 652 'remoting_host_logging', |
| 653 'remoting_infoplist_strings', |
648 'remoting_host_setup_base', | 654 'remoting_host_setup_base', |
649 'remoting_jingle_glue', | 655 'remoting_jingle_glue', |
| 656 'remoting_resources', |
650 ], | 657 ], |
651 'sources': [ | 658 'sources': [ |
652 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | |
653 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | |
654 'base/dispatch_win.h', | 659 'base/dispatch_win.h', |
655 'host/plugin/host_log_handler.cc', | 660 'host/plugin/host_log_handler.cc', |
656 'host/plugin/host_log_handler.h', | 661 'host/plugin/host_log_handler.h', |
657 'host/plugin/host_plugin.cc', | 662 'host/plugin/host_plugin.cc', |
658 'host/plugin/host_plugin_utils.cc', | 663 'host/plugin/host_plugin_utils.cc', |
659 'host/plugin/host_plugin_utils.h', | 664 'host/plugin/host_plugin_utils.h', |
660 'host/plugin/host_script_object.cc', | 665 'host/plugin/host_script_object.cc', |
661 'host/plugin/host_script_object.h', | 666 'host/plugin/host_script_object.h', |
662 'host/win/core_resource.h', | 667 'host/win/core_resource.h', |
663 ], | 668 ], |
664 'conditions': [ | 669 'conditions': [ |
665 ['OS=="mac"', { | 670 ['OS=="mac"', { |
666 'mac_bundle': 1, | 671 'mac_bundle': 1, |
667 'xcode_settings': { | 672 'xcode_settings': { |
668 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 673 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
669 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 674 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
670 'INFOPLIST_PREPROCESS': 'YES', | 675 'INFOPLIST_PREPROCESS': 'YES', |
671 # 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 |
672 # duplicate string once | 677 # duplicate string once |
673 # 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. |
674 '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)"', |
675 }, | 680 }, |
676 # 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 |
677 # 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 |
678 # three times it is listed here. | 683 # three times it is listed here. |
679 'mac_bundle_resources': [ | 684 'mac_bundle_resources': [ |
680 'host/disconnect_window.xib', | 685 'host/disconnect_window.xib', |
681 'host/plugin/host_plugin-Info.plist', | 686 'host/plugin/host_plugin-Info.plist', |
682 'resources/chromoting16.png', | 687 'resources/chromoting16.png', |
683 'resources/chromoting48.png', | 688 'resources/chromoting48.png', |
684 '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))', |
685 ], | 696 ], |
686 'mac_bundle_resources!': [ | 697 'mac_bundle_resources!': [ |
687 'host/plugin/host_plugin-Info.plist', | 698 'host/plugin/host_plugin-Info.plist', |
688 ], | 699 ], |
689 'conditions': [ | 700 'conditions': [ |
690 ['mac_breakpad==1', { | 701 ['mac_breakpad==1', { |
691 'variables': { | 702 'variables': { |
692 # A real .dSYM is needed for dump_syms to operate on. | 703 # A real .dSYM is needed for dump_syms to operate on. |
693 'mac_real_dsym': 1, | 704 'mac_real_dsym': 1, |
694 }, | 705 }, |
695 }], | 706 }], |
696 ], # conditions | 707 ], # conditions |
697 }], # OS=="mac" | 708 }], # OS=="mac" |
698 [ 'OS=="win"', { | 709 [ 'OS=="win"', { |
699 'defines': [ | 710 'defines': [ |
700 'BINARY=BINARY_HOST_PLUGIN', | 711 'BINARY=BINARY_HOST_PLUGIN', |
701 'ISOLATION_AWARE_ENABLED=1', | 712 'ISOLATION_AWARE_ENABLED=1', |
702 ], | 713 ], |
703 'dependencies': [ | 714 'dependencies': [ |
704 'remoting_lib_idl', | 715 'remoting_lib_idl', |
705 'remoting_core_resources', | 716 'remoting_core_resources', |
706 'remoting_version_resources', | 717 'remoting_version_resources', |
707 ], | 718 ], |
708 'include_dirs': [ | 719 'include_dirs': [ |
709 '<(INTERMEDIATE_DIR)', | 720 '<(INTERMEDIATE_DIR)', |
710 ], | 721 ], |
711 'sources': [ | 722 'sources': [ |
| 723 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
| 724 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
712 'host/plugin/host_plugin.def', | 725 'host/plugin/host_plugin.def', |
713 ], | 726 ], |
714 'msvs_settings': { | 727 'msvs_settings': { |
715 'VCManifestTool': { | 728 'VCManifestTool': { |
716 'EmbedManifest': 'true', | 729 'EmbedManifest': 'true', |
717 }, | 730 }, |
718 'VCLinkerTool': { | 731 'VCLinkerTool': { |
719 'AdditionalOptions': [ | 732 'AdditionalOptions': [ |
720 "\"/manifestdependency:type='win32' " | 733 "\"/manifestdependency:type='win32' " |
721 "name='Microsoft.Windows.Common-Controls' " | 734 "name='Microsoft.Windows.Common-Controls' " |
722 "version='6.0.0.0' " | 735 "version='6.0.0.0' " |
723 "processorArchitecture='*' " | 736 "processorArchitecture='*' " |
724 "publicKeyToken='6595b64144ccf1df' language='*'\"", | 737 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
725 ], | 738 ], |
726 }, | 739 }, |
727 }, | 740 }, |
728 }], | 741 }], |
729 ], | 742 ], |
730 }, # 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' |
731 | 841 |
732 { | 842 { |
733 'target_name': 'remoting_native_messaging_host', | 843 'target_name': 'remoting_native_messaging_host', |
734 'type': 'executable', | 844 'type': 'executable', |
735 'variables': { 'enable_wexit_time_destructors': 1, }, | 845 'variables': { 'enable_wexit_time_destructors': 1, }, |
736 'dependencies': [ | 846 'dependencies': [ |
737 '../base/base.gyp:base', | 847 '../base/base.gyp:base', |
738 'remoting_host', | 848 'remoting_host', |
739 'remoting_host_logging', | 849 'remoting_host_logging', |
740 'remoting_host_setup_base', | 850 'remoting_host_setup_base', |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 'dependencies': [ | 948 'dependencies': [ |
839 '../base/base.gyp:base', | 949 '../base/base.gyp:base', |
840 '../base/base.gyp:base_i18n', | 950 '../base/base.gyp:base_i18n', |
841 '../net/net.gyp:net', | 951 '../net/net.gyp:net', |
842 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 952 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
843 'remoting_base', | 953 'remoting_base', |
844 'remoting_breakpad', | 954 'remoting_breakpad', |
845 'remoting_host', | 955 'remoting_host', |
846 'remoting_host_event_logger', | 956 'remoting_host_event_logger', |
847 'remoting_host_logging', | 957 'remoting_host_logging', |
| 958 'remoting_infoplist_strings', |
848 'remoting_jingle_glue', | 959 'remoting_jingle_glue', |
849 'remoting_me2me_host_static', | 960 'remoting_me2me_host_static', |
850 ], | 961 ], |
851 'defines': [ | 962 'defines': [ |
852 'VERSION=<(version_full)', | 963 'VERSION=<(version_full)', |
853 ], | 964 ], |
854 'sources': [ | 965 'sources': [ |
855 'host/host_main.cc', | 966 'host/host_main.cc', |
856 'host/host_main.h', | 967 'host/host_main.h', |
857 'host/remoting_me2me_host.cc', | 968 'host/remoting_me2me_host.cc', |
858 ], | 969 ], |
859 'conditions': [ | 970 'conditions': [ |
860 ['OS=="mac"', { | 971 ['OS=="mac"', { |
861 'mac_bundle': 1, | 972 'mac_bundle': 1, |
862 'variables': { | 973 'variables': { |
863 '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@")', |
864 }, | 975 }, |
865 'xcode_settings': { | 976 'xcode_settings': { |
866 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', | 977 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', |
867 'INFOPLIST_PREPROCESS': 'YES', | 978 'INFOPLIST_PREPROCESS': 'YES', |
868 '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)"', |
869 }, | 980 }, |
870 'mac_bundle_resources': [ | 981 'mac_bundle_resources': [ |
871 'host/disconnect_window.xib', | 982 'host/disconnect_window.xib', |
872 'host/remoting_me2me_host.icns', | 983 'host/remoting_me2me_host.icns', |
873 '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))', |
874 ], | 991 ], |
875 'mac_bundle_resources!': [ | 992 'mac_bundle_resources!': [ |
876 'host/remoting_me2me_host-Info.plist', | 993 'host/remoting_me2me_host-Info.plist', |
877 ], | 994 ], |
878 'conditions': [ | 995 'conditions': [ |
879 ['mac_breakpad==1', { | 996 ['mac_breakpad==1', { |
880 'variables': { | 997 'variables': { |
881 # A real .dSYM is needed for dump_syms to operate on. | 998 # A real .dSYM is needed for dump_syms to operate on. |
882 'mac_real_dsym': 1, | 999 'mac_real_dsym': 1, |
883 }, | 1000 }, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 }], # 'OS=="linux"' | 1097 }], # 'OS=="linux"' |
981 | 1098 |
982 ['OS=="mac"', { | 1099 ['OS=="mac"', { |
983 'targets': [ | 1100 'targets': [ |
984 { | 1101 { |
985 'target_name': 'remoting_host_uninstaller', | 1102 'target_name': 'remoting_host_uninstaller', |
986 'type': 'executable', | 1103 'type': 'executable', |
987 'mac_bundle': 1, | 1104 'mac_bundle': 1, |
988 'variables': { | 1105 'variables': { |
989 '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@")', |
990 'bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t
"@MAC_UNINSTALLER_BUNDLE_NAME@")', | |
991 }, | 1107 }, |
992 'dependencies': [ | 1108 'dependencies': [ |
993 '<(DEPTH)/base/base.gyp:base', | 1109 '<(DEPTH)/base/base.gyp:base', |
| 1110 'remoting_infoplist_strings', |
994 ], | 1111 ], |
995 'sources': [ | 1112 'sources': [ |
996 'host/constants_mac.cc', | 1113 'host/constants_mac.cc', |
997 'host/constants_mac.h', | 1114 'host/constants_mac.h', |
998 'host/installer/mac/uninstaller/remoting_uninstaller.h', | 1115 'host/installer/mac/uninstaller/remoting_uninstaller.h', |
999 'host/installer/mac/uninstaller/remoting_uninstaller.mm', | 1116 'host/installer/mac/uninstaller/remoting_uninstaller.mm', |
1000 'host/installer/mac/uninstaller/remoting_uninstaller_app.h', | 1117 'host/installer/mac/uninstaller/remoting_uninstaller_app.h', |
1001 'host/installer/mac/uninstaller/remoting_uninstaller_app.mm', | 1118 'host/installer/mac/uninstaller/remoting_uninstaller_app.mm', |
1002 ], | 1119 ], |
1003 'xcode_settings': { | 1120 'xcode_settings': { |
1004 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall
er-Info.plist', | 1121 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall
er-Info.plist', |
1005 'INFOPLIST_PREPROCESS': 'YES', | 1122 'INFOPLIST_PREPROCESS': 'YES', |
1006 '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)"', |
1007 }, | 1124 }, |
1008 'mac_bundle_resources': [ | 1125 'mac_bundle_resources': [ |
1009 'host/installer/mac/uninstaller/remoting_uninstaller.icns', | 1126 'host/installer/mac/uninstaller/remoting_uninstaller.icns', |
1010 'host/installer/mac/uninstaller/remoting_uninstaller.xib', | 1127 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |
1011 '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))', |
1012 ], | 1134 ], |
1013 'mac_bundle_resources!': [ | 1135 'mac_bundle_resources!': [ |
1014 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 1136 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
1015 ], | 1137 ], |
1016 }, # end of target 'remoting_host_uninstaller' | 1138 }, # end of target 'remoting_host_uninstaller' |
1017 | 1139 |
1018 # 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 |
1019 # they can be sent off to be signed. | 1141 # they can be sent off to be signed. |
1020 # 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
. |
1021 { | 1143 { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 'Applications/<(host_uninstaller_name).app', | 1175 'Applications/<(host_uninstaller_name).app', |
1054 ], | 1176 ], |
1055 'source_files': [ | 1177 'source_files': [ |
1056 '<@(remoting_host_installer_mac_files)', | 1178 '<@(remoting_host_installer_mac_files)', |
1057 ], | 1179 ], |
1058 'defs': [ | 1180 'defs': [ |
1059 'VERSION=<(version_full)', | 1181 'VERSION=<(version_full)', |
1060 'VERSION_SHORT=<(version_short)', | 1182 'VERSION_SHORT=<(version_short)', |
1061 'VERSION_MAJOR=<(version_major)', | 1183 'VERSION_MAJOR=<(version_major)', |
1062 'VERSION_MINOR=<(version_minor)', | 1184 'VERSION_MINOR=<(version_minor)', |
1063 'COPYRIGHT_INFO=<(copyright_info)', | |
1064 'HOST_NAME=<(host_name)', | 1185 'HOST_NAME=<(host_name)', |
1065 'HOST_SERVICE_NAME=<(host_service_name)', | 1186 'HOST_SERVICE_NAME=<(host_service_name)', |
1066 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', | 1187 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', |
1067 'HOST_PKG=<(host_name)', | 1188 'HOST_PKG=<(host_name)', |
1068 'HOST_SERVICE_PKG=<(host_service_name_nospace)', | 1189 'HOST_SERVICE_PKG=<(host_service_name_nospace)', |
1069 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', | 1190 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', |
1070 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', | 1191 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', |
1071 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos
pace)', | 1192 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos
pace)', |
1072 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_
name_nospace)', | 1193 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_
name_nospace)', |
1073 'DMG_VOLUME_NAME=<(host_name) <(version_full)', | 1194 'DMG_VOLUME_NAME=<(host_name) <(version_full)', |
(...skipping 27 matching lines...) Expand all Loading... |
1101 }, # end of target 'remoting_me2me_host_archive' | 1222 }, # end of target 'remoting_me2me_host_archive' |
1102 | 1223 |
1103 { | 1224 { |
1104 'target_name': 'remoting_host_prefpane', | 1225 'target_name': 'remoting_host_prefpane', |
1105 'type': 'loadable_module', | 1226 'type': 'loadable_module', |
1106 'mac_bundle': 1, | 1227 'mac_bundle': 1, |
1107 'product_extension': 'prefPane', | 1228 'product_extension': 'prefPane', |
1108 'defines': [ | 1229 'defines': [ |
1109 'JSON_USE_EXCEPTION=0', | 1230 'JSON_USE_EXCEPTION=0', |
1110 ], | 1231 ], |
| 1232 'dependencies': [ |
| 1233 'remoting_infoplist_strings', |
| 1234 ], |
1111 'include_dirs': [ | 1235 'include_dirs': [ |
1112 '../third_party/jsoncpp/overrides/include/', | 1236 '../third_party/jsoncpp/overrides/include/', |
1113 '../third_party/jsoncpp/source/include/', | 1237 '../third_party/jsoncpp/source/include/', |
1114 '../third_party/jsoncpp/source/src/lib_json/', | 1238 '../third_party/jsoncpp/source/src/lib_json/', |
1115 ], | 1239 ], |
1116 | 1240 |
1117 # These source files are included directly, instead of adding target | 1241 # These source files are included directly, instead of adding target |
1118 # 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 |
1119 # Mac OS X - http://crbug.com/125116. | 1243 # Mac OS X - http://crbug.com/125116. |
1120 # | 1244 # |
(...skipping 17 matching lines...) Expand all Loading... |
1138 'link_settings': { | 1262 'link_settings': { |
1139 'libraries': [ | 1263 'libraries': [ |
1140 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 1264 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
1141 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 1265 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
1142 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', | 1266 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
1143 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 1267 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
1144 ], | 1268 ], |
1145 }, | 1269 }, |
1146 'variables': { | 1270 'variables': { |
1147 '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@")', |
1148 'bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t
"@MAC_PREFPANE_BUNDLE_NAME@")', | |
1149 # The XML new-line entity splits the label into two lines, which | |
1150 # is the maximum number of lines allowed by the System Preferences | |
1151 # applet. | |
1152 # TODO(lambroslambrou): When these strings are localized, use "\n" | |
1153 # instead of "
" for linebreaks. | |
1154 'pref_pane_icon_label': '<!(python <(version_py_path) -f <(branding_
path) -t "@MAC_PREFPANE_ICON_LABEL@")', | |
1155 }, | 1272 }, |
1156 'xcode_settings': { | 1273 'xcode_settings': { |
1157 'ARCHS': ['i386', 'x86_64'], | 1274 'ARCHS': ['i386', 'x86_64'], |
1158 'GCC_ENABLE_OBJC_GC': 'supported', | 1275 'GCC_ENABLE_OBJC_GC': 'supported', |
1159 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', | 1276 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', |
1160 'INFOPLIST_PREPROCESS': 'YES', | 1277 'INFOPLIST_PREPROCESS': 'YES', |
1161 '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)"', |
1162 }, | 1279 }, |
1163 'mac_bundle_resources': [ | 1280 'mac_bundle_resources': [ |
1164 'host/mac/me2me_preference_pane.xib', | 1281 'host/mac/me2me_preference_pane.xib', |
1165 'host/mac/me2me_preference_pane_confirm_pin.xib', | 1282 'host/mac/me2me_preference_pane_confirm_pin.xib', |
1166 'host/mac/me2me_preference_pane_disable.xib', | 1283 'host/mac/me2me_preference_pane_disable.xib', |
1167 'host/mac/me2me_preference_pane-Info.plist', | 1284 'host/mac/me2me_preference_pane-Info.plist', |
1168 '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))', |
1169 ], | 1291 ], |
1170 'mac_bundle_resources!': [ | 1292 'mac_bundle_resources!': [ |
1171 'host/mac/me2me_preference_pane-Info.plist', | 1293 'host/mac/me2me_preference_pane-Info.plist', |
1172 ], | 1294 ], |
1173 'conditions': [ | 1295 'conditions': [ |
1174 ['mac_breakpad==1', { | 1296 ['mac_breakpad==1', { |
1175 'variables': { | 1297 'variables': { |
1176 # A real .dSYM is needed for dump_syms to operate on. | 1298 # A real .dSYM is needed for dump_syms to operate on. |
1177 'mac_real_dsym': 1, | 1299 'mac_real_dsym': 1, |
1178 }, | 1300 }, |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2020 ], | 2142 ], |
2021 'remoting_webapp_apps_v2_js_files': [ | 2143 'remoting_webapp_apps_v2_js_files': [ |
2022 'webapp/background.js', | 2144 'webapp/background.js', |
2023 'webapp/identity.js', | 2145 'webapp/identity.js', |
2024 ], | 2146 ], |
2025 }, | 2147 }, |
2026 'dependencies': [ | 2148 'dependencies': [ |
2027 'remoting_resources', | 2149 'remoting_resources', |
2028 'remoting_host_plugin', | 2150 'remoting_host_plugin', |
2029 ], | 2151 ], |
2030 'sources': [ | 2152 'locale_files': [ |
2031 'webapp/build-webapp.py', | |
2032 '<(remoting_version_path)', | |
2033 '<(chrome_version_path)', | |
2034 '<@(remoting_webapp_apps_v2_js_files)', | |
2035 '<@(remoting_webapp_files)', | |
2036 '<@(remoting_webapp_js_files)', | |
2037 '<@(remoting_webapp_locale_files)', | 2153 '<@(remoting_webapp_locale_files)', |
2038 '<@(remoting_webapp_patch_files)', | |
2039 ], | 2154 ], |
2040 'conditions': [ | 2155 'conditions': [ |
2041 ['enable_remoting_host==1', { | 2156 ['enable_remoting_host==1', { |
| 2157 'locale_files': [ |
| 2158 '<@(remoting_locale_files)', |
| 2159 ], |
2042 'variables': { | 2160 'variables': { |
2043 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_
plugin.<(host_plugin_extension)', | 2161 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_
plugin.<(host_plugin_extension)', |
2044 }, | 2162 }, |
2045 }, { | 2163 }, { |
2046 'variables': { | 2164 'variables': { |
2047 'plugin_path': '', | 2165 'plugin_path': '', |
2048 }, | 2166 }, |
2049 'dependencies!': [ | 2167 'dependencies!': [ |
2050 'remoting_host_plugin', | 2168 'remoting_host_plugin', |
2051 ], | 2169 ], |
2052 }], | 2170 }], |
2053 ], | 2171 ], |
2054 'actions': [ | 2172 'actions': [ |
2055 { | 2173 { |
2056 'action_name': 'Build Remoting WebApp', | 2174 'action_name': 'Build Remoting WebApp', |
2057 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 2175 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
2058 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 2176 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
2059 'inputs': [ | 2177 'inputs': [ |
2060 'webapp/build-webapp.py', | 2178 'webapp/build-webapp.py', |
2061 '<(chrome_version_path)', | 2179 '<(chrome_version_path)', |
2062 '<(remoting_version_path)', | 2180 '<(remoting_version_path)', |
2063 '<@(remoting_webapp_files)', | 2181 '<@(remoting_webapp_files)', |
2064 '<@(remoting_webapp_js_files)', | 2182 '<@(remoting_webapp_js_files)', |
2065 '<@(remoting_webapp_locale_files)', | 2183 '<@(_locale_files)', |
2066 ], | 2184 ], |
2067 'conditions': [ | 2185 'conditions': [ |
2068 ['enable_remoting_host==1', { | 2186 ['enable_remoting_host==1', { |
2069 'inputs': [ | 2187 'inputs': [ |
2070 '<(plugin_path)', | 2188 '<(plugin_path)', |
2071 ], | 2189 ], |
2072 }], | 2190 }], |
2073 ], | 2191 ], |
2074 'outputs': [ | 2192 'outputs': [ |
2075 '<(_output_dir)', | 2193 '<(_output_dir)', |
2076 '<(_zip_path)', | 2194 '<(_zip_path)', |
2077 ], | 2195 ], |
2078 'action': [ | 2196 'action': [ |
2079 'python', 'webapp/build-webapp.py', | 2197 'python', 'webapp/build-webapp.py', |
2080 '<(buildtype)', | 2198 '<(buildtype)', |
2081 '<(version_full)', | 2199 '<(version_full)', |
2082 '<(host_plugin_mime_type)', | 2200 '<(host_plugin_mime_type)', |
2083 '<(_output_dir)', | 2201 '<(_output_dir)', |
2084 '<(_zip_path)', | 2202 '<(_zip_path)', |
2085 '<(plugin_path)', | 2203 '<(plugin_path)', |
2086 '<@(remoting_webapp_files)', | 2204 '<@(remoting_webapp_files)', |
2087 '<@(remoting_webapp_js_files)', | 2205 '<@(remoting_webapp_js_files)', |
2088 '--locales', | 2206 '--locales', |
2089 '<@(remoting_webapp_locale_files)', | 2207 '<@(_locale_files)', |
2090 ], | 2208 ], |
2091 'msvs_cygwin_shell': 1, | 2209 'msvs_cygwin_shell': 1, |
2092 }, | 2210 }, |
2093 ], | 2211 ], |
2094 'target_conditions': [ | 2212 'target_conditions': [ |
2095 # We cannot currently build the appsv2 version of WebApp on Windows as | 2213 # We cannot currently build the appsv2 version of WebApp on Windows as |
2096 # there isn't a version of the "patch" tool available on windows. We | 2214 # there isn't a version of the "patch" tool available on windows. We |
2097 # should remove this condition when we remove the reliance on the 'patch
'. | 2215 # should remove this condition when we remove the reliance on the 'patch
'. |
2098 | 2216 |
2099 # We define this in a 'target_conditions' section because 'plugin_path' | 2217 # We define this in a 'target_conditions' section because 'plugin_path' |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2150 }, # end of target 'remoting_webapp' | 2268 }, # end of target 'remoting_webapp' |
2151 | 2269 |
2152 { | 2270 { |
2153 'target_name': 'remoting_resources', | 2271 'target_name': 'remoting_resources', |
2154 'type': 'none', | 2272 'type': 'none', |
2155 'variables': { | 2273 'variables': { |
2156 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2274 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
2157 'grit_resource_ids': 'resources/resource_ids', | 2275 'grit_resource_ids': 'resources/resource_ids', |
2158 'sources': [ | 2276 'sources': [ |
2159 'base/resources_unittest.cc', | 2277 'base/resources_unittest.cc', |
2160 'host/plugin/host_script_object.cc', | 2278 'host/continue_window_mac.mm', |
| 2279 'host/disconnect_window_mac.mm', |
| 2280 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings
.jinja2', |
| 2281 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', |
| 2282 'host/plugin/host_plugin-InfoPlist.strings.jinja2', |
2161 'host/win/core.rc.jinja2', | 2283 'host/win/core.rc.jinja2', |
2162 'host/win/host_messages.mc.jinja2', | 2284 'host/win/host_messages.mc.jinja2', |
2163 'host/win/version.rc.jinja2', | 2285 'host/win/version.rc.jinja2', |
2164 'webapp/butter_bar.js', | 2286 'webapp/butter_bar.js', |
2165 'webapp/client_screen.js', | 2287 'webapp/client_screen.js', |
2166 'webapp/error.js', | 2288 'webapp/error.js', |
2167 'webapp/host_list.js', | 2289 'webapp/host_list.js', |
| 2290 'webapp/host_setup_dialog.js', |
2168 'webapp/host_table_entry.js', | 2291 'webapp/host_table_entry.js', |
2169 'webapp/host_setup_dialog.js', | |
2170 'webapp/main.html', | 2292 'webapp/main.html', |
2171 'webapp/manifest.json', | 2293 'webapp/manifest.json', |
2172 'webapp/paired_client_manager.js', | 2294 'webapp/paired_client_manager.js', |
2173 'webapp/remoting.js', | 2295 'webapp/remoting.js', |
2174 ], | 2296 ], |
2175 }, | 2297 }, |
2176 'actions': [ | 2298 'actions': [ |
2177 { | 2299 { |
2178 'action_name': 'verify_resources', | 2300 'action_name': 'verify_resources', |
2179 'inputs': [ | 2301 'inputs': [ |
2180 'resources/remoting_strings.grd', | 2302 'resources/remoting_strings.grd', |
2181 'resources/common_resources.grd', | |
2182 'tools/verify_resources.py', | 2303 'tools/verify_resources.py', |
2183 '<@(sources)' | 2304 '<@(sources)' |
2184 ], | 2305 ], |
2185 'outputs': [ | 2306 'outputs': [ |
2186 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2307 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
2187 ], | 2308 ], |
2188 'action': [ | 2309 'action': [ |
2189 'python', | 2310 'python', |
2190 'tools/verify_resources.py', | 2311 'tools/verify_resources.py', |
2191 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2312 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
2192 '-r', 'resources/remoting_strings.grd', | 2313 '-r', 'resources/remoting_strings.grd', |
2193 '-r', 'resources/common_resources.grd', | |
2194 '<@(sources)', | 2314 '<@(sources)', |
2195 ], | 2315 ], |
2196 }, | 2316 }, |
2197 { | 2317 { |
2198 'action_name': 'remoting_strings', | 2318 'action_name': 'remoting_strings', |
2199 'variables': { | 2319 'variables': { |
2200 'grit_grd_file': 'resources/remoting_strings.grd', | 2320 'grit_grd_file': 'resources/remoting_strings.grd', |
2201 }, | 2321 }, |
2202 'includes': [ '../build/grit_action.gypi' ], | 2322 'includes': [ '../build/grit_action.gypi' ], |
2203 }, | 2323 }, |
2204 { | 2324 { |
2205 'action_name': 'common_resources', | 2325 'action_name': 'copy_locales', |
2206 'variables': { | 2326 'variables': { |
2207 'grit_grd_file': 'resources/common_resources.grd', | 2327 'copy_output_dir%': '<(PRODUCT_DIR)', |
2208 }, | 2328 }, |
2209 'includes': [ '../build/grit_action.gypi' ], | 2329 'inputs': [ |
2210 }, | 2330 'tools/build/remoting_copy_locales.py', |
2211 ], | 2331 '<!@pymod_do_main(remoting_copy_locales -i -p <(OS) -g <(grit_out_di
r) <(remoting_locales))' |
2212 'copies': [ | |
2213 # Copy results to the product directory. | |
2214 { | |
2215 'destination': '<(PRODUCT_DIR)/remoting_locales', | |
2216 'files': [ | |
2217 # Build the list of .pak files generated from remoting_strings.grd. | |
2218 '<!@pymod_do_main(remoting_localize --locale_output ' | |
2219 '"<(grit_out_dir)/remoting/resources/${pak_suffix}.pak" ' | |
2220 '--print_only <(remoting_locales))', | |
2221 ], | 2332 ], |
2222 }, | 2333 'outputs': [ |
2223 { | 2334 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output
_dir) <(remoting_locales))' |
2224 'destination': '<(PRODUCT_DIR)', | 2335 ], |
2225 'files': [ | 2336 'action': [ |
2226 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak', | 2337 'python', |
2227 ] | 2338 'tools/build/remoting_copy_locales.py', |
2228 }, | 2339 '-p', '<(OS)', |
| 2340 '-g', '<(grit_out_dir)', |
| 2341 '-x', '<(copy_output_dir)/.', |
| 2342 '<@(remoting_locales)', |
| 2343 ], |
| 2344 } |
2229 ], | 2345 ], |
2230 'includes': [ '../build/grit_target.gypi' ], | 2346 'includes': [ '../build/grit_target.gypi' ], |
2231 }, # end of target 'remoting_resources' | 2347 }, # end of target 'remoting_resources' |
2232 | 2348 |
2233 { | 2349 { |
2234 'target_name': 'remoting_base', | 2350 'target_name': 'remoting_base', |
2235 'type': 'static_library', | 2351 'type': 'static_library', |
2236 'variables': { 'enable_wexit_time_destructors': 1, }, | 2352 'variables': { 'enable_wexit_time_destructors': 1, }, |
2237 'dependencies': [ | 2353 'dependencies': [ |
2238 '../base/base.gyp:base', | 2354 '../base/base.gyp:base', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2272 'base/capabilities.cc', | 2388 'base/capabilities.cc', |
2273 'base/capabilities.h', | 2389 'base/capabilities.h', |
2274 'base/compound_buffer.cc', | 2390 'base/compound_buffer.cc', |
2275 'base/compound_buffer.h', | 2391 'base/compound_buffer.h', |
2276 'base/constants.cc', | 2392 'base/constants.cc', |
2277 'base/constants.h', | 2393 'base/constants.h', |
2278 'base/plugin_thread_task_runner.cc', | 2394 'base/plugin_thread_task_runner.cc', |
2279 'base/plugin_thread_task_runner.h', | 2395 'base/plugin_thread_task_runner.h', |
2280 'base/rate_counter.cc', | 2396 'base/rate_counter.cc', |
2281 'base/rate_counter.h', | 2397 'base/rate_counter.h', |
2282 'base/resources.cc', | |
2283 'base/resources.h', | 2398 'base/resources.h', |
| 2399 'base/resources_linux.cc', |
| 2400 'base/resources_mac.mm', |
| 2401 'base/resources_win.cc', |
2284 'base/rsa_key_pair.cc', | 2402 'base/rsa_key_pair.cc', |
2285 'base/rsa_key_pair.h', | 2403 'base/rsa_key_pair.h', |
2286 'base/running_average.cc', | 2404 'base/running_average.cc', |
2287 'base/running_average.h', | 2405 'base/running_average.h', |
2288 'base/socket_reader.cc', | 2406 'base/socket_reader.cc', |
2289 'base/socket_reader.h', | 2407 'base/socket_reader.h', |
2290 'base/typed_buffer.h', | 2408 'base/typed_buffer.h', |
2291 'base/url_request_context.cc', | 2409 'base/url_request_context.cc', |
2292 'base/url_request_context.h', | 2410 'base/url_request_context.h', |
2293 'base/util.cc', | 2411 'base/util.cc', |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2683 'include_dirs': [ | 2801 'include_dirs': [ |
2684 '../breakpad/src', | 2802 '../breakpad/src', |
2685 ], | 2803 ], |
2686 'link_settings': { | 2804 'link_settings': { |
2687 'libraries': [ | 2805 'libraries': [ |
2688 '-lrpcrt4.lib', | 2806 '-lrpcrt4.lib', |
2689 '-lwtsapi32.lib', | 2807 '-lwtsapi32.lib', |
2690 ], | 2808 ], |
2691 }, | 2809 }, |
2692 }], | 2810 }], |
| 2811 ['OS=="mac"', { |
| 2812 'mac_bundle': 1, |
| 2813 'xcode_settings': { |
| 2814 'INFOPLIST_FILE': 'unittests-Info.plist', |
| 2815 'INFOPLIST_PREPROCESS': 'YES', |
| 2816 }, |
| 2817 'mac_bundle_resources': [ |
| 2818 'unittests-Info.plist', |
| 2819 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR
) <(remoting_locales))', |
| 2820 ], |
| 2821 'mac_bundle_resources!': [ |
| 2822 'unittests-Info.plist', |
| 2823 ], |
| 2824 }], # OS=="mac" |
2693 ['OS=="mac" or (OS=="linux" and chromeos==0)', { | 2825 ['OS=="mac" or (OS=="linux" and chromeos==0)', { |
2694 # Javascript unittests are disabled on CrOS because they cause | 2826 # Javascript unittests are disabled on CrOS because they cause |
2695 # valgrind and test errors. | 2827 # valgrind and test errors. |
2696 # | 2828 # |
2697 # Javascript unittests are disabled on Windows because they add a | 2829 # Javascript unittests are disabled on Windows because they add a |
2698 # dependency on 'common_constants' which (only on Windows) requires | 2830 # dependency on 'common_constants' which (only on Windows) requires |
2699 # additional dependencies: | 2831 # additional dependencies: |
2700 # '../content/content.gyp:content_common', | 2832 # '../content/content.gyp:content_common', |
2701 # 'installer_util', | 2833 # 'installer_util', |
2702 # These targets are defined in .gypi files that would need to be | 2834 # 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... |
2749 '../base/allocator/allocator.gyp:allocator', | 2881 '../base/allocator/allocator.gyp:allocator', |
2750 ], | 2882 ], |
2751 }, | 2883 }, |
2752 ], | 2884 ], |
2753 ], | 2885 ], |
2754 }], # end of 'toolkit_uses_gtk == 1' | 2886 }], # end of 'toolkit_uses_gtk == 1' |
2755 ], # end of 'conditions' | 2887 ], # end of 'conditions' |
2756 }, # end of target 'remoting_unittests' | 2888 }, # end of target 'remoting_unittests' |
2757 ], # end of targets | 2889 ], # end of targets |
2758 } | 2890 } |
OLD | NEW |