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 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 | 10 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 'includes': [ | 229 'includes': [ |
230 '../chrome/js_unittest_vars.gypi', | 230 '../chrome/js_unittest_vars.gypi', |
231 ], | 231 ], |
232 | 232 |
233 'target_defaults': { | 233 'target_defaults': { |
234 'defines': [ | 234 'defines': [ |
235 ], | 235 ], |
236 'include_dirs': [ | 236 'include_dirs': [ |
237 '..', # Root of Chrome checkout | 237 '..', # Root of Chrome checkout |
238 ], | 238 ], |
| 239 'variables': { |
| 240 'win_debug_RuntimeChecks': '0', |
| 241 }, |
239 'conditions': [ | 242 'conditions': [ |
240 ['remoting_multi_process != 0', { | 243 ['remoting_multi_process != 0', { |
241 'defines': [ | 244 'defines': [ |
242 'REMOTING_MULTI_PROCESS', | 245 'REMOTING_MULTI_PROCESS', |
243 ], | 246 ], |
244 }], | 247 }], |
245 ], | 248 ], |
246 }, | 249 }, |
247 | 250 |
248 'conditions': [ | 251 'conditions': [ |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 }], | 539 }], |
537 ['OS=="win"', { | 540 ['OS=="win"', { |
538 'dependencies': [ | 541 'dependencies': [ |
539 '../sandbox/sandbox.gyp:sandbox', | 542 '../sandbox/sandbox.gyp:sandbox', |
540 ], | 543 ], |
541 }], | 544 }], |
542 ], | 545 ], |
543 }, # end of target 'remoting_host' | 546 }, # end of target 'remoting_host' |
544 | 547 |
545 { | 548 { |
546 'target_name': 'remoting_me2me_host', | 549 'target_name': 'remoting_me2me_host_static', |
547 'type': 'executable', | 550 'type': 'static_library', |
548 'variables': { 'enable_wexit_time_destructors': 1, }, | 551 'variables': { 'enable_wexit_time_destructors': 1, }, |
549 'dependencies': [ | 552 'dependencies': [ |
| 553 '../base/base.gyp:base', |
| 554 '../base/base.gyp:base_i18n', |
| 555 '../media/media.gyp:media', |
| 556 '../net/net.gyp:net', |
550 'remoting_base', | 557 'remoting_base', |
551 'remoting_breakpad', | 558 'remoting_breakpad', |
552 'remoting_host', | 559 'remoting_host', |
553 'remoting_host_event_logger', | 560 'remoting_host_event_logger', |
554 'remoting_host_logging', | 561 'remoting_host_logging', |
555 'remoting_jingle_glue', | 562 'remoting_jingle_glue', |
556 '../base/base.gyp:base', | |
557 '../base/base.gyp:base_i18n', | |
558 '../media/media.gyp:media', | |
559 '../net/net.gyp:net', | |
560 ], | 563 ], |
561 'defines': [ | 564 'defines': [ |
562 'VERSION=<(version_full)', | 565 'VERSION=<(version_full)', |
563 ], | 566 ], |
564 'sources': [ | 567 'sources': [ |
565 'host/config_file_watcher.cc', | 568 'host/config_file_watcher.cc', |
566 'host/config_file_watcher.h', | 569 'host/config_file_watcher.h', |
567 'host/curtain_mode.h', | 570 'host/curtain_mode.h', |
568 'host/curtaining_host_observer.h', | 571 'host/curtaining_host_observer.h', |
569 'host/curtaining_host_observer.cc', | 572 'host/curtaining_host_observer.cc', |
570 'host/curtain_mode_linux.cc', | 573 'host/curtain_mode_linux.cc', |
571 'host/curtain_mode_mac.cc', | 574 'host/curtain_mode_mac.cc', |
572 'host/curtain_mode_win.cc', | 575 'host/curtain_mode_win.cc', |
573 'host/posix/signal_handler.cc', | 576 'host/posix/signal_handler.cc', |
574 'host/posix/signal_handler.h', | 577 'host/posix/signal_handler.h', |
575 'host/remoting_me2me_host.cc', | |
576 ], | 578 ], |
577 'conditions': [ | 579 'conditions': [ |
578 ['os_posix != 1', { | 580 ['os_posix != 1', { |
579 'sources/': [ | 581 'sources/': [ |
580 ['exclude', '^host/posix/'], | 582 ['exclude', '^host/posix/'], |
581 ], | 583 ], |
582 }], | 584 }], |
583 ['OS=="mac"', { | |
584 'mac_bundle': 1, | |
585 'variables': { | |
586 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p
ath) -t "@MAC_HOST_BUNDLE_ID@")', | |
587 }, | |
588 'xcode_settings': { | |
589 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', | |
590 'INFOPLIST_PREPROCESS': 'YES', | |
591 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f
ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_I
NFO="<(copyright_info)"', | |
592 }, | |
593 'mac_bundle_resources': [ | |
594 'host/disconnect_window.xib', | |
595 'host/remoting_me2me_host.icns', | |
596 'host/remoting_me2me_host-Info.plist', | |
597 ], | |
598 'mac_bundle_resources!': [ | |
599 'host/remoting_me2me_host-Info.plist', | |
600 ], | |
601 'conditions': [ | |
602 ['mac_breakpad==1', { | |
603 'variables': { | |
604 # A real .dSYM is needed for dump_syms to operate on. | |
605 'mac_real_dsym': 1, | |
606 }, | |
607 'defines': ['MAC_BREAKPAD'], | |
608 'copies': [ | |
609 { | |
610 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Res
ources', | |
611 'files': [ | |
612 '<(PRODUCT_DIR)/crash_inspector', | |
613 '<(PRODUCT_DIR)/crash_report_sender.app' | |
614 ], | |
615 }, | |
616 ], | |
617 }], # mac_breakpad==1 | |
618 ], # conditions | |
619 }], # OS=mac | |
620 ['OS=="win"', { | |
621 'product_name': 'remoting_host', | |
622 'dependencies': [ | |
623 'remoting_version_resources', | |
624 ], | |
625 'sources': [ | |
626 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages
.rc', | |
627 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_me2me_version
.rc', | |
628 'host/host_ui.rc', | |
629 ], | |
630 'link_settings': { | |
631 'libraries': [ | |
632 '-lcomctl32.lib', | |
633 ], | |
634 }, | |
635 'msvs_settings': { | |
636 'VCLinkerTool': { | |
637 'AdditionalOptions': [ | |
638 "\"/manifestdependency:type='win32' " | |
639 "name='Microsoft.Windows.Common-Controls' " | |
640 "version='6.0.0.0' " | |
641 "processorArchitecture='*' " | |
642 "publicKeyToken='6595b64144ccf1df' language='*'\"", | |
643 ], | |
644 'conditions': [ | |
645 ['buildtype == "Official" and remoting_multi_process == 0',
{ | |
646 'AdditionalOptions': [ | |
647 "\"/MANIFESTUAC:level='requireAdministrator' " | |
648 "uiAccess='true'\"", | |
649 ], | |
650 }], | |
651 ], | |
652 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib', | |
653 'OutputFile': '$(OutDir)\\remoting_host.exe', | |
654 # 2 == /SUBSYSTEM:WINDOWS | |
655 'SubSystem': '2', | |
656 }, | |
657 }, | |
658 }], | |
659 ], # end of 'conditions' | 585 ], # end of 'conditions' |
660 }, # end of target 'remoting_me2me_host' | 586 }, # end of target 'remoting_me2me_host_static' |
661 | 587 |
662 { | 588 { |
663 'target_name': 'remoting_host_keygen', | 589 'target_name': 'remoting_host_keygen', |
664 'type': 'executable', | 590 'type': 'executable', |
665 'dependencies': [ | 591 'dependencies': [ |
666 'remoting_base', | 592 'remoting_base', |
667 '../base/base.gyp:base', | 593 '../base/base.gyp:base', |
668 '../base/base.gyp:base_i18n', | 594 '../base/base.gyp:base_i18n', |
669 '../crypto/crypto.gyp:crypto', | 595 '../crypto/crypto.gyp:crypto', |
670 ], | 596 ], |
(...skipping 24 matching lines...) Expand all Loading... |
695 'host/setup/oauth_helper.h', | 621 'host/setup/oauth_helper.h', |
696 'host/setup/pin_validator.cc', | 622 'host/setup/pin_validator.cc', |
697 'host/setup/pin_validator.h', | 623 'host/setup/pin_validator.h', |
698 'host/setup/win/auth_code_getter.cc', | 624 'host/setup/win/auth_code_getter.cc', |
699 'host/setup/win/auth_code_getter.h', | 625 'host/setup/win/auth_code_getter.h', |
700 ], | 626 ], |
701 'conditions': [ | 627 'conditions': [ |
702 ['OS=="win"', { | 628 ['OS=="win"', { |
703 'dependencies': [ | 629 'dependencies': [ |
704 '../google_update/google_update.gyp:google_update', | 630 '../google_update/google_update.gyp:google_update', |
705 'remoting_elevated_controller', | 631 'remoting_controller_idl', |
706 ], | 632 ], |
707 }], | 633 }], |
708 ], | 634 ], |
709 }, # end of target 'remoting_host_setup_base' | 635 }, # end of target 'remoting_host_setup_base' |
710 | 636 |
711 { | 637 { |
712 'target_name': 'remoting_host_plugin', | 638 'target_name': 'remoting_host_plugin', |
713 'type': 'loadable_module', | 639 'type': 'loadable_module', |
714 'variables': { 'enable_wexit_time_destructors': 1, }, | 640 'variables': { 'enable_wexit_time_destructors': 1, }, |
715 'product_extension': '<(host_plugin_extension)', | 641 'product_extension': '<(host_plugin_extension)', |
716 'product_prefix': '<(host_plugin_prefix)', | 642 'product_prefix': '<(host_plugin_prefix)', |
717 'dependencies': [ | 643 'dependencies': [ |
718 'remoting_base', | 644 'remoting_base', |
719 'remoting_host', | 645 'remoting_host', |
720 'remoting_host_event_logger', | 646 'remoting_host_event_logger', |
721 'remoting_host_logging', | 647 'remoting_host_logging', |
722 'remoting_host_setup_base', | 648 'remoting_host_setup_base', |
723 'remoting_jingle_glue', | 649 'remoting_jingle_glue', |
724 '../net/net.gyp:net', | 650 '../net/net.gyp:net', |
725 '../third_party/npapi/npapi.gyp:npapi', | 651 '../third_party/npapi/npapi.gyp:npapi', |
726 ], | 652 ], |
727 'sources': [ | 653 'sources': [ |
728 'base/dispatch_win.h', | 654 'base/dispatch_win.h', |
729 'host/host_ui_resource.h', | 655 'host/win/core_resource.h', |
730 'host/plugin/host_log_handler.cc', | 656 'host/plugin/host_log_handler.cc', |
731 'host/plugin/host_log_handler.h', | 657 'host/plugin/host_log_handler.h', |
732 'host/plugin/host_plugin.cc', | 658 'host/plugin/host_plugin.cc', |
733 'host/plugin/host_plugin_utils.cc', | 659 'host/plugin/host_plugin_utils.cc', |
734 'host/plugin/host_plugin_utils.h', | 660 'host/plugin/host_plugin_utils.h', |
735 'host/plugin/host_script_object.cc', | 661 'host/plugin/host_script_object.cc', |
736 'host/plugin/host_script_object.h', | 662 'host/plugin/host_script_object.h', |
737 ], | 663 ], |
738 'conditions': [ | 664 'conditions': [ |
739 ['OS=="mac"', { | 665 ['OS=="mac"', { |
(...skipping 24 matching lines...) Expand all Loading... |
764 ['mac_breakpad==1', { | 690 ['mac_breakpad==1', { |
765 'variables': { | 691 'variables': { |
766 # A real .dSYM is needed for dump_syms to operate on. | 692 # A real .dSYM is needed for dump_syms to operate on. |
767 'mac_real_dsym': 1, | 693 'mac_real_dsym': 1, |
768 }, | 694 }, |
769 }], | 695 }], |
770 ], # conditions | 696 ], # conditions |
771 }], # OS=="mac" | 697 }], # OS=="mac" |
772 [ 'OS=="win"', { | 698 [ 'OS=="win"', { |
773 'dependencies': [ | 699 'dependencies': [ |
774 'remoting_elevated_controller', | 700 'remoting_controller_idl', |
775 'remoting_version_resources', | 701 'remoting_version_resources', |
776 ], | 702 ], |
777 'include_dirs': [ | 703 'include_dirs': [ |
778 '<(INTERMEDIATE_DIR)', | 704 '<(INTERMEDIATE_DIR)', |
779 ], | 705 ], |
780 'sources': [ | 706 'sources': [ |
781 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_plugin_versio
n.rc', | 707 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_plugin_versio
n.rc', |
782 'host/host_ui.rc', | 708 'host/win/core.rc', |
783 'host/plugin/host_plugin.def', | 709 'host/plugin/host_plugin.def', |
784 ], | 710 ], |
785 }], | 711 }], |
786 ], | 712 ], |
787 }, # end of target 'remoting_host_plugin' | 713 }, # end of target 'remoting_host_plugin' |
788 | 714 |
| 715 ], # end of 'targets' |
| 716 }], # 'enable_remoting_host==1' |
| 717 |
| 718 ['OS!="win" and enable_remoting_host==1', { |
| 719 'targets': [ |
789 { | 720 { |
790 'target_name': 'remoting_desktop', | 721 'target_name': 'remoting_me2me_host', |
791 'type': 'executable', | 722 'type': 'executable', |
792 'variables': { 'enable_wexit_time_destructors': 1, }, | 723 'variables': { 'enable_wexit_time_destructors': 1, }, |
793 'defines': [ | |
794 'REMOTING_MULTI_PROCESS', | |
795 ], | |
796 'dependencies': [ | 724 'dependencies': [ |
| 725 '../base/base.gyp:base', |
| 726 '../base/base.gyp:base_i18n', |
| 727 '../media/media.gyp:media', |
| 728 '../net/net.gyp:net', |
797 'remoting_base', | 729 'remoting_base', |
798 'remoting_breakpad', | 730 'remoting_breakpad', |
799 'remoting_host', | 731 'remoting_host', |
| 732 'remoting_host_event_logger', |
800 'remoting_host_logging', | 733 'remoting_host_logging', |
801 '../base/base.gyp:base', | 734 'remoting_jingle_glue', |
802 '../ipc/ipc.gyp:ipc', | 735 'remoting_me2me_host_static', |
| 736 ], |
| 737 'defines': [ |
| 738 'VERSION=<(version_full)', |
803 ], | 739 ], |
804 'sources': [ | 740 'sources': [ |
805 'host/desktop_process.cc', | 741 'host/remoting_me2me_host.cc', |
806 'host/desktop_process.h', | 742 'host/remoting_me2me_host.h', |
807 'host/desktop_process_main.cc', | |
808 'host/desktop_session_agent.cc', | |
809 'host/desktop_session_agent.h', | |
810 'host/desktop_session_agent_posix.cc', | |
811 'host/desktop_session_agent_win.cc', | |
812 ], | 743 ], |
813 'conditions': [ | 744 'conditions': [ |
814 ['OS=="win"', { | 745 ['OS=="mac"', { |
815 'dependencies': [ | 746 'mac_bundle': 1, |
816 'remoting_version_resources', | 747 'variables': { |
| 748 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p
ath) -t "@MAC_HOST_BUNDLE_ID@")', |
| 749 }, |
| 750 'xcode_settings': { |
| 751 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', |
| 752 'INFOPLIST_PREPROCESS': 'YES', |
| 753 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f
ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_I
NFO="<(copyright_info)"', |
| 754 }, |
| 755 'mac_bundle_resources': [ |
| 756 'host/disconnect_window.xib', |
| 757 'host/remoting_me2me_host.icns', |
| 758 'host/remoting_me2me_host-Info.plist', |
817 ], | 759 ], |
818 'sources': [ | 760 'mac_bundle_resources!': [ |
819 'host/host_ui.rc', | 761 'host/remoting_me2me_host-Info.plist', |
820 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_desktop_version.rc
', | |
821 ], | 762 ], |
822 'link_settings': { | 763 'conditions': [ |
823 'libraries': [ | 764 ['mac_breakpad==1', { |
824 '-lcomctl32.lib', | 765 'variables': { |
825 ], | 766 # A real .dSYM is needed for dump_syms to operate on. |
826 }, | 767 'mac_real_dsym': 1, |
827 'msvs_settings': { | 768 }, |
828 'VCLinkerTool': { | 769 'defines': ['MAC_BREAKPAD'], |
829 'AdditionalOptions': [ | 770 'copies': [ |
830 "\"/manifestdependency:type='win32' " | 771 { |
831 "name='Microsoft.Windows.Common-Controls' " | 772 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Res
ources', |
832 "version='6.0.0.0' " | 773 'files': [ |
833 "processorArchitecture='*' " | 774 '<(PRODUCT_DIR)/crash_inspector', |
834 "publicKeyToken='6595b64144ccf1df' language='*'\"", | 775 '<(PRODUCT_DIR)/crash_report_sender.app' |
| 776 ], |
| 777 }, |
835 ], | 778 ], |
836 'conditions': [ | 779 }], # mac_breakpad==1 |
837 ['buildtype == "Official"', { | 780 ], # conditions |
838 'AdditionalOptions': [ | 781 }], # OS=mac |
839 "\"/MANIFESTUAC:level='requireAdministrator' " | 782 ], # end of 'conditions' |
840 "uiAccess='true'\"", | 783 }, # end of target 'remoting_me2me_host' |
841 ], | |
842 }], | |
843 ], | |
844 # 2 == /SUBSYSTEM:WINDOWS | |
845 'SubSystem': '2', | |
846 }, | |
847 }, | |
848 }], | |
849 ], | |
850 }, # end of target 'remoting_desktop' | |
851 | 784 |
852 ], # end of 'targets' | 785 ], # end of 'targets' |
853 }], # 'enable_remoting_host==1' | 786 }], # 'OS!="win" and enable_remoting_host==1' |
| 787 |
854 | 788 |
855 ['OS=="linux" and chromeos==0', { | 789 ['OS=="linux" and chromeos==0', { |
856 'targets': [ | 790 'targets': [ |
857 # Linux breakpad processing | 791 # Linux breakpad processing |
858 { | 792 { |
859 'target_name': 'remoting_linux_symbols', | 793 'target_name': 'remoting_linux_symbols', |
860 'type': 'none', | 794 'type': 'none', |
861 'conditions': [ | 795 'conditions': [ |
862 ['linux_dump_symbols==1', { | 796 ['linux_dump_symbols==1', { |
863 'actions': [ | 797 'actions': [ |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 }, # end of target 'remoting_host_prefpane' | 1039 }, # end of target 'remoting_host_prefpane' |
1106 ], # end of 'targets' | 1040 ], # end of 'targets' |
1107 'conditions': [ | 1041 'conditions': [ |
1108 ['mac_breakpad==1', { | 1042 ['mac_breakpad==1', { |
1109 'targets': [ | 1043 'targets': [ |
1110 { | 1044 { |
1111 'target_name': 'remoting_mac_symbols', | 1045 'target_name': 'remoting_mac_symbols', |
1112 'type': 'none', | 1046 'type': 'none', |
1113 'dependencies': [ | 1047 'dependencies': [ |
1114 '../breakpad/breakpad.gyp:dump_syms', | 1048 '../breakpad/breakpad.gyp:dump_syms', |
1115 » » 'remoting_me2me_host', | 1049 'remoting_me2me_host', |
1116 ], | 1050 ], |
1117 'actions': [ | 1051 'actions': [ |
1118 { | 1052 { |
1119 'action_name': 'dump_symbols', | 1053 'action_name': 'dump_symbols', |
1120 'inputs': [ | 1054 'inputs': [ |
1121 '<(DEPTH)/remoting/scripts/mac/dump_product_syms', | 1055 '<(DEPTH)/remoting/scripts/mac/dump_product_syms', |
1122 '<(PRODUCT_DIR)/dump_syms', | 1056 '<(PRODUCT_DIR)/dump_syms', |
1123 '<(PRODUCT_DIR)/remoting_me2me_host.app', | 1057 '<(PRODUCT_DIR)/remoting_me2me_host.app', |
1124 ], | 1058 ], |
1125 'outputs': [ | 1059 'outputs': [ |
(...skipping 20 matching lines...) Expand all Loading... |
1146 'variables': { 'enable_wexit_time_destructors': 1, }, | 1080 'variables': { 'enable_wexit_time_destructors': 1, }, |
1147 'dependencies': [ | 1081 'dependencies': [ |
1148 '../base/base.gyp:base', | 1082 '../base/base.gyp:base', |
1149 'remoting_host_logging', | 1083 'remoting_host_logging', |
1150 ], | 1084 ], |
1151 'sources': [ | 1085 'sources': [ |
1152 'tools/breakpad_tester_win.cc', | 1086 'tools/breakpad_tester_win.cc', |
1153 ], | 1087 ], |
1154 }, # end of target 'remoting_breakpad_tester' | 1088 }, # end of target 'remoting_breakpad_tester' |
1155 { | 1089 { |
1156 'target_name': 'remoting_elevated_controller', | 1090 'target_name': 'remoting_controller_idl', |
1157 'type': 'static_library', | 1091 'type': 'static_library', |
1158 'sources': [ | 1092 'sources': [ |
1159 'host/win/elevated_controller_idl.templ', | 1093 'host/win/elevated_controller_idl.templ', |
1160 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h', | 1094 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h', |
1161 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.idl', | 1095 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.idl', |
1162 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c', | 1096 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c', |
1163 ], | 1097 ], |
1164 # This target exports a hard dependency because dependent targets may | 1098 # This target exports a hard dependency because dependent targets may |
1165 # include elevated_controller.h, a generated header. | 1099 # include elevated_controller.h, a generated header. |
1166 'hard_dependency': 1, | 1100 'hard_dependency': 1, |
(...skipping 19 matching lines...) Expand all Loading... |
1186 '<(version_py_path)', | 1120 '<(version_py_path)', |
1187 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"', | 1121 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"', |
1188 '<(RULE_INPUT_PATH)', | 1122 '<(RULE_INPUT_PATH)', |
1189 '<@(_outputs)', | 1123 '<@(_outputs)', |
1190 ], | 1124 ], |
1191 'process_outputs_as_sources': 1, | 1125 'process_outputs_as_sources': 1, |
1192 'message': 'Generating <@(_outputs)', | 1126 'message': 'Generating <@(_outputs)', |
1193 'msvs_cygwin_shell': 1, | 1127 'msvs_cygwin_shell': 1, |
1194 }, | 1128 }, |
1195 ], | 1129 ], |
1196 }, # end of target 'remoting_elevated_controller' | 1130 }, # end of target 'remoting_controller_idl' |
1197 { | 1131 { |
1198 'target_name': 'remoting_configurer', | 1132 'target_name': 'remoting_configurer', |
1199 'type': 'executable', | 1133 'type': 'executable', |
1200 'dependencies': [ | 1134 'dependencies': [ |
1201 '../base/base.gyp:base', | 1135 '../base/base.gyp:base', |
1202 '../crypto/crypto.gyp:crypto', | 1136 '../crypto/crypto.gyp:crypto', |
1203 'remoting_host', | 1137 'remoting_host', |
1204 'remoting_host_setup_base', | 1138 'remoting_host_setup_base', |
1205 ], | 1139 ], |
1206 'sources': [ | 1140 'sources': [ |
(...skipping 16 matching lines...) Expand all Loading... |
1223 "version='6.0.0.0' " | 1157 "version='6.0.0.0' " |
1224 "processorArchitecture='*' " | 1158 "processorArchitecture='*' " |
1225 "publicKeyToken='6595b64144ccf1df' language='*'\"", | 1159 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
1226 ], | 1160 ], |
1227 # 2 == /SUBSYSTEM:WINDOWS | 1161 # 2 == /SUBSYSTEM:WINDOWS |
1228 'SubSystem': '2', | 1162 'SubSystem': '2', |
1229 }, | 1163 }, |
1230 }, | 1164 }, |
1231 }, # end of target 'remoting_configurer' | 1165 }, # end of target 'remoting_configurer' |
1232 { | 1166 { |
1233 'target_name': 'remoting_controller', | 1167 'target_name': 'remoting_core', |
1234 'type': 'executable', | 1168 'type': 'shared_library', |
1235 'variables': { 'enable_wexit_time_destructors': 1, }, | 1169 'variables': { 'enable_wexit_time_destructors': 1, }, |
1236 'defines' : [ | 1170 'defines' : [ |
1237 '_ATL_APARTMENT_THREADED', | 1171 '_ATL_APARTMENT_THREADED', |
1238 '_ATL_NO_AUTOMATIC_NAMESPACE', | 1172 '_ATL_NO_AUTOMATIC_NAMESPACE', |
1239 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', | 1173 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', |
| 1174 'HOST_IMPLEMENTATION', |
1240 'STRICT', | 1175 'STRICT', |
1241 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', | 1176 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', |
1242 ], | 1177 'VERSION=<(version_full)', |
1243 'include_dirs': [ | |
1244 '<(INTERMEDIATE_DIR)', | |
1245 ], | 1178 ], |
1246 'dependencies': [ | 1179 'dependencies': [ |
1247 '../base/base.gyp:base', | 1180 '../base/base.gyp:base', |
1248 'remoting_breakpad', | |
1249 'remoting_elevated_controller', | |
1250 'remoting_host', | |
1251 'remoting_host_logging', | |
1252 'remoting_protocol', | |
1253 'remoting_version_resources', | |
1254 ], | |
1255 'sources': [ | |
1256 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_controller_version.rc'
, | |
1257 'host/pin_hash.cc', | |
1258 'host/pin_hash.h', | |
1259 'host/verify_config_window_win.cc', | |
1260 'host/verify_config_window_win.h', | |
1261 'host/win/elevated_controller.cc', | |
1262 'host/win/elevated_controller.h', | |
1263 'host/win/elevated_controller.rc', | |
1264 'host/win/elevated_controller_module.cc', | |
1265 'host/win/omaha.cc', | |
1266 'host/win/omaha.h', | |
1267 ], | |
1268 'link_settings': { | |
1269 'libraries': [ | |
1270 '-lcomctl32.lib', | |
1271 ], | |
1272 }, | |
1273 'msvs_settings': { | |
1274 'VCLinkerTool': { | |
1275 'AdditionalOptions': [ | |
1276 "\"/manifestdependency:type='win32' " | |
1277 "name='Microsoft.Windows.Common-Controls' " | |
1278 "version='6.0.0.0' " | |
1279 "processorArchitecture='*' " | |
1280 "publicKeyToken='6595b64144ccf1df' language='*'\"", | |
1281 ], | |
1282 # 2 == /SUBSYSTEM:WINDOWS | |
1283 'SubSystem': '2', | |
1284 }, | |
1285 }, | |
1286 }, # end of target 'remoting_controller' | |
1287 { | |
1288 'target_name': 'remoting_daemon', | |
1289 'type': 'executable', | |
1290 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1291 'dependencies': [ | |
1292 '../base/base.gyp:base', | |
1293 '../base/base.gyp:base_static', | 1181 '../base/base.gyp:base_static', |
1294 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 1182 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
1295 '../ipc/ipc.gyp:ipc', | 1183 '../ipc/ipc.gyp:ipc', |
1296 '../net/net.gyp:net', | 1184 '../net/net.gyp:net', |
1297 'remoting_base', | 1185 'remoting_base', |
1298 'remoting_breakpad', | 1186 'remoting_breakpad', |
| 1187 'remoting_controller_idl', |
1299 'remoting_host', | 1188 'remoting_host', |
| 1189 'remoting_host_event_logger', |
1300 'remoting_host_logging', | 1190 'remoting_host_logging', |
| 1191 'remoting_me2me_host_static', |
| 1192 'remoting_protocol', |
1301 'remoting_version_resources', | 1193 'remoting_version_resources', |
1302 ], | 1194 ], |
1303 'sources': [ | 1195 'sources': [ |
1304 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_daemon_version.rc', | 1196 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, |
| 1197 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc', |
1305 'base/scoped_sc_handle_win.h', | 1198 'base/scoped_sc_handle_win.h', |
1306 'capturer/win/desktop.cc', | 1199 'capturer/win/desktop.cc', |
1307 'capturer/win/desktop.h', | 1200 'capturer/win/desktop.h', |
1308 'capturer/win/scoped_thread_desktop.cc', | 1201 'capturer/win/scoped_thread_desktop.cc', |
1309 'capturer/win/scoped_thread_desktop.h', | 1202 'capturer/win/scoped_thread_desktop.h', |
1310 'host/chromoting_messages.cc', | 1203 'host/chromoting_messages.cc', |
1311 'host/chromoting_messages.h', | 1204 'host/chromoting_messages.h', |
1312 'host/config_file_watcher.cc', | 1205 'host/config_file_watcher.cc', |
1313 'host/config_file_watcher.h', | 1206 'host/config_file_watcher.h', |
1314 'host/daemon_process.cc', | 1207 'host/daemon_process.cc', |
1315 'host/daemon_process.h', | 1208 'host/daemon_process.h', |
1316 'host/daemon_process_win.cc', | 1209 'host/daemon_process_win.cc', |
| 1210 'host/desktop_process.cc', |
| 1211 'host/desktop_process.h', |
| 1212 'host/desktop_process_main.cc', |
| 1213 'host/desktop_process_main.h', |
1317 'host/desktop_session.cc', | 1214 'host/desktop_session.cc', |
1318 'host/desktop_session.h', | 1215 'host/desktop_session.h', |
| 1216 'host/desktop_session_agent.cc', |
| 1217 'host/desktop_session_agent.h', |
| 1218 'host/desktop_session_agent_posix.cc', |
| 1219 'host/desktop_session_agent_win.cc', |
1319 'host/desktop_session_win.cc', | 1220 'host/desktop_session_win.cc', |
1320 'host/desktop_session_win.h', | 1221 'host/desktop_session_win.h', |
1321 'host/host_exit_codes.h', | 1222 'host/host_exit_codes.h', |
| 1223 'host/host_export.h', |
1322 'host/ipc_constants.cc', | 1224 'host/ipc_constants.cc', |
1323 'host/ipc_constants.h', | 1225 'host/ipc_constants.h', |
| 1226 'host/remoting_me2me_host.cc', |
| 1227 'host/remoting_me2me_host.h', |
1324 'host/sas_injector.h', | 1228 'host/sas_injector.h', |
1325 'host/sas_injector_win.cc', | 1229 'host/sas_injector_win.cc', |
| 1230 'host/verify_config_window_win.cc', |
| 1231 'host/verify_config_window_win.h', |
| 1232 'host/win/core.cc', |
| 1233 'host/win/core.rc', |
| 1234 'host/win/core_resource.h', |
| 1235 'host/win/daemon_process_main.cc', |
| 1236 'host/win/daemon_process_main.h', |
| 1237 'host/win/elevated_controller.cc', |
| 1238 'host/win/elevated_controller.h', |
| 1239 'host/win/elevated_controller_module.cc', |
| 1240 'host/win/elevated_controller_module.h', |
1326 'host/win/host_service.cc', | 1241 'host/win/host_service.cc', |
1327 'host/win/host_service.h', | 1242 'host/win/host_service.h', |
1328 'host/win/host_service.rc', | |
1329 'host/win/host_service_resource.h', | |
1330 'host/win/omaha.cc', | 1243 'host/win/omaha.cc', |
1331 'host/win/omaha.h', | 1244 'host/win/omaha.h', |
1332 'host/win/unprivileged_process_delegate.cc', | 1245 'host/win/unprivileged_process_delegate.cc', |
1333 'host/win/unprivileged_process_delegate.h', | 1246 'host/win/unprivileged_process_delegate.h', |
1334 'host/win/worker_process_launcher.cc', | 1247 'host/win/worker_process_launcher.cc', |
1335 'host/win/worker_process_launcher.h', | 1248 'host/win/worker_process_launcher.h', |
1336 'host/win/wts_console_monitor.h', | 1249 'host/win/wts_console_monitor.h', |
1337 'host/win/wts_console_observer.h', | 1250 'host/win/wts_console_observer.h', |
1338 'host/win/wts_console_session_process_driver.cc', | 1251 'host/win/wts_console_session_process_driver.cc', |
1339 'host/win/wts_console_session_process_driver.h', | 1252 'host/win/wts_console_session_process_driver.h', |
1340 'host/win/wts_session_process_delegate.cc', | 1253 'host/win/wts_session_process_delegate.cc', |
1341 'host/win/wts_session_process_delegate.h', | 1254 'host/win/wts_session_process_delegate.h', |
1342 'host/worker_process_ipc_delegate.h', | 1255 'host/worker_process_ipc_delegate.h', |
1343 ], | 1256 ], |
1344 'msvs_settings': { | 1257 'msvs_settings': { |
1345 'VCLinkerTool': { | 1258 'VCLinkerTool': { |
1346 'AdditionalDependencies': [ | 1259 'AdditionalDependencies': [ |
| 1260 'comctl32.lib', |
1347 'wtsapi32.lib', | 1261 'wtsapi32.lib', |
1348 ], | 1262 ], |
1349 # 2 == /SUBSYSTEM:WINDOWS | 1263 'AdditionalOptions': [ |
1350 'SubSystem': '2', | 1264 "\"/manifestdependency:type='win32' " |
| 1265 "name='Microsoft.Windows.Common-Controls' " |
| 1266 "version='6.0.0.0' " |
| 1267 "processorArchitecture='*' " |
| 1268 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
| 1269 ], |
| 1270 }, |
| 1271 }, |
| 1272 }, # end of target 'remoting_controller_static' |
| 1273 { |
| 1274 'target_name': 'remoting_controller', |
| 1275 'type': 'executable', |
| 1276 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1277 'dependencies': [ |
| 1278 'remoting_core', |
| 1279 'remoting_version_resources', |
| 1280 ], |
| 1281 'sources': [ |
| 1282 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_controller_version.rc'
, |
| 1283 'host/win/elevated_controller_entry_point.cc', |
| 1284 ], |
| 1285 'msvs_settings': { |
| 1286 'VCLinkerTool': { |
| 1287 'EntryPointSymbol': 'ElevatedControllerEntryPoint', |
| 1288 'IgnoreAllDefaultLibraries': 'true', |
| 1289 'SubSystem': '2', # /SUBSYSTEM:WINDOWS |
| 1290 }, |
| 1291 }, |
| 1292 }, # end of target 'remoting_controller' |
| 1293 { |
| 1294 'target_name': 'remoting_daemon', |
| 1295 'type': 'executable', |
| 1296 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1297 'dependencies': [ |
| 1298 'remoting_core', |
| 1299 'remoting_version_resources', |
| 1300 ], |
| 1301 'sources': [ |
| 1302 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_daemon_version.rc', |
| 1303 'host/win/daemon_process_entry_point.cc', |
| 1304 ], |
| 1305 'msvs_settings': { |
| 1306 'VCLinkerTool': { |
| 1307 'EntryPointSymbol': 'DaemonProcessEntryPoint', |
| 1308 'IgnoreAllDefaultLibraries': 'true', |
| 1309 'SubSystem': '2', # /SUBSYSTEM:WINDOWS |
1351 }, | 1310 }, |
1352 }, | 1311 }, |
1353 }, # end of target 'remoting_daemon' | 1312 }, # end of target 'remoting_daemon' |
1354 | 1313 |
| 1314 { |
| 1315 'target_name': 'remoting_desktop', |
| 1316 'type': 'executable', |
| 1317 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1318 'dependencies': [ |
| 1319 'remoting_core', |
| 1320 'remoting_version_resources', |
| 1321 ], |
| 1322 'sources': [ |
| 1323 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_desktop_version.rc', |
| 1324 'host/win/desktop_process_entry_point.cc', |
| 1325 ], |
| 1326 'msvs_settings': { |
| 1327 'VCLinkerTool': { |
| 1328 'conditions': [ |
| 1329 ['buildtype == "Official"', { |
| 1330 'AdditionalOptions': [ |
| 1331 "\"/MANIFESTUAC:level='requireAdministrator' " |
| 1332 "uiAccess='true'\"", |
| 1333 ], |
| 1334 }], |
| 1335 ], |
| 1336 'EntryPointSymbol': 'DesktopProcessEntryPoint', |
| 1337 'IgnoreAllDefaultLibraries': 'true', |
| 1338 'SubSystem': '2', # /SUBSYSTEM:WINDOWS |
| 1339 }, |
| 1340 }, |
| 1341 }, # end of target 'remoting_desktop' |
| 1342 |
| 1343 { |
| 1344 'target_name': 'remoting_host_exe', |
| 1345 'product_name': 'remoting_host', |
| 1346 'type': 'executable', |
| 1347 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1348 'dependencies': [ |
| 1349 'remoting_core', |
| 1350 'remoting_version_resources', |
| 1351 ], |
| 1352 'sources': [ |
| 1353 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_version.rc', |
| 1354 'host/win/host_process_entry_point.cc', |
| 1355 ], |
| 1356 'msvs_settings': { |
| 1357 'VCLinkerTool': { |
| 1358 'conditions': [ |
| 1359 ['buildtype == "Official" and remoting_multi_process == 0', { |
| 1360 'AdditionalOptions': [ |
| 1361 "\"/MANIFESTUAC:level='requireAdministrator' " |
| 1362 "uiAccess='true'\"", |
| 1363 ], |
| 1364 }], |
| 1365 ], |
| 1366 'EntryPointSymbol': 'HostProcessEntryPoint', |
| 1367 'IgnoreAllDefaultLibraries': 'true', |
| 1368 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib', |
| 1369 'OutputFile': '$(OutDir)\\remoting_host.exe', |
| 1370 'SubSystem': '2', # /SUBSYSTEM:WINDOWS |
| 1371 }, |
| 1372 }, |
| 1373 }, # end of target 'remoting_host_exe' |
| 1374 |
1355 # Generates the version information resources for the Windows binaries. | 1375 # Generates the version information resources for the Windows binaries. |
1356 # The .RC files are generated from the "version.rc.version" template and | 1376 # The .RC files are generated from the "version.rc.version" template and |
1357 # placed in the "<(SHARED_INTERMEDIATE_DIR)/remoting" folder. | 1377 # placed in the "<(SHARED_INTERMEDIATE_DIR)/remoting" folder. |
1358 # The substitution strings are taken from: | 1378 # The substitution strings are taken from: |
1359 # - build/util/LASTCHANGE - the last source code revision. | 1379 # - build/util/LASTCHANGE - the last source code revision. |
1360 # - chrome/VERSION - the major, build & patch versions. | 1380 # - chrome/VERSION - the major, build & patch versions. |
1361 # - remoting/VERSION - the chromoting patch version (and overrides | 1381 # - remoting/VERSION - the chromoting patch version (and overrides |
1362 # for chrome/VERSION). | 1382 # for chrome/VERSION). |
1363 # - (branding_path) - UI/localizable strings. | 1383 # - (branding_path) - UI/localizable strings. |
1364 # - xxx.ver - per-binary non-localizable strings such as the binary | 1384 # - xxx.ver - per-binary non-localizable strings such as the binary |
1365 # name. | 1385 # name. |
1366 { | 1386 { |
1367 'target_name': 'remoting_version_resources', | 1387 'target_name': 'remoting_version_resources', |
1368 'type': 'none', | 1388 'type': 'none', |
1369 'inputs': [ | 1389 'inputs': [ |
1370 '<(branding_path)', | 1390 '<(branding_path)', |
1371 'version.rc.version', | 1391 'version.rc.version', |
1372 '<(DEPTH)/build/util/LASTCHANGE', | 1392 '<(DEPTH)/build/util/LASTCHANGE', |
1373 '<(remoting_version_path)', | 1393 '<(remoting_version_path)', |
1374 '<(chrome_version_path)', | 1394 '<(chrome_version_path)', |
1375 ], | 1395 ], |
1376 'direct_dependent_settings': { | 1396 'direct_dependent_settings': { |
1377 'include_dirs': [ | 1397 'include_dirs': [ |
1378 '<(SHARED_INTERMEDIATE_DIR)/remoting', | 1398 '<(SHARED_INTERMEDIATE_DIR)/remoting', |
1379 ], | 1399 ], |
1380 }, | 1400 }, |
1381 'sources': [ | 1401 'sources': [ |
1382 'host/plugin/remoting_host_plugin.ver', | 1402 'host/plugin/remoting_host_plugin.ver', |
1383 'host/remoting_desktop.ver', | |
1384 'host/remoting_host_me2me.ver', | |
1385 'host/win/remoting_controller.ver', | 1403 'host/win/remoting_controller.ver', |
| 1404 'host/win/remoting_core.ver', |
1386 'host/win/remoting_daemon.ver', | 1405 'host/win/remoting_daemon.ver', |
| 1406 'host/win/remoting_desktop.ver', |
| 1407 'host/win/remoting_host.ver', |
1387 ], | 1408 ], |
1388 'rules': [ | 1409 'rules': [ |
1389 { | 1410 { |
1390 'rule_name': 'version', | 1411 'rule_name': 'version', |
1391 'extension': 'ver', | 1412 'extension': 'ver', |
1392 'variables': { | 1413 'variables': { |
1393 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', | 1414 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
1394 'template_input_path': 'version.rc.version', | 1415 'template_input_path': 'version.rc.version', |
1395 }, | 1416 }, |
1396 'inputs': [ | 1417 'inputs': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 'message': 'Generating <@(_outputs)', | 1484 'message': 'Generating <@(_outputs)', |
1464 }, | 1485 }, |
1465 ], | 1486 ], |
1466 }, # end of target 'remoting_host_installation' | 1487 }, # end of target 'remoting_host_installation' |
1467 | 1488 |
1468 { | 1489 { |
1469 'target_name': 'remoting_me2me_host_archive', | 1490 'target_name': 'remoting_me2me_host_archive', |
1470 'type': 'none', | 1491 'type': 'none', |
1471 'dependencies': [ | 1492 'dependencies': [ |
1472 'remoting_controller', | 1493 'remoting_controller', |
| 1494 'remoting_core', |
1473 'remoting_daemon', | 1495 'remoting_daemon', |
1474 'remoting_me2me_host', | 1496 'remoting_host_exe', |
1475 ], | 1497 ], |
1476 'compiled_inputs': [ | 1498 'compiled_inputs': [ |
1477 '<(PRODUCT_DIR)/remoting_controller.exe', | 1499 '<(PRODUCT_DIR)/remoting_controller.exe', |
| 1500 '<(PRODUCT_DIR)/remoting_core.dll', |
1478 '<(PRODUCT_DIR)/remoting_daemon.exe', | 1501 '<(PRODUCT_DIR)/remoting_daemon.exe', |
1479 '<(PRODUCT_DIR)/remoting_host.exe', | 1502 '<(PRODUCT_DIR)/remoting_host.exe', |
1480 ], | 1503 ], |
1481 'compiled_inputs_dst': [ | 1504 'compiled_inputs_dst': [ |
1482 'files/remoting_controller.exe', | 1505 'files/remoting_controller.exe', |
| 1506 'files/remoting_core.dll', |
1483 'files/remoting_daemon.exe', | 1507 'files/remoting_daemon.exe', |
1484 'files/remoting_host.exe', | 1508 'files/remoting_host.exe', |
1485 ], | 1509 ], |
1486 'conditions': [ | 1510 'conditions': [ |
1487 ['buildtype == "Official"', { | 1511 ['buildtype == "Official"', { |
1488 'defs': [ | 1512 'defs': [ |
1489 'OFFICIAL_BUILD=1', | 1513 'OFFICIAL_BUILD=1', |
1490 ], | 1514 ], |
1491 }, { # else buildtype != "Official" | 1515 }, { # else buildtype != "Official" |
1492 'defs': [ | 1516 'defs': [ |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2402 '../base/allocator/allocator.gyp:allocator', | 2426 '../base/allocator/allocator.gyp:allocator', |
2403 ], | 2427 ], |
2404 }, | 2428 }, |
2405 ], | 2429 ], |
2406 ], | 2430 ], |
2407 }], # end of 'toolkit_uses_gtk == 1' | 2431 }], # end of 'toolkit_uses_gtk == 1' |
2408 ], # end of 'conditions' | 2432 ], # end of 'conditions' |
2409 }, # end of target 'remoting_unittests' | 2433 }, # end of target 'remoting_unittests' |
2410 ], # end of targets | 2434 ], # end of targets |
2411 } | 2435 } |
OLD | NEW |