Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 '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 |
|
garykac
2013/07/26 16:20:15
The comment about these needing to match the value
alexeypa (please no reviews)
2013/07/26 18:55:01
Done.
| |
| 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': [ |
| 647 '../base/base.gyp:base_i18n', | |
| 642 '../net/net.gyp:net', | 648 '../net/net.gyp:net', |
| 643 '../third_party/npapi/npapi.gyp:npapi', | 649 '../third_party/npapi/npapi.gyp:npapi', |
| 644 'remoting_base', | 650 'remoting_base', |
| 645 'remoting_host', | 651 'remoting_host', |
| 646 'remoting_host_event_logger', | 652 'remoting_host_event_logger', |
| 647 'remoting_host_logging', | 653 'remoting_host_logging', |
| 654 'remoting_infoplist_strings', | |
| 648 'remoting_host_setup_base', | 655 'remoting_host_setup_base', |
| 649 'remoting_jingle_glue', | 656 'remoting_jingle_glue', |
| 657 'remoting_resources', | |
| 650 ], | 658 ], |
| 651 'sources': [ | 659 'sources': [ |
| 652 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | |
| 653 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | |
| 654 'base/dispatch_win.h', | 660 'base/dispatch_win.h', |
| 655 'host/plugin/host_log_handler.cc', | 661 'host/plugin/host_log_handler.cc', |
| 656 'host/plugin/host_log_handler.h', | 662 'host/plugin/host_log_handler.h', |
| 657 'host/plugin/host_plugin.cc', | 663 'host/plugin/host_plugin.cc', |
| 658 'host/plugin/host_plugin_utils.cc', | 664 'host/plugin/host_plugin_utils.cc', |
| 659 'host/plugin/host_plugin_utils.h', | 665 'host/plugin/host_plugin_utils.h', |
| 660 'host/plugin/host_script_object.cc', | 666 'host/plugin/host_script_object.cc', |
| 661 'host/plugin/host_script_object.h', | 667 'host/plugin/host_script_object.h', |
| 662 'host/win/core_resource.h', | 668 'host/win/core_resource.h', |
| 663 ], | 669 ], |
| 664 'conditions': [ | 670 'conditions': [ |
| 665 ['OS=="mac"', { | 671 ['OS=="mac"', { |
| 666 'mac_bundle': 1, | 672 'mac_bundle': 1, |
| 667 'xcode_settings': { | 673 'xcode_settings': { |
| 668 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 674 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 669 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 675 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
| 670 'INFOPLIST_PREPROCESS': 'YES', | 676 'INFOPLIST_PREPROCESS': 'YES', |
| 671 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t o | 677 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t o |
| 672 # duplicate string once | 678 # duplicate string once |
| 673 # http://code.google.com/p/gyp/issues/detail?id=243 is fixed. | 679 # 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)"', | 680 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE="<( host_plugin_mime_type)" VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_ short)"', |
| 675 }, | 681 }, |
| 676 # TODO(mark): Come up with a fancier way to do this. It should | 682 # 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 | 683 # only be necessary to list host_plugin-Info.plist once, not the |
| 678 # three times it is listed here. | 684 # three times it is listed here. |
| 679 'mac_bundle_resources': [ | 685 'mac_bundle_resources': [ |
| 680 'host/disconnect_window.xib', | 686 'host/disconnect_window.xib', |
| 681 'host/plugin/host_plugin-Info.plist', | 687 'host/plugin/host_plugin-Info.plist', |
| 682 'resources/chromoting16.png', | 688 'resources/chromoting16.png', |
| 683 'resources/chromoting48.png', | 689 'resources/chromoting48.png', |
| 684 'resources/chromoting128.png', | 690 'resources/chromoting128.png', |
| 691 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT _DIR) <(remoting_locales))', | |
| 692 | |
| 693 # Localized strings for 'Info.plist' | |
| 694 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 695 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/ @{json_suffix}.lproj/InfoPlist.strings" ' | |
| 696 '--print_only <(remoting_locales))', | |
| 685 ], | 697 ], |
| 686 'mac_bundle_resources!': [ | 698 'mac_bundle_resources!': [ |
| 687 'host/plugin/host_plugin-Info.plist', | 699 'host/plugin/host_plugin-Info.plist', |
| 688 ], | 700 ], |
| 689 'conditions': [ | 701 'conditions': [ |
| 690 ['mac_breakpad==1', { | 702 ['mac_breakpad==1', { |
| 691 'variables': { | 703 'variables': { |
| 692 # A real .dSYM is needed for dump_syms to operate on. | 704 # A real .dSYM is needed for dump_syms to operate on. |
| 693 'mac_real_dsym': 1, | 705 'mac_real_dsym': 1, |
| 694 }, | 706 }, |
| 695 }], | 707 }], |
| 696 ], # conditions | 708 ], # conditions |
| 697 }], # OS=="mac" | 709 }], # OS=="mac" |
| 698 [ 'OS=="win"', { | 710 [ 'OS=="win"', { |
| 699 'defines': [ | 711 'defines': [ |
| 700 'BINARY=BINARY_HOST_PLUGIN', | 712 'BINARY=BINARY_HOST_PLUGIN', |
| 701 'ISOLATION_AWARE_ENABLED=1', | 713 'ISOLATION_AWARE_ENABLED=1', |
| 702 ], | 714 ], |
| 703 'dependencies': [ | 715 'dependencies': [ |
| 704 'remoting_lib_idl', | 716 'remoting_lib_idl', |
| 705 'remoting_core_resources', | 717 'remoting_core_resources', |
| 706 'remoting_version_resources', | 718 'remoting_version_resources', |
| 707 ], | 719 ], |
| 708 'include_dirs': [ | 720 'include_dirs': [ |
| 709 '<(INTERMEDIATE_DIR)', | 721 '<(INTERMEDIATE_DIR)', |
| 710 ], | 722 ], |
| 711 'sources': [ | 723 'sources': [ |
| 724 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', | |
| 725 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', | |
| 712 'host/plugin/host_plugin.def', | 726 'host/plugin/host_plugin.def', |
| 713 ], | 727 ], |
| 714 'msvs_settings': { | 728 'msvs_settings': { |
| 715 'VCManifestTool': { | 729 'VCManifestTool': { |
| 716 'EmbedManifest': 'true', | 730 'EmbedManifest': 'true', |
| 717 }, | 731 }, |
| 718 'VCLinkerTool': { | 732 'VCLinkerTool': { |
| 719 'AdditionalOptions': [ | 733 'AdditionalOptions': [ |
| 720 "\"/manifestdependency:type='win32' " | 734 "\"/manifestdependency:type='win32' " |
| 721 "name='Microsoft.Windows.Common-Controls' " | 735 "name='Microsoft.Windows.Common-Controls' " |
| 722 "version='6.0.0.0' " | 736 "version='6.0.0.0' " |
| 723 "processorArchitecture='*' " | 737 "processorArchitecture='*' " |
| 724 "publicKeyToken='6595b64144ccf1df' language='*'\"", | 738 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
| 725 ], | 739 ], |
| 726 }, | 740 }, |
| 727 }, | 741 }, |
| 728 }], | 742 }], |
| 729 ], | 743 ], |
| 730 }, # end of target 'remoting_host_plugin' | 744 }, # end of target 'remoting_host_plugin' |
| 745 { | |
| 746 'target_name': 'remoting_infoplist_strings', | |
| 747 'type': 'none', | |
| 748 'dependencies': [ | |
| 749 'remoting_resources', | |
| 750 ], | |
| 751 'actions': [ | |
| 752 { | |
| 753 'action_name': 'generate_host_plugin_strings', | |
| 754 'inputs': [ | |
| 755 '<(remoting_localize_path)', | |
| 756 'host/plugin/host_plugin-InfoPlist.strings.jinja2', | |
| 757 ], | |
| 758 'outputs': [ | |
| 759 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 760 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/ @{json_suffix}.lproj/InfoPlist.strings" ' | |
| 761 '--print_only <(remoting_locales))', | |
| 762 ], | |
| 763 'action': [ | |
| 764 'python', | |
| 765 '<(remoting_localize_path)', | |
| 766 '--locale_dir', '<(webapp_locale_dir)', | |
| 767 '--template', 'host/plugin/host_plugin-InfoPlist.strings.jinja2' , | |
| 768 '--locale_output', | |
| 769 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_resources/@{jso n_suffix}.lproj/InfoPlist.strings', | |
| 770 '--encoding', 'utf-8', | |
| 771 '<@(remoting_locales)', | |
| 772 ], | |
| 773 }, | |
| 774 { | |
| 775 'action_name': 'generate_host_strings', | |
| 776 'inputs': [ | |
| 777 '<(remoting_localize_path)', | |
| 778 'host/remoting_me2me_host-InfoPlist.strings.jinja2', | |
| 779 ], | |
| 780 'outputs': [ | |
| 781 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 782 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_ suffix}.lproj/InfoPlist.strings" ' | |
| 783 '--print_only <(remoting_locales))', | |
| 784 ], | |
| 785 'action': [ | |
| 786 'python', | |
| 787 '<(remoting_localize_path)', | |
| 788 '--locale_dir', '<(webapp_locale_dir)', | |
| 789 '--template', 'host/remoting_me2me_host-InfoPlist.strings.jinja2 ', | |
| 790 '--locale_output', | |
| 791 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_suffi x}.lproj/InfoPlist.strings', | |
| 792 '--encoding', 'utf-8', | |
| 793 '<@(remoting_locales)', | |
| 794 ], | |
| 795 }, | |
| 796 { | |
| 797 'action_name': 'generate_preference_pane_strings', | |
| 798 'inputs': [ | |
| 799 '<(remoting_localize_path)', | |
| 800 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', | |
| 801 ], | |
| 802 'outputs': [ | |
| 803 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 804 '"<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resour ces/@{json_suffix}.lproj/InfoPlist.strings" ' | |
| 805 '--print_only <(remoting_locales))', | |
| 806 ], | |
| 807 'action': [ | |
| 808 'python', | |
| 809 '<(remoting_localize_path)', | |
| 810 '--locale_dir', '<(webapp_locale_dir)', | |
| 811 '--template', 'host/mac/me2me_preference_pane-InfoPlist.strings. jinja2', | |
| 812 '--locale_output', | |
| 813 '<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resources/@ {json_suffix}.lproj/InfoPlist.strings', | |
| 814 '--encoding', 'utf-8', | |
| 815 '<@(remoting_locales)', | |
| 816 ], | |
| 817 }, | |
| 818 { | |
| 819 'action_name': 'generate_uninstaller_strings', | |
| 820 'inputs': [ | |
| 821 '<(remoting_localize_path)', | |
| 822 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.s trings.jinja2', | |
| 823 ], | |
| 824 'outputs': [ | |
| 825 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 826 '"<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/ @{json_suffix}.lproj/InfoPlist.strings" ' | |
| 827 '--print_only <(remoting_locales))', | |
| 828 ], | |
| 829 'action': [ | |
| 830 'python', | |
| 831 '<(remoting_localize_path)', | |
| 832 '--locale_dir', '<(webapp_locale_dir)', | |
| 833 '--template', 'host/installer/mac/uninstaller/remoting_uninstall er-InfoPlist.strings.jinja2', | |
| 834 '--locale_output', | |
| 835 '<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/@{jso n_suffix}.lproj/InfoPlist.strings', | |
| 836 '--encoding', 'utf-8', | |
| 837 '<@(remoting_locales)', | |
| 838 ], | |
| 839 }, | |
| 840 ], | |
| 841 }, # end of target 'remoting_infoplist_strings' | |
| 731 | 842 |
| 732 { | 843 { |
| 733 'target_name': 'remoting_native_messaging_host', | 844 'target_name': 'remoting_native_messaging_host', |
| 734 'type': 'executable', | 845 'type': 'executable', |
| 735 'variables': { 'enable_wexit_time_destructors': 1, }, | 846 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 736 'dependencies': [ | 847 'dependencies': [ |
| 737 '../base/base.gyp:base', | 848 '../base/base.gyp:base', |
| 738 'remoting_host', | 849 'remoting_host', |
| 739 'remoting_host_logging', | 850 'remoting_host_logging', |
| 740 'remoting_host_setup_base', | 851 'remoting_host_setup_base', |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 838 'dependencies': [ | 949 'dependencies': [ |
| 839 '../base/base.gyp:base', | 950 '../base/base.gyp:base', |
| 840 '../base/base.gyp:base_i18n', | 951 '../base/base.gyp:base_i18n', |
| 841 '../net/net.gyp:net', | 952 '../net/net.gyp:net', |
| 842 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 953 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
| 843 'remoting_base', | 954 'remoting_base', |
| 844 'remoting_breakpad', | 955 'remoting_breakpad', |
| 845 'remoting_host', | 956 'remoting_host', |
| 846 'remoting_host_event_logger', | 957 'remoting_host_event_logger', |
| 847 'remoting_host_logging', | 958 'remoting_host_logging', |
| 959 'remoting_infoplist_strings', | |
| 848 'remoting_jingle_glue', | 960 'remoting_jingle_glue', |
| 849 'remoting_me2me_host_static', | 961 'remoting_me2me_host_static', |
| 850 ], | 962 ], |
| 851 'defines': [ | 963 'defines': [ |
| 852 'VERSION=<(version_full)', | 964 'VERSION=<(version_full)', |
| 853 ], | 965 ], |
| 854 'sources': [ | 966 'sources': [ |
| 855 'host/host_main.cc', | 967 'host/host_main.cc', |
| 856 'host/host_main.h', | 968 'host/host_main.h', |
| 857 'host/remoting_me2me_host.cc', | 969 'host/remoting_me2me_host.cc', |
| 858 ], | 970 ], |
| 859 'conditions': [ | 971 'conditions': [ |
| 860 ['OS=="mac"', { | 972 ['OS=="mac"', { |
| 861 'mac_bundle': 1, | 973 'mac_bundle': 1, |
| 862 'variables': { | 974 'variables': { |
| 863 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p ath) -t "@MAC_HOST_BUNDLE_ID@")', | 975 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p ath) -t "@MAC_HOST_BUNDLE_ID@")', |
| 864 }, | 976 }, |
| 865 'xcode_settings': { | 977 'xcode_settings': { |
| 866 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', | 978 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', |
| 867 'INFOPLIST_PREPROCESS': 'YES', | 979 '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)"', | 980 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"', |
| 869 }, | 981 }, |
| 870 'mac_bundle_resources': [ | 982 'mac_bundle_resources': [ |
| 871 'host/disconnect_window.xib', | 983 'host/disconnect_window.xib', |
| 872 'host/remoting_me2me_host.icns', | 984 'host/remoting_me2me_host.icns', |
| 873 'host/remoting_me2me_host-Info.plist', | 985 'host/remoting_me2me_host-Info.plist', |
| 986 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT _DIR) <(remoting_locales))', | |
| 987 | |
| 988 # Localized strings for 'Info.plist' | |
| 989 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 990 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_resources/@{json_ suffix}.lproj/InfoPlist.strings" ' | |
| 991 '--print_only <(remoting_locales))', | |
| 874 ], | 992 ], |
| 875 'mac_bundle_resources!': [ | 993 'mac_bundle_resources!': [ |
| 876 'host/remoting_me2me_host-Info.plist', | 994 'host/remoting_me2me_host-Info.plist', |
| 877 ], | 995 ], |
| 878 'conditions': [ | 996 'conditions': [ |
| 879 ['mac_breakpad==1', { | 997 ['mac_breakpad==1', { |
| 880 'variables': { | 998 'variables': { |
| 881 # A real .dSYM is needed for dump_syms to operate on. | 999 # A real .dSYM is needed for dump_syms to operate on. |
| 882 'mac_real_dsym': 1, | 1000 'mac_real_dsym': 1, |
| 883 }, | 1001 }, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 980 }], # 'OS=="linux"' | 1098 }], # 'OS=="linux"' |
| 981 | 1099 |
| 982 ['OS=="mac"', { | 1100 ['OS=="mac"', { |
| 983 'targets': [ | 1101 'targets': [ |
| 984 { | 1102 { |
| 985 'target_name': 'remoting_host_uninstaller', | 1103 'target_name': 'remoting_host_uninstaller', |
| 986 'type': 'executable', | 1104 'type': 'executable', |
| 987 'mac_bundle': 1, | 1105 'mac_bundle': 1, |
| 988 'variables': { | 1106 'variables': { |
| 989 'bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@ MAC_UNINSTALLER_BUNDLE_ID@")', | 1107 '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 }, | 1108 }, |
| 992 'dependencies': [ | 1109 'dependencies': [ |
| 993 '<(DEPTH)/base/base.gyp:base', | 1110 '<(DEPTH)/base/base.gyp:base', |
| 1111 'remoting_infoplist_strings', | |
| 994 ], | 1112 ], |
| 995 'sources': [ | 1113 'sources': [ |
| 996 'host/constants_mac.cc', | 1114 'host/constants_mac.cc', |
| 997 'host/constants_mac.h', | 1115 'host/constants_mac.h', |
| 998 'host/installer/mac/uninstaller/remoting_uninstaller.h', | 1116 'host/installer/mac/uninstaller/remoting_uninstaller.h', |
| 999 'host/installer/mac/uninstaller/remoting_uninstaller.mm', | 1117 'host/installer/mac/uninstaller/remoting_uninstaller.mm', |
| 1000 'host/installer/mac/uninstaller/remoting_uninstaller_app.h', | 1118 'host/installer/mac/uninstaller/remoting_uninstaller_app.h', |
| 1001 'host/installer/mac/uninstaller/remoting_uninstaller_app.mm', | 1119 'host/installer/mac/uninstaller/remoting_uninstaller_app.mm', |
| 1002 ], | 1120 ], |
| 1003 'xcode_settings': { | 1121 'xcode_settings': { |
| 1004 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall er-Info.plist', | 1122 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall er-Info.plist', |
| 1005 'INFOPLIST_PREPROCESS': 'YES', | 1123 '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)"', | 1124 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', |
| 1007 }, | 1125 }, |
| 1008 'mac_bundle_resources': [ | 1126 'mac_bundle_resources': [ |
| 1009 'host/installer/mac/uninstaller/remoting_uninstaller.icns', | 1127 'host/installer/mac/uninstaller/remoting_uninstaller.icns', |
| 1010 'host/installer/mac/uninstaller/remoting_uninstaller.xib', | 1128 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |
| 1011 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 1129 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
| 1130 | |
| 1131 # Localized strings for 'Info.plist' | |
| 1132 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 1133 '"<(SHARED_INTERMEDIATE_DIR)/remoting/uninstaller_resources/@{js on_suffix}.lproj/InfoPlist.strings" ' | |
| 1134 '--print_only <(remoting_locales))', | |
| 1012 ], | 1135 ], |
| 1013 'mac_bundle_resources!': [ | 1136 'mac_bundle_resources!': [ |
| 1014 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 1137 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
| 1015 ], | 1138 ], |
| 1016 }, # end of target 'remoting_host_uninstaller' | 1139 }, # end of target 'remoting_host_uninstaller' |
| 1017 | 1140 |
| 1018 # This packages up the files needed for the remoting host installer so | 1141 # This packages up the files needed for the remoting host installer so |
| 1019 # they can be sent off to be signed. | 1142 # they can be sent off to be signed. |
| 1020 # We don't build an installer here because we don't have signed binaries . | 1143 # We don't build an installer here because we don't have signed binaries . |
| 1021 { | 1144 { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1053 'Applications/<(host_uninstaller_name).app', | 1176 'Applications/<(host_uninstaller_name).app', |
| 1054 ], | 1177 ], |
| 1055 'source_files': [ | 1178 'source_files': [ |
| 1056 '<@(remoting_host_installer_mac_files)', | 1179 '<@(remoting_host_installer_mac_files)', |
| 1057 ], | 1180 ], |
| 1058 'defs': [ | 1181 'defs': [ |
| 1059 'VERSION=<(version_full)', | 1182 'VERSION=<(version_full)', |
| 1060 'VERSION_SHORT=<(version_short)', | 1183 'VERSION_SHORT=<(version_short)', |
| 1061 'VERSION_MAJOR=<(version_major)', | 1184 'VERSION_MAJOR=<(version_major)', |
| 1062 'VERSION_MINOR=<(version_minor)', | 1185 'VERSION_MINOR=<(version_minor)', |
| 1063 'COPYRIGHT_INFO=<(copyright_info)', | |
| 1064 'HOST_NAME=<(host_name)', | 1186 'HOST_NAME=<(host_name)', |
| 1065 'HOST_SERVICE_NAME=<(host_service_name)', | 1187 'HOST_SERVICE_NAME=<(host_service_name)', |
| 1066 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', | 1188 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', |
| 1067 'HOST_PKG=<(host_name)', | 1189 'HOST_PKG=<(host_name)', |
| 1068 'HOST_SERVICE_PKG=<(host_service_name_nospace)', | 1190 'HOST_SERVICE_PKG=<(host_service_name_nospace)', |
| 1069 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', | 1191 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', |
| 1070 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', | 1192 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', |
| 1071 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos pace)', | 1193 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos pace)', |
| 1072 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name_nospace)', | 1194 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name_nospace)', |
| 1073 'DMG_VOLUME_NAME=<(host_name) <(version_full)', | 1195 'DMG_VOLUME_NAME=<(host_name) <(version_full)', |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 1101 }, # end of target 'remoting_me2me_host_archive' | 1223 }, # end of target 'remoting_me2me_host_archive' |
| 1102 | 1224 |
| 1103 { | 1225 { |
| 1104 'target_name': 'remoting_host_prefpane', | 1226 'target_name': 'remoting_host_prefpane', |
| 1105 'type': 'loadable_module', | 1227 'type': 'loadable_module', |
| 1106 'mac_bundle': 1, | 1228 'mac_bundle': 1, |
| 1107 'product_extension': 'prefPane', | 1229 'product_extension': 'prefPane', |
| 1108 'defines': [ | 1230 'defines': [ |
| 1109 'JSON_USE_EXCEPTION=0', | 1231 'JSON_USE_EXCEPTION=0', |
| 1110 ], | 1232 ], |
| 1233 'dependencies': [ | |
| 1234 'remoting_infoplist_strings', | |
| 1235 ], | |
| 1111 'include_dirs': [ | 1236 'include_dirs': [ |
| 1112 '../third_party/jsoncpp/overrides/include/', | 1237 '../third_party/jsoncpp/overrides/include/', |
| 1113 '../third_party/jsoncpp/source/include/', | 1238 '../third_party/jsoncpp/source/include/', |
| 1114 '../third_party/jsoncpp/source/src/lib_json/', | 1239 '../third_party/jsoncpp/source/src/lib_json/', |
| 1115 ], | 1240 ], |
| 1116 | 1241 |
| 1117 # These source files are included directly, instead of adding target | 1242 # These source files are included directly, instead of adding target |
| 1118 # dependencies, because the targets are not yet built for 64-bit on | 1243 # dependencies, because the targets are not yet built for 64-bit on |
| 1119 # Mac OS X - http://crbug.com/125116. | 1244 # Mac OS X - http://crbug.com/125116. |
| 1120 # | 1245 # |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 1138 'link_settings': { | 1263 'link_settings': { |
| 1139 'libraries': [ | 1264 'libraries': [ |
| 1140 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 1265 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 1141 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 1266 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 1142 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', | 1267 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
| 1143 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 1268 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 1144 ], | 1269 ], |
| 1145 }, | 1270 }, |
| 1146 'variables': { | 1271 'variables': { |
| 1147 'bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@ MAC_PREFPANE_BUNDLE_ID@")', | 1272 '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 }, | 1273 }, |
| 1156 'xcode_settings': { | 1274 'xcode_settings': { |
| 1157 'ARCHS': ['i386', 'x86_64'], | 1275 'ARCHS': ['i386', 'x86_64'], |
| 1158 'GCC_ENABLE_OBJC_GC': 'supported', | 1276 'GCC_ENABLE_OBJC_GC': 'supported', |
| 1159 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', | 1277 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', |
| 1160 'INFOPLIST_PREPROCESS': 'YES', | 1278 '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)"', | 1279 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', |
| 1162 }, | 1280 }, |
| 1163 'mac_bundle_resources': [ | 1281 'mac_bundle_resources': [ |
| 1164 'host/mac/me2me_preference_pane.xib', | 1282 'host/mac/me2me_preference_pane.xib', |
| 1165 'host/mac/me2me_preference_pane_confirm_pin.xib', | 1283 'host/mac/me2me_preference_pane_confirm_pin.xib', |
| 1166 'host/mac/me2me_preference_pane_disable.xib', | 1284 'host/mac/me2me_preference_pane_disable.xib', |
| 1167 'host/mac/me2me_preference_pane-Info.plist', | 1285 'host/mac/me2me_preference_pane-Info.plist', |
| 1168 'resources/chromoting128.png', | 1286 'resources/chromoting128.png', |
| 1287 | |
| 1288 # Localized strings for 'Info.plist' | |
| 1289 '<!@pymod_do_main(remoting_localize --locale_output ' | |
| 1290 '"<(SHARED_INTERMEDIATE_DIR)/remoting/preference_pane_resources/ @{json_suffix}.lproj/InfoPlist.strings" ' | |
| 1291 '--print_only <(remoting_locales))', | |
| 1169 ], | 1292 ], |
| 1170 'mac_bundle_resources!': [ | 1293 'mac_bundle_resources!': [ |
| 1171 'host/mac/me2me_preference_pane-Info.plist', | 1294 'host/mac/me2me_preference_pane-Info.plist', |
| 1172 ], | 1295 ], |
| 1173 'conditions': [ | 1296 'conditions': [ |
| 1174 ['mac_breakpad==1', { | 1297 ['mac_breakpad==1', { |
| 1175 'variables': { | 1298 'variables': { |
| 1176 # A real .dSYM is needed for dump_syms to operate on. | 1299 # A real .dSYM is needed for dump_syms to operate on. |
| 1177 'mac_real_dsym': 1, | 1300 'mac_real_dsym': 1, |
| 1178 }, | 1301 }, |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2020 ], | 2143 ], |
| 2021 'remoting_webapp_apps_v2_js_files': [ | 2144 'remoting_webapp_apps_v2_js_files': [ |
| 2022 'webapp/background.js', | 2145 'webapp/background.js', |
| 2023 'webapp/identity.js', | 2146 'webapp/identity.js', |
| 2024 ], | 2147 ], |
| 2025 }, | 2148 }, |
| 2026 'dependencies': [ | 2149 'dependencies': [ |
| 2027 'remoting_resources', | 2150 'remoting_resources', |
| 2028 'remoting_host_plugin', | 2151 'remoting_host_plugin', |
| 2029 ], | 2152 ], |
| 2030 'sources': [ | 2153 '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)', | 2154 '<@(remoting_webapp_locale_files)', |
| 2038 '<@(remoting_webapp_patch_files)', | |
| 2039 ], | 2155 ], |
| 2040 'conditions': [ | 2156 'conditions': [ |
| 2041 ['enable_remoting_host==1', { | 2157 ['enable_remoting_host==1', { |
| 2158 'locale_files': [ | |
| 2159 '<@(remoting_locale_files)', | |
| 2160 ], | |
| 2042 'variables': { | 2161 'variables': { |
| 2043 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_ plugin.<(host_plugin_extension)', | 2162 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_ plugin.<(host_plugin_extension)', |
| 2044 }, | 2163 }, |
| 2045 }, { | 2164 }, { |
| 2046 'variables': { | 2165 'variables': { |
| 2047 'plugin_path': '', | 2166 'plugin_path': '', |
| 2048 }, | 2167 }, |
| 2049 'dependencies!': [ | 2168 'dependencies!': [ |
| 2050 'remoting_host_plugin', | 2169 'remoting_host_plugin', |
| 2051 ], | 2170 ], |
| 2052 }], | 2171 }], |
| 2053 ], | 2172 ], |
| 2054 'actions': [ | 2173 'actions': [ |
| 2055 { | 2174 { |
| 2056 'action_name': 'Build Remoting WebApp', | 2175 'action_name': 'Build Remoting WebApp', |
| 2057 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 2176 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
| 2058 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 2177 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
| 2059 'inputs': [ | 2178 'inputs': [ |
| 2060 'webapp/build-webapp.py', | 2179 'webapp/build-webapp.py', |
| 2061 '<(chrome_version_path)', | 2180 '<(chrome_version_path)', |
| 2062 '<(remoting_version_path)', | 2181 '<(remoting_version_path)', |
| 2063 '<@(remoting_webapp_files)', | 2182 '<@(remoting_webapp_files)', |
| 2064 '<@(remoting_webapp_js_files)', | 2183 '<@(remoting_webapp_js_files)', |
| 2065 '<@(remoting_webapp_locale_files)', | 2184 '<@(_locale_files)', |
| 2066 ], | 2185 ], |
| 2067 'conditions': [ | 2186 'conditions': [ |
| 2068 ['enable_remoting_host==1', { | 2187 ['enable_remoting_host==1', { |
| 2069 'inputs': [ | 2188 'inputs': [ |
| 2070 '<(plugin_path)', | 2189 '<(plugin_path)', |
| 2071 ], | 2190 ], |
| 2072 }], | 2191 }], |
| 2073 ], | 2192 ], |
| 2074 'outputs': [ | 2193 'outputs': [ |
| 2075 '<(_output_dir)', | 2194 '<(_output_dir)', |
| 2076 '<(_zip_path)', | 2195 '<(_zip_path)', |
| 2077 ], | 2196 ], |
| 2078 'action': [ | 2197 'action': [ |
| 2079 'python', 'webapp/build-webapp.py', | 2198 'python', 'webapp/build-webapp.py', |
| 2080 '<(buildtype)', | 2199 '<(buildtype)', |
| 2081 '<(version_full)', | 2200 '<(version_full)', |
| 2082 '<(host_plugin_mime_type)', | 2201 '<(host_plugin_mime_type)', |
| 2083 '<(_output_dir)', | 2202 '<(_output_dir)', |
| 2084 '<(_zip_path)', | 2203 '<(_zip_path)', |
| 2085 '<(plugin_path)', | 2204 '<(plugin_path)', |
| 2086 '<@(remoting_webapp_files)', | 2205 '<@(remoting_webapp_files)', |
| 2087 '<@(remoting_webapp_js_files)', | 2206 '<@(remoting_webapp_js_files)', |
| 2088 '--locales', | 2207 '--locales', |
| 2089 '<@(remoting_webapp_locale_files)', | 2208 '<@(_locale_files)', |
| 2090 ], | 2209 ], |
| 2091 'msvs_cygwin_shell': 1, | 2210 'msvs_cygwin_shell': 1, |
| 2092 }, | 2211 }, |
| 2093 ], | 2212 ], |
| 2094 'target_conditions': [ | 2213 'target_conditions': [ |
| 2095 # We cannot currently build the appsv2 version of WebApp on Windows as | 2214 # 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 | 2215 # 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 '. | 2216 # should remove this condition when we remove the reliance on the 'patch '. |
| 2098 | 2217 |
| 2099 # We define this in a 'target_conditions' section because 'plugin_path' | 2218 # 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' | 2269 }, # end of target 'remoting_webapp' |
| 2151 | 2270 |
| 2152 { | 2271 { |
| 2153 'target_name': 'remoting_resources', | 2272 'target_name': 'remoting_resources', |
| 2154 'type': 'none', | 2273 'type': 'none', |
| 2155 'variables': { | 2274 'variables': { |
| 2156 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2275 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 2157 'grit_resource_ids': 'resources/resource_ids', | 2276 'grit_resource_ids': 'resources/resource_ids', |
| 2158 'sources': [ | 2277 'sources': [ |
| 2159 'base/resources_unittest.cc', | 2278 'base/resources_unittest.cc', |
| 2160 'host/plugin/host_script_object.cc', | 2279 'host/continue_window_mac.mm', |
| 2280 'host/disconnect_window_mac.mm', | |
| 2281 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings .jinja2', | |
| 2282 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', | |
| 2283 'host/plugin/host_plugin-InfoPlist.strings.jinja2', | |
| 2161 'host/win/core.rc.jinja2', | 2284 'host/win/core.rc.jinja2', |
| 2162 'host/win/host_messages.mc.jinja2', | 2285 'host/win/host_messages.mc.jinja2', |
| 2163 'host/win/version.rc.jinja2', | 2286 'host/win/version.rc.jinja2', |
| 2164 'webapp/butter_bar.js', | 2287 'webapp/butter_bar.js', |
| 2165 'webapp/client_screen.js', | 2288 'webapp/client_screen.js', |
| 2166 'webapp/error.js', | 2289 'webapp/error.js', |
| 2167 'webapp/host_list.js', | 2290 'webapp/host_list.js', |
| 2291 'webapp/host_setup_dialog.js', | |
| 2168 'webapp/host_table_entry.js', | 2292 'webapp/host_table_entry.js', |
| 2169 'webapp/host_setup_dialog.js', | |
| 2170 'webapp/main.html', | 2293 'webapp/main.html', |
| 2171 'webapp/manifest.json', | 2294 'webapp/manifest.json', |
| 2172 'webapp/paired_client_manager.js', | 2295 'webapp/paired_client_manager.js', |
| 2173 'webapp/remoting.js', | 2296 'webapp/remoting.js', |
| 2174 ], | 2297 ], |
| 2175 }, | 2298 }, |
| 2176 'actions': [ | 2299 'actions': [ |
| 2177 { | 2300 { |
| 2178 'action_name': 'verify_resources', | 2301 'action_name': 'verify_resources', |
| 2179 'inputs': [ | 2302 'inputs': [ |
| 2180 'resources/remoting_strings.grd', | 2303 'resources/remoting_strings.grd', |
| 2181 'resources/common_resources.grd', | |
| 2182 'tools/verify_resources.py', | 2304 'tools/verify_resources.py', |
| 2183 '<@(sources)' | 2305 '<@(sources)' |
| 2184 ], | 2306 ], |
| 2185 'outputs': [ | 2307 'outputs': [ |
| 2186 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2308 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
| 2187 ], | 2309 ], |
| 2188 'action': [ | 2310 'action': [ |
| 2189 'python', | 2311 'python', |
| 2190 'tools/verify_resources.py', | 2312 'tools/verify_resources.py', |
| 2191 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 2313 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
| 2192 '-r', 'resources/remoting_strings.grd', | 2314 '-r', 'resources/remoting_strings.grd', |
| 2193 '-r', 'resources/common_resources.grd', | |
| 2194 '<@(sources)', | 2315 '<@(sources)', |
| 2195 ], | 2316 ], |
| 2196 }, | 2317 }, |
| 2197 { | 2318 { |
| 2198 'action_name': 'remoting_strings', | 2319 'action_name': 'remoting_strings', |
| 2199 'variables': { | 2320 'variables': { |
| 2200 'grit_grd_file': 'resources/remoting_strings.grd', | 2321 'grit_grd_file': 'resources/remoting_strings.grd', |
| 2201 }, | 2322 }, |
| 2202 'includes': [ '../build/grit_action.gypi' ], | 2323 'includes': [ '../build/grit_action.gypi' ], |
| 2203 }, | 2324 }, |
| 2204 { | 2325 { |
| 2205 'action_name': 'common_resources', | 2326 'action_name': 'copy_locales', |
| 2206 'variables': { | 2327 'variables': { |
| 2207 'grit_grd_file': 'resources/common_resources.grd', | 2328 'copy_output_dir%': '<(PRODUCT_DIR)', |
| 2208 }, | 2329 }, |
| 2209 'includes': [ '../build/grit_action.gypi' ], | 2330 'inputs': [ |
| 2210 }, | 2331 'tools/build/remoting_copy_locales.py', |
| 2211 ], | 2332 '<!@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 ], | 2333 ], |
| 2222 }, | 2334 'outputs': [ |
| 2223 { | 2335 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output _dir) <(remoting_locales))' |
| 2224 'destination': '<(PRODUCT_DIR)', | 2336 ], |
| 2225 'files': [ | 2337 'action': [ |
| 2226 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak', | 2338 'python', |
| 2227 ] | 2339 'tools/build/remoting_copy_locales.py', |
| 2228 }, | 2340 '-p', '<(OS)', |
| 2341 '-g', '<(grit_out_dir)', | |
| 2342 '-x', '<(copy_output_dir)/.', | |
| 2343 '<@(remoting_locales)', | |
| 2344 ], | |
| 2345 } | |
| 2229 ], | 2346 ], |
| 2230 'includes': [ '../build/grit_target.gypi' ], | 2347 'includes': [ '../build/grit_target.gypi' ], |
| 2231 }, # end of target 'remoting_resources' | 2348 }, # end of target 'remoting_resources' |
| 2232 | 2349 |
| 2233 { | 2350 { |
| 2234 'target_name': 'remoting_base', | 2351 'target_name': 'remoting_base', |
| 2235 'type': 'static_library', | 2352 'type': 'static_library', |
| 2236 'variables': { 'enable_wexit_time_destructors': 1, }, | 2353 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 2237 'dependencies': [ | 2354 'dependencies': [ |
| 2238 '../base/base.gyp:base', | 2355 '../base/base.gyp:base', |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2272 'base/capabilities.cc', | 2389 'base/capabilities.cc', |
| 2273 'base/capabilities.h', | 2390 'base/capabilities.h', |
| 2274 'base/compound_buffer.cc', | 2391 'base/compound_buffer.cc', |
| 2275 'base/compound_buffer.h', | 2392 'base/compound_buffer.h', |
| 2276 'base/constants.cc', | 2393 'base/constants.cc', |
| 2277 'base/constants.h', | 2394 'base/constants.h', |
| 2278 'base/plugin_thread_task_runner.cc', | 2395 'base/plugin_thread_task_runner.cc', |
| 2279 'base/plugin_thread_task_runner.h', | 2396 'base/plugin_thread_task_runner.h', |
| 2280 'base/rate_counter.cc', | 2397 'base/rate_counter.cc', |
| 2281 'base/rate_counter.h', | 2398 'base/rate_counter.h', |
| 2282 'base/resources.cc', | |
| 2283 'base/resources.h', | 2399 'base/resources.h', |
| 2400 'base/resources_linux.cc', | |
| 2401 'base/resources_mac.mm', | |
| 2402 'base/resources_win.cc', | |
| 2284 'base/rsa_key_pair.cc', | 2403 'base/rsa_key_pair.cc', |
| 2285 'base/rsa_key_pair.h', | 2404 'base/rsa_key_pair.h', |
| 2286 'base/running_average.cc', | 2405 'base/running_average.cc', |
| 2287 'base/running_average.h', | 2406 'base/running_average.h', |
| 2288 'base/socket_reader.cc', | 2407 'base/socket_reader.cc', |
| 2289 'base/socket_reader.h', | 2408 'base/socket_reader.h', |
| 2290 'base/typed_buffer.h', | 2409 'base/typed_buffer.h', |
| 2291 'base/url_request_context.cc', | 2410 'base/url_request_context.cc', |
| 2292 'base/url_request_context.h', | 2411 'base/url_request_context.h', |
| 2293 'base/util.cc', | 2412 'base/util.cc', |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2683 'include_dirs': [ | 2802 'include_dirs': [ |
| 2684 '../breakpad/src', | 2803 '../breakpad/src', |
| 2685 ], | 2804 ], |
| 2686 'link_settings': { | 2805 'link_settings': { |
| 2687 'libraries': [ | 2806 'libraries': [ |
| 2688 '-lrpcrt4.lib', | 2807 '-lrpcrt4.lib', |
| 2689 '-lwtsapi32.lib', | 2808 '-lwtsapi32.lib', |
| 2690 ], | 2809 ], |
| 2691 }, | 2810 }, |
| 2692 }], | 2811 }], |
| 2812 ['OS=="mac"', { | |
| 2813 'mac_bundle': 1, | |
| 2814 'xcode_settings': { | |
| 2815 'INFOPLIST_FILE': 'unittests-Info.plist', | |
| 2816 'INFOPLIST_PREPROCESS': 'YES', | |
| 2817 }, | |
| 2818 'mac_bundle_resources': [ | |
| 2819 'unittests-Info.plist', | |
| 2820 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT_DIR ) <(remoting_locales))', | |
| 2821 ], | |
| 2822 'mac_bundle_resources!': [ | |
| 2823 'unittests-Info.plist', | |
| 2824 ], | |
| 2825 }], # OS=="mac" | |
| 2693 ['OS=="mac" or (OS=="linux" and chromeos==0)', { | 2826 ['OS=="mac" or (OS=="linux" and chromeos==0)', { |
| 2694 # Javascript unittests are disabled on CrOS because they cause | 2827 # Javascript unittests are disabled on CrOS because they cause |
| 2695 # valgrind and test errors. | 2828 # valgrind and test errors. |
| 2696 # | 2829 # |
| 2697 # Javascript unittests are disabled on Windows because they add a | 2830 # Javascript unittests are disabled on Windows because they add a |
| 2698 # dependency on 'common_constants' which (only on Windows) requires | 2831 # dependency on 'common_constants' which (only on Windows) requires |
| 2699 # additional dependencies: | 2832 # additional dependencies: |
| 2700 # '../content/content.gyp:content_common', | 2833 # '../content/content.gyp:content_common', |
| 2701 # 'installer_util', | 2834 # 'installer_util', |
| 2702 # These targets are defined in .gypi files that would need to be | 2835 # 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', | 2882 '../base/allocator/allocator.gyp:allocator', |
| 2750 ], | 2883 ], |
| 2751 }, | 2884 }, |
| 2752 ], | 2885 ], |
| 2753 ], | 2886 ], |
| 2754 }], # end of 'toolkit_uses_gtk == 1' | 2887 }], # end of 'toolkit_uses_gtk == 1' |
| 2755 ], # end of 'conditions' | 2888 ], # end of 'conditions' |
| 2756 }, # end of target 'remoting_unittests' | 2889 }, # end of target 'remoting_unittests' |
| 2757 ], # end of targets | 2890 ], # end of targets |
| 2758 } | 2891 } |
| OLD | NEW |