| 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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2020 'webapp/appsv2.patch', | 2141 'webapp/appsv2.patch', |
| 2021 ], | 2142 ], |
| 2022 'remoting_webapp_apps_v2_js_files': [ | 2143 'remoting_webapp_apps_v2_js_files': [ |
| 2023 'webapp/background.js', | 2144 'webapp/background.js', |
| 2024 ], | 2145 ], |
| 2025 }, | 2146 }, |
| 2026 'dependencies': [ | 2147 'dependencies': [ |
| 2027 'remoting_resources', | 2148 'remoting_resources', |
| 2028 'remoting_host_plugin', | 2149 'remoting_host_plugin', |
| 2029 ], | 2150 ], |
| 2030 'sources': [ | 2151 '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)', | 2152 '<@(remoting_webapp_locale_files)', |
| 2038 '<@(remoting_webapp_patch_files)', | |
| 2039 ], | 2153 ], |
| 2040 'conditions': [ | 2154 'conditions': [ |
| 2041 ['enable_remoting_host==1', { | 2155 ['enable_remoting_host==1', { |
| 2156 'locale_files': [ |
| 2157 '<@(remoting_locale_files)', |
| 2158 ], |
| 2042 'variables': { | 2159 'variables': { |
| 2043 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_
plugin.<(host_plugin_extension)', | 2160 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_
plugin.<(host_plugin_extension)', |
| 2044 }, | 2161 }, |
| 2045 }, { | 2162 }, { |
| 2046 'variables': { | 2163 'variables': { |
| 2047 'plugin_path': '', | 2164 'plugin_path': '', |
| 2048 }, | 2165 }, |
| 2049 'dependencies!': [ | 2166 'dependencies!': [ |
| 2050 'remoting_host_plugin', | 2167 'remoting_host_plugin', |
| 2051 ], | 2168 ], |
| 2052 }], | 2169 }], |
| 2053 ], | 2170 ], |
| 2054 'actions': [ | 2171 'actions': [ |
| 2055 { | 2172 { |
| 2056 'action_name': 'Build Remoting WebApp', | 2173 'action_name': 'Build Remoting WebApp', |
| 2057 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 2174 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
| 2058 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 2175 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
| 2059 'inputs': [ | 2176 'inputs': [ |
| 2060 'webapp/build-webapp.py', | 2177 'webapp/build-webapp.py', |
| 2061 '<(chrome_version_path)', | 2178 '<(chrome_version_path)', |
| 2062 '<(remoting_version_path)', | 2179 '<(remoting_version_path)', |
| 2063 '<@(remoting_webapp_files)', | 2180 '<@(remoting_webapp_files)', |
| 2064 '<@(remoting_webapp_js_files)', | 2181 '<@(remoting_webapp_js_files)', |
| 2065 '<@(remoting_webapp_locale_files)', | 2182 '<@(_locale_files)', |
| 2066 ], | 2183 ], |
| 2067 'conditions': [ | 2184 'conditions': [ |
| 2068 ['enable_remoting_host==1', { | 2185 ['enable_remoting_host==1', { |
| 2069 'inputs': [ | 2186 'inputs': [ |
| 2070 '<(plugin_path)', | 2187 '<(plugin_path)', |
| 2071 ], | 2188 ], |
| 2072 }], | 2189 }], |
| 2073 ], | 2190 ], |
| 2074 'outputs': [ | 2191 'outputs': [ |
| 2075 '<(_output_dir)', | 2192 '<(_output_dir)', |
| 2076 '<(_zip_path)', | 2193 '<(_zip_path)', |
| 2077 ], | 2194 ], |
| 2078 'action': [ | 2195 'action': [ |
| 2079 'python', 'webapp/build-webapp.py', | 2196 'python', 'webapp/build-webapp.py', |
| 2080 '<(buildtype)', | 2197 '<(buildtype)', |
| 2081 '<(version_full)', | 2198 '<(version_full)', |
| 2082 '<(host_plugin_mime_type)', | 2199 '<(host_plugin_mime_type)', |
| 2083 '<(_output_dir)', | 2200 '<(_output_dir)', |
| 2084 '<(_zip_path)', | 2201 '<(_zip_path)', |
| 2085 '<(plugin_path)', | 2202 '<(plugin_path)', |
| 2086 '<@(remoting_webapp_files)', | 2203 '<@(remoting_webapp_files)', |
| 2087 '<@(remoting_webapp_js_files)', | 2204 '<@(remoting_webapp_js_files)', |
| 2088 '--locales', | 2205 '--locales', |
| 2089 '<@(remoting_webapp_locale_files)', | 2206 '<@(_locale_files)', |
| 2090 ], | 2207 ], |
| 2091 'msvs_cygwin_shell': 1, | 2208 'msvs_cygwin_shell': 0, |
| 2092 }, | 2209 }, |
| 2093 ], | 2210 ], |
| 2094 'target_conditions': [ | 2211 'target_conditions': [ |
| 2095 # We cannot currently build the appsv2 version of WebApp on Windows as | 2212 # 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 | 2213 # 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
'. | 2214 # should remove this condition when we remove the reliance on the 'patch
'. |
| 2098 | 2215 |
| 2099 # We define this in a 'target_conditions' section because 'plugin_path' | 2216 # We define this in a 'target_conditions' section because 'plugin_path' |
| 2100 # is defined in a 'conditions' section so its value is not available | 2217 # is defined in a 'conditions' section so its value is not available |
| 2101 # when gyp processes the 'actions' in a 'conditions" section. | 2218 # when gyp processes the 'actions' in a 'conditions" section. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2135 '<(_zip_path)', | 2252 '<(_zip_path)', |
| 2136 '<(plugin_path)', | 2253 '<(plugin_path)', |
| 2137 '<@(remoting_webapp_apps_v2_js_files)', | 2254 '<@(remoting_webapp_apps_v2_js_files)', |
| 2138 '<@(remoting_webapp_files)', | 2255 '<@(remoting_webapp_files)', |
| 2139 '<@(remoting_webapp_js_files)', | 2256 '<@(remoting_webapp_js_files)', |
| 2140 '--locales', | 2257 '--locales', |
| 2141 '<@(remoting_webapp_locale_files)', | 2258 '<@(remoting_webapp_locale_files)', |
| 2142 '--patches', | 2259 '--patches', |
| 2143 '<@(remoting_webapp_patch_files)', | 2260 '<@(remoting_webapp_patch_files)', |
| 2144 ], | 2261 ], |
| 2145 'msvs_cygwin_shell': 1, | 2262 'msvs_cygwin_shell': 0, |
| 2146 }, | 2263 }, |
| 2147 ], | 2264 ], |
| 2148 }], | 2265 }], |
| 2149 ], | 2266 ], |
| 2150 }, # end of target 'remoting_webapp' | 2267 }, # end of target 'remoting_webapp' |
| 2151 | 2268 |
| 2152 { | 2269 { |
| 2153 'target_name': 'remoting_resources', | 2270 'target_name': 'remoting_resources', |
| 2154 'type': 'none', | 2271 'type': 'none', |
| 2155 'variables': { | 2272 'variables': { |
| 2156 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2273 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 2157 'grit_resource_ids': 'resources/resource_ids', | 2274 'grit_resource_ids': 'resources/resource_ids', |
| 2158 'sources': [ | 2275 'sources': [ |
| 2159 'base/resources_unittest.cc', | 2276 'base/resources_unittest.cc', |
| 2160 'host/plugin/host_script_object.cc', | 2277 'host/continue_window_mac.mm', |
| 2278 'host/disconnect_window_mac.mm', |
| 2279 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings
.jinja2', |
| 2280 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', |
| 2281 'host/plugin/host_plugin-InfoPlist.strings.jinja2', |
| 2161 'host/win/core.rc.jinja2', | 2282 'host/win/core.rc.jinja2', |
| 2162 'host/win/host_messages.mc.jinja2', | 2283 'host/win/host_messages.mc.jinja2', |
| 2163 'host/win/version.rc.jinja2', | 2284 'host/win/version.rc.jinja2', |
| 2164 'webapp/butter_bar.js', | 2285 'webapp/butter_bar.js', |
| 2165 'webapp/client_screen.js', | 2286 'webapp/client_screen.js', |
| 2166 'webapp/error.js', | 2287 'webapp/error.js', |
| 2167 'webapp/host_list.js', | 2288 'webapp/host_list.js', |
| 2289 'webapp/host_setup_dialog.js', |
| 2168 'webapp/host_table_entry.js', | 2290 'webapp/host_table_entry.js', |
| 2169 'webapp/host_setup_dialog.js', | |
| 2170 'webapp/main.html', | 2291 'webapp/main.html', |
| 2171 'webapp/manifest.json', | 2292 'webapp/manifest.json', |
| 2172 'webapp/paired_client_manager.js', | 2293 'webapp/paired_client_manager.js', |
| 2173 'webapp/remoting.js', | 2294 'webapp/remoting.js', |
| 2174 ], | 2295 ], |
| 2175 }, | 2296 }, |
| 2176 'actions': [ | 2297 'actions': [ |
| 2177 { | 2298 { |
| 2178 'action_name': 'verify_resources', | 2299 'action_name': 'verify_resources', |
| 2179 'inputs': [ | 2300 'inputs': [ |
| 2180 'resources/remoting_strings.grd', | 2301 'resources/remoting_strings.grd', |
| 2181 'resources/common_resources.grd', | |
| 2182 'tools/verify_resources.py', | 2302 'tools/verify_resources.py', |
| 2183 '<@(sources)' | 2303 '<@(sources)' |
| 2184 ], | 2304 ], |
| 2185 'outputs': [ | 2305 'outputs': [ |
| 2186 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2306 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
| 2187 ], | 2307 ], |
| 2188 'action': [ | 2308 'action': [ |
| 2189 'python', | 2309 'python', |
| 2190 'tools/verify_resources.py', | 2310 'tools/verify_resources.py', |
| 2191 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2311 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
| 2192 '-r', 'resources/remoting_strings.grd', | 2312 '-r', 'resources/remoting_strings.grd', |
| 2193 '-r', 'resources/common_resources.grd', | |
| 2194 '<@(sources)', | 2313 '<@(sources)', |
| 2195 ], | 2314 ], |
| 2196 }, | 2315 }, |
| 2197 { | 2316 { |
| 2198 'action_name': 'remoting_strings', | 2317 'action_name': 'remoting_strings', |
| 2199 'variables': { | 2318 'variables': { |
| 2200 'grit_grd_file': 'resources/remoting_strings.grd', | 2319 'grit_grd_file': 'resources/remoting_strings.grd', |
| 2201 }, | 2320 }, |
| 2202 'includes': [ '../build/grit_action.gypi' ], | 2321 'includes': [ '../build/grit_action.gypi' ], |
| 2203 }, | 2322 }, |
| 2204 { | 2323 { |
| 2205 'action_name': 'common_resources', | 2324 'action_name': 'copy_locales', |
| 2206 'variables': { | 2325 'variables': { |
| 2207 'grit_grd_file': 'resources/common_resources.grd', | 2326 'copy_output_dir%': '<(PRODUCT_DIR)', |
| 2208 }, | 2327 }, |
| 2209 'includes': [ '../build/grit_action.gypi' ], | 2328 'inputs': [ |
| 2210 }, | 2329 'tools/build/remoting_copy_locales.py', |
| 2211 ], | 2330 '<!@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 ], | 2331 ], |
| 2222 }, | 2332 'outputs': [ |
| 2223 { | 2333 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output
_dir) <(remoting_locales))' |
| 2224 'destination': '<(PRODUCT_DIR)', | 2334 ], |
| 2225 'files': [ | 2335 'action': [ |
| 2226 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak', | 2336 'python', |
| 2227 ] | 2337 'tools/build/remoting_copy_locales.py', |
| 2228 }, | 2338 '-p', '<(OS)', |
| 2339 '-g', '<(grit_out_dir)', |
| 2340 '-x', '<(copy_output_dir)/.', |
| 2341 '<@(remoting_locales)', |
| 2342 ], |
| 2343 } |
| 2229 ], | 2344 ], |
| 2230 'includes': [ '../build/grit_target.gypi' ], | 2345 'includes': [ '../build/grit_target.gypi' ], |
| 2231 }, # end of target 'remoting_resources' | 2346 }, # end of target 'remoting_resources' |
| 2232 | 2347 |
| 2233 { | 2348 { |
| 2234 'target_name': 'remoting_base', | 2349 'target_name': 'remoting_base', |
| 2235 'type': 'static_library', | 2350 'type': 'static_library', |
| 2236 'variables': { 'enable_wexit_time_destructors': 1, }, | 2351 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 2237 'dependencies': [ | 2352 'dependencies': [ |
| 2238 '../base/base.gyp:base', | 2353 '../base/base.gyp:base', |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2272 'base/capabilities.cc', | 2387 'base/capabilities.cc', |
| 2273 'base/capabilities.h', | 2388 'base/capabilities.h', |
| 2274 'base/compound_buffer.cc', | 2389 'base/compound_buffer.cc', |
| 2275 'base/compound_buffer.h', | 2390 'base/compound_buffer.h', |
| 2276 'base/constants.cc', | 2391 'base/constants.cc', |
| 2277 'base/constants.h', | 2392 'base/constants.h', |
| 2278 'base/plugin_thread_task_runner.cc', | 2393 'base/plugin_thread_task_runner.cc', |
| 2279 'base/plugin_thread_task_runner.h', | 2394 'base/plugin_thread_task_runner.h', |
| 2280 'base/rate_counter.cc', | 2395 'base/rate_counter.cc', |
| 2281 'base/rate_counter.h', | 2396 'base/rate_counter.h', |
| 2282 'base/resources.cc', | |
| 2283 'base/resources.h', | 2397 'base/resources.h', |
| 2398 'base/resources_linux.cc', |
| 2399 'base/resources_mac.mm', |
| 2400 'base/resources_win.cc', |
| 2284 'base/rsa_key_pair.cc', | 2401 'base/rsa_key_pair.cc', |
| 2285 'base/rsa_key_pair.h', | 2402 'base/rsa_key_pair.h', |
| 2286 'base/running_average.cc', | 2403 'base/running_average.cc', |
| 2287 'base/running_average.h', | 2404 'base/running_average.h', |
| 2288 'base/socket_reader.cc', | 2405 'base/socket_reader.cc', |
| 2289 'base/socket_reader.h', | 2406 'base/socket_reader.h', |
| 2290 'base/typed_buffer.h', | 2407 'base/typed_buffer.h', |
| 2291 'base/url_request_context.cc', | 2408 'base/url_request_context.cc', |
| 2292 'base/url_request_context.h', | 2409 'base/url_request_context.h', |
| 2293 'base/util.cc', | 2410 'base/util.cc', |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2683 'include_dirs': [ | 2800 'include_dirs': [ |
| 2684 '../breakpad/src', | 2801 '../breakpad/src', |
| 2685 ], | 2802 ], |
| 2686 'link_settings': { | 2803 'link_settings': { |
| 2687 'libraries': [ | 2804 'libraries': [ |
| 2688 '-lrpcrt4.lib', | 2805 '-lrpcrt4.lib', |
| 2689 '-lwtsapi32.lib', | 2806 '-lwtsapi32.lib', |
| 2690 ], | 2807 ], |
| 2691 }, | 2808 }, |
| 2692 }], | 2809 }], |
| 2810 ['OS=="mac"', { |
| 2811 'mac_bundle': 1, |
| 2812 'xcode_settings': { |
| 2813 'INFOPLIST_FILE': 'unittests-Info.plist', |
| 2814 'INFOPLIST_PREPROCESS': 'YES', |
| 2815 }, |
| 2816 'mac_bundle_resources': [ |
| 2817 'unittests-Info.plist', |
| 2818 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR
) <(remoting_locales))', |
| 2819 ], |
| 2820 'mac_bundle_resources!': [ |
| 2821 'unittests-Info.plist', |
| 2822 ], |
| 2823 }], # OS=="mac" |
| 2693 ['OS=="mac" or (OS=="linux" and chromeos==0)', { | 2824 ['OS=="mac" or (OS=="linux" and chromeos==0)', { |
| 2694 # Javascript unittests are disabled on CrOS because they cause | 2825 # Javascript unittests are disabled on CrOS because they cause |
| 2695 # valgrind and test errors. | 2826 # valgrind and test errors. |
| 2696 # | 2827 # |
| 2697 # Javascript unittests are disabled on Windows because they add a | 2828 # Javascript unittests are disabled on Windows because they add a |
| 2698 # dependency on 'common_constants' which (only on Windows) requires | 2829 # dependency on 'common_constants' which (only on Windows) requires |
| 2699 # additional dependencies: | 2830 # additional dependencies: |
| 2700 # '../content/content.gyp:content_common', | 2831 # '../content/content.gyp:content_common', |
| 2701 # 'installer_util', | 2832 # 'installer_util', |
| 2702 # These targets are defined in .gypi files that would need to be | 2833 # 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', | 2880 '../base/allocator/allocator.gyp:allocator', |
| 2750 ], | 2881 ], |
| 2751 }, | 2882 }, |
| 2752 ], | 2883 ], |
| 2753 ], | 2884 ], |
| 2754 }], # end of 'toolkit_uses_gtk == 1' | 2885 }], # end of 'toolkit_uses_gtk == 1' |
| 2755 ], # end of 'conditions' | 2886 ], # end of 'conditions' |
| 2756 }, # end of target 'remoting_unittests' | 2887 }, # end of target 'remoting_unittests' |
| 2757 ], # end of targets | 2888 ], # end of targets |
| 2758 } | 2889 } |
| OLD | NEW |