Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: remoting/remoting.gyp

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

Powered by Google App Engine
This is Rietveld 408576698