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

Side by Side Diff: remoting/remoting.gyp

Issue 12088049: Merged all Chromoting Host code into remoting_core.dll (Windows). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 10 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
« no previous file with comments | « remoting/host/win/remoting_host.ver ('k') | remoting/version.rc.version » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 '../third_party/GTM/DebugUtils/GTMTypeCasting.h', 449 '../third_party/GTM/DebugUtils/GTMTypeCasting.h',
447 '../third_party/GTM/Foundation/GTMObjectSingleton.h', 450 '../third_party/GTM/Foundation/GTMObjectSingleton.h',
448 '../third_party/GTM/GTMDefines.h', 451 '../third_party/GTM/GTMDefines.h',
449 ], 452 ],
450 'include_dirs': [ 453 'include_dirs': [
451 '../third_party/GTM', 454 '../third_party/GTM',
452 '../third_party/GTM/AppKit', 455 '../third_party/GTM/AppKit',
453 '../third_party/GTM/DebugUtils', 456 '../third_party/GTM/DebugUtils',
454 '../third_party/GTM/Foundation', 457 '../third_party/GTM/Foundation',
455 ], 458 ],
456 'link_settings': { 459 'link_settings': {
457 'libraries': [ 460 'libraries': [
458 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 461 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
459 'libpam.a', 462 'libpam.a',
460 ], 463 ],
461 }, 464 },
462 }], 465 }],
463 ['OS=="win"', { 466 ['OS=="win"', {
464 'dependencies': [ 467 'dependencies': [
465 '../sandbox/sandbox.gyp:sandbox', 468 '../sandbox/sandbox.gyp:sandbox',
466 ], 469 ],
467 }], 470 }],
468 ], 471 ],
469 }, # end of target 'remoting_host' 472 }, # end of target 'remoting_host'
470 473
471 { 474 {
472 'target_name': 'remoting_me2me_host', 475 'target_name': 'remoting_me2me_host_static',
473 'type': 'executable', 476 'type': 'static_library',
474 'variables': { 'enable_wexit_time_destructors': 1, }, 477 'variables': { 'enable_wexit_time_destructors': 1, },
475 'dependencies': [ 478 'dependencies': [
479 '../base/base.gyp:base',
480 '../base/base.gyp:base_i18n',
481 '../media/media.gyp:media',
482 '../net/net.gyp:net',
476 'remoting_base', 483 'remoting_base',
477 'remoting_breakpad', 484 'remoting_breakpad',
478 'remoting_host', 485 'remoting_host',
479 'remoting_host_event_logger', 486 'remoting_host_event_logger',
480 'remoting_host_logging', 487 'remoting_host_logging',
481 'remoting_jingle_glue', 488 'remoting_jingle_glue',
482 '../base/base.gyp:base',
483 '../base/base.gyp:base_i18n',
484 '../media/media.gyp:media',
485 '../net/net.gyp:net',
486 ], 489 ],
487 'defines': [ 490 'defines': [
488 'VERSION=<(version_full)', 491 'VERSION=<(version_full)',
489 ], 492 ],
490 'sources': [ 493 'sources': [
491 'host/config_file_watcher.cc', 494 'host/config_file_watcher.cc',
492 'host/config_file_watcher.h', 495 'host/config_file_watcher.h',
493 'host/curtain_mode.h', 496 'host/curtain_mode.h',
494 'host/curtaining_host_observer.h', 497 'host/curtaining_host_observer.h',
495 'host/curtaining_host_observer.cc', 498 'host/curtaining_host_observer.cc',
496 'host/curtain_mode_linux.cc', 499 'host/curtain_mode_linux.cc',
497 'host/curtain_mode_mac.cc', 500 'host/curtain_mode_mac.cc',
498 'host/curtain_mode_win.cc', 501 'host/curtain_mode_win.cc',
499 'host/posix/signal_handler.cc', 502 'host/posix/signal_handler.cc',
500 'host/posix/signal_handler.h', 503 'host/posix/signal_handler.h',
501 'host/remoting_me2me_host.cc',
502 ], 504 ],
503 'conditions': [ 505 'conditions': [
504 ['os_posix != 1', { 506 ['os_posix != 1', {
505 'sources/': [ 507 'sources/': [
506 ['exclude', '^host/posix/'], 508 ['exclude', '^host/posix/'],
507 ], 509 ],
508 }], 510 }],
509 ['OS=="mac"', {
510 'mac_bundle': 1,
511 'variables': {
512 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p ath) -t "@MAC_HOST_BUNDLE_ID@")',
513 },
514 'xcode_settings': {
515 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist',
516 'INFOPLIST_PREPROCESS': 'YES',
517 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_I NFO="<(copyright_info)"',
518 },
519 'mac_bundle_resources': [
520 'host/disconnect_window.xib',
521 'host/remoting_me2me_host.icns',
522 'host/remoting_me2me_host-Info.plist',
523 ],
524 'mac_bundle_resources!': [
525 'host/remoting_me2me_host-Info.plist',
526 ],
527 'conditions': [
528 ['mac_breakpad==1', {
529 'variables': {
530 # A real .dSYM is needed for dump_syms to operate on.
531 'mac_real_dsym': 1,
532 },
533 'defines': ['MAC_BREAKPAD'],
534 'copies': [
535 {
536 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Res ources',
537 'files': [
538 '<(PRODUCT_DIR)/crash_inspector',
539 '<(PRODUCT_DIR)/crash_report_sender.app'
540 ],
541 },
542 ],
543 }], # mac_breakpad==1
544 ], # conditions
545 }], # OS=mac
546 ['OS=="win"', {
547 'product_name': 'remoting_host',
548 'dependencies': [
549 'remoting_version_resources',
550 ],
551 'sources': [
552 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages .rc',
553 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_me2me_version .rc',
554 'host/host_ui.rc',
555 ],
556 'link_settings': {
557 'libraries': [
558 '-lcomctl32.lib',
559 ],
560 },
561 'msvs_settings': {
562 'VCLinkerTool': {
563 'AdditionalOptions': [
564 "\"/manifestdependency:type='win32' "
565 "name='Microsoft.Windows.Common-Controls' "
566 "version='6.0.0.0' "
567 "processorArchitecture='*' "
568 "publicKeyToken='6595b64144ccf1df' language='*'\"",
569 ],
570 'conditions': [
571 ['buildtype == "Official" and remoting_multi_process == 0', {
572 'AdditionalOptions': [
573 "\"/MANIFESTUAC:level='requireAdministrator' "
574 "uiAccess='true'\"",
575 ],
576 }],
577 ],
578 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib',
579 'OutputFile': '$(OutDir)\\remoting_host.exe',
580 # 2 == /SUBSYSTEM:WINDOWS
581 'SubSystem': '2',
582 },
583 },
584 }],
585 ], # end of 'conditions' 511 ], # end of 'conditions'
586 }, # end of target 'remoting_me2me_host' 512 }, # end of target 'remoting_me2me_host_static'
587 513
588 { 514 {
589 'target_name': 'remoting_host_keygen', 515 'target_name': 'remoting_host_keygen',
590 'type': 'executable', 516 'type': 'executable',
591 'dependencies': [ 517 'dependencies': [
592 'remoting_base', 518 'remoting_base',
593 '../base/base.gyp:base', 519 '../base/base.gyp:base',
594 '../base/base.gyp:base_i18n', 520 '../base/base.gyp:base_i18n',
595 '../crypto/crypto.gyp:crypto', 521 '../crypto/crypto.gyp:crypto',
596 ], 522 ],
(...skipping 24 matching lines...) Expand all
621 'host/setup/oauth_helper.h', 547 'host/setup/oauth_helper.h',
622 'host/setup/pin_validator.cc', 548 'host/setup/pin_validator.cc',
623 'host/setup/pin_validator.h', 549 'host/setup/pin_validator.h',
624 'host/setup/win/auth_code_getter.cc', 550 'host/setup/win/auth_code_getter.cc',
625 'host/setup/win/auth_code_getter.h', 551 'host/setup/win/auth_code_getter.h',
626 ], 552 ],
627 'conditions': [ 553 'conditions': [
628 ['OS=="win"', { 554 ['OS=="win"', {
629 'dependencies': [ 555 'dependencies': [
630 '../google_update/google_update.gyp:google_update', 556 '../google_update/google_update.gyp:google_update',
631 'remoting_elevated_controller', 557 'remoting_controller_idl',
632 ], 558 ],
633 }], 559 }],
634 ], 560 ],
635 }, # end of target 'remoting_host_setup_base' 561 }, # end of target 'remoting_host_setup_base'
636 562
637 { 563 {
638 'target_name': 'remoting_host_plugin', 564 'target_name': 'remoting_host_plugin',
639 'type': 'loadable_module', 565 'type': 'loadable_module',
640 'variables': { 'enable_wexit_time_destructors': 1, }, 566 'variables': { 'enable_wexit_time_destructors': 1, },
641 'product_extension': '<(host_plugin_extension)', 567 'product_extension': '<(host_plugin_extension)',
642 'product_prefix': '<(host_plugin_prefix)', 568 'product_prefix': '<(host_plugin_prefix)',
643 'dependencies': [ 569 'dependencies': [
644 'remoting_base', 570 'remoting_base',
645 'remoting_host', 571 'remoting_host',
646 'remoting_host_event_logger', 572 'remoting_host_event_logger',
647 'remoting_host_logging', 573 'remoting_host_logging',
648 'remoting_host_setup_base', 574 'remoting_host_setup_base',
649 'remoting_jingle_glue', 575 'remoting_jingle_glue',
650 '../net/net.gyp:net', 576 '../net/net.gyp:net',
651 '../third_party/npapi/npapi.gyp:npapi', 577 '../third_party/npapi/npapi.gyp:npapi',
652 ], 578 ],
653 'sources': [ 579 'sources': [
654 'base/dispatch_win.h', 580 'base/dispatch_win.h',
655 'host/host_ui_resource.h', 581 'host/win/core_resource.h',
656 'host/plugin/host_log_handler.cc', 582 'host/plugin/host_log_handler.cc',
657 'host/plugin/host_log_handler.h', 583 'host/plugin/host_log_handler.h',
658 'host/plugin/host_plugin.cc', 584 'host/plugin/host_plugin.cc',
659 'host/plugin/host_plugin_utils.cc', 585 'host/plugin/host_plugin_utils.cc',
660 'host/plugin/host_plugin_utils.h', 586 'host/plugin/host_plugin_utils.h',
661 'host/plugin/host_script_object.cc', 587 'host/plugin/host_script_object.cc',
662 'host/plugin/host_script_object.h', 588 'host/plugin/host_script_object.h',
663 ], 589 ],
664 'conditions': [ 590 'conditions': [
665 ['OS=="mac"', { 591 ['OS=="mac"', {
(...skipping 24 matching lines...) Expand all
690 ['mac_breakpad==1', { 616 ['mac_breakpad==1', {
691 'variables': { 617 'variables': {
692 # A real .dSYM is needed for dump_syms to operate on. 618 # A real .dSYM is needed for dump_syms to operate on.
693 'mac_real_dsym': 1, 619 'mac_real_dsym': 1,
694 }, 620 },
695 }], 621 }],
696 ], # conditions 622 ], # conditions
697 }], # OS=="mac" 623 }], # OS=="mac"
698 [ 'OS=="win"', { 624 [ 'OS=="win"', {
699 'dependencies': [ 625 'dependencies': [
700 'remoting_elevated_controller', 626 'remoting_controller_idl',
701 'remoting_version_resources', 627 'remoting_version_resources',
702 ], 628 ],
703 'include_dirs': [ 629 'include_dirs': [
704 '<(INTERMEDIATE_DIR)', 630 '<(INTERMEDIATE_DIR)',
705 ], 631 ],
706 'sources': [ 632 'sources': [
707 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_plugin_versio n.rc', 633 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_plugin_versio n.rc',
708 'host/host_ui.rc', 634 'host/win/core.rc',
709 'host/plugin/host_plugin.def', 635 'host/plugin/host_plugin.def',
710 ], 636 ],
711 }], 637 }],
712 ], 638 ],
713 }, # end of target 'remoting_host_plugin' 639 }, # end of target 'remoting_host_plugin'
714 640
641 ], # end of 'targets'
642 }], # 'enable_remoting_host==1'
643
644 ['OS!="win" and enable_remoting_host==1', {
645 'targets': [
715 { 646 {
716 'target_name': 'remoting_desktop', 647 'target_name': 'remoting_me2me_host',
717 'type': 'executable', 648 'type': 'executable',
718 'variables': { 'enable_wexit_time_destructors': 1, }, 649 'variables': { 'enable_wexit_time_destructors': 1, },
719 'defines': [
720 'REMOTING_MULTI_PROCESS',
721 ],
722 'dependencies': [ 650 'dependencies': [
651 '../base/base.gyp:base',
652 '../base/base.gyp:base_i18n',
653 '../media/media.gyp:media',
654 '../net/net.gyp:net',
723 'remoting_base', 655 'remoting_base',
724 'remoting_breakpad', 656 'remoting_breakpad',
725 'remoting_host', 657 'remoting_host',
658 'remoting_host_event_logger',
726 'remoting_host_logging', 659 'remoting_host_logging',
727 '../base/base.gyp:base', 660 'remoting_jingle_glue',
728 '../ipc/ipc.gyp:ipc', 661 'remoting_me2me_host_static',
662 ],
663 'defines': [
664 'VERSION=<(version_full)',
729 ], 665 ],
730 'sources': [ 666 'sources': [
731 'host/desktop_process.cc', 667 'host/remoting_me2me_host.cc',
732 'host/desktop_process.h', 668 'host/remoting_me2me_host.h',
733 'host/desktop_process_main.cc',
734 'host/desktop_session_agent.cc',
735 'host/desktop_session_agent.h',
736 'host/desktop_session_agent_posix.cc',
737 'host/desktop_session_agent_win.cc',
738 ], 669 ],
739 'conditions': [ 670 'conditions': [
740 ['OS=="win"', { 671 ['OS=="mac"', {
741 'dependencies': [ 672 'mac_bundle': 1,
742 'remoting_version_resources', 673 'variables': {
674 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p ath) -t "@MAC_HOST_BUNDLE_ID@")',
675 },
676 'xcode_settings': {
677 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist',
678 'INFOPLIST_PREPROCESS': 'YES',
679 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_I NFO="<(copyright_info)"',
680 },
681 'mac_bundle_resources': [
682 'host/disconnect_window.xib',
683 'host/remoting_me2me_host.icns',
684 'host/remoting_me2me_host-Info.plist',
743 ], 685 ],
744 'sources': [ 686 'mac_bundle_resources!': [
745 'host/host_ui.rc', 687 'host/remoting_me2me_host-Info.plist',
746 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_desktop_version.rc ',
747 ], 688 ],
748 'link_settings': { 689 'conditions': [
749 'libraries': [ 690 ['mac_breakpad==1', {
750 '-lcomctl32.lib', 691 'variables': {
751 ], 692 # A real .dSYM is needed for dump_syms to operate on.
752 }, 693 'mac_real_dsym': 1,
753 'msvs_settings': { 694 },
754 'VCLinkerTool': { 695 'defines': ['MAC_BREAKPAD'],
755 'AdditionalOptions': [ 696 'copies': [
756 "\"/manifestdependency:type='win32' " 697 {
757 "name='Microsoft.Windows.Common-Controls' " 698 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Res ources',
758 "version='6.0.0.0' " 699 'files': [
759 "processorArchitecture='*' " 700 '<(PRODUCT_DIR)/crash_inspector',
760 "publicKeyToken='6595b64144ccf1df' language='*'\"", 701 '<(PRODUCT_DIR)/crash_report_sender.app'
702 ],
703 },
761 ], 704 ],
762 'conditions': [ 705 }], # mac_breakpad==1
763 ['buildtype == "Official"', { 706 ], # conditions
764 'AdditionalOptions': [ 707 }], # OS=mac
765 "\"/MANIFESTUAC:level='requireAdministrator' " 708 ], # end of 'conditions'
766 "uiAccess='true'\"", 709 }, # end of target 'remoting_me2me_host'
767 ],
768 }],
769 ],
770 # 2 == /SUBSYSTEM:WINDOWS
771 'SubSystem': '2',
772 },
773 },
774 }],
775 ],
776 }, # end of target 'remoting_desktop'
777 710
778 ], # end of 'targets' 711 ], # end of 'targets'
779 }], # 'enable_remoting_host==1' 712 }], # 'OS!="win" and enable_remoting_host==1'
713
780 714
781 ['OS=="linux" and chromeos==0', { 715 ['OS=="linux" and chromeos==0', {
782 'targets': [ 716 'targets': [
783 # Linux breakpad processing 717 # Linux breakpad processing
784 { 718 {
785 'target_name': 'remoting_linux_symbols', 719 'target_name': 'remoting_linux_symbols',
786 'type': 'none', 720 'type': 'none',
787 'conditions': [ 721 'conditions': [
788 ['linux_dump_symbols==1', { 722 ['linux_dump_symbols==1', {
789 'actions': [ 723 'actions': [
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 }, # end of target 'remoting_host_prefpane' 965 }, # end of target 'remoting_host_prefpane'
1032 ], # end of 'targets' 966 ], # end of 'targets'
1033 'conditions': [ 967 'conditions': [
1034 ['mac_breakpad==1', { 968 ['mac_breakpad==1', {
1035 'targets': [ 969 'targets': [
1036 { 970 {
1037 'target_name': 'remoting_mac_symbols', 971 'target_name': 'remoting_mac_symbols',
1038 'type': 'none', 972 'type': 'none',
1039 'dependencies': [ 973 'dependencies': [
1040 '../breakpad/breakpad.gyp:dump_syms', 974 '../breakpad/breakpad.gyp:dump_syms',
1041 » » 'remoting_me2me_host', 975 'remoting_me2me_host',
1042 ], 976 ],
1043 'actions': [ 977 'actions': [
1044 { 978 {
1045 'action_name': 'dump_symbols', 979 'action_name': 'dump_symbols',
1046 'inputs': [ 980 'inputs': [
1047 '<(DEPTH)/remoting/scripts/mac/dump_product_syms', 981 '<(DEPTH)/remoting/scripts/mac/dump_product_syms',
1048 '<(PRODUCT_DIR)/dump_syms', 982 '<(PRODUCT_DIR)/dump_syms',
1049 '<(PRODUCT_DIR)/remoting_me2me_host.app', 983 '<(PRODUCT_DIR)/remoting_me2me_host.app',
1050 ], 984 ],
1051 'outputs': [ 985 'outputs': [
(...skipping 20 matching lines...) Expand all
1072 'variables': { 'enable_wexit_time_destructors': 1, }, 1006 'variables': { 'enable_wexit_time_destructors': 1, },
1073 'dependencies': [ 1007 'dependencies': [
1074 '../base/base.gyp:base', 1008 '../base/base.gyp:base',
1075 'remoting_host_logging', 1009 'remoting_host_logging',
1076 ], 1010 ],
1077 'sources': [ 1011 'sources': [
1078 'tools/breakpad_tester_win.cc', 1012 'tools/breakpad_tester_win.cc',
1079 ], 1013 ],
1080 }, # end of target 'remoting_breakpad_tester' 1014 }, # end of target 'remoting_breakpad_tester'
1081 { 1015 {
1082 'target_name': 'remoting_elevated_controller', 1016 'target_name': 'remoting_controller_idl',
1083 'type': 'static_library', 1017 'type': 'static_library',
1084 'sources': [ 1018 'sources': [
1085 'host/win/elevated_controller_idl.templ', 1019 'host/win/elevated_controller_idl.templ',
1086 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h', 1020 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h',
1087 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.idl', 1021 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.idl',
1088 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c', 1022 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c',
1089 ], 1023 ],
1090 # This target exports a hard dependency because dependent targets may 1024 # This target exports a hard dependency because dependent targets may
1091 # include elevated_controller.h, a generated header. 1025 # include elevated_controller.h, a generated header.
1092 'hard_dependency': 1, 1026 'hard_dependency': 1,
(...skipping 19 matching lines...) Expand all
1112 '<(version_py_path)', 1046 '<(version_py_path)',
1113 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"', 1047 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"',
1114 '<(RULE_INPUT_PATH)', 1048 '<(RULE_INPUT_PATH)',
1115 '<@(_outputs)', 1049 '<@(_outputs)',
1116 ], 1050 ],
1117 'process_outputs_as_sources': 1, 1051 'process_outputs_as_sources': 1,
1118 'message': 'Generating <@(_outputs)', 1052 'message': 'Generating <@(_outputs)',
1119 'msvs_cygwin_shell': 1, 1053 'msvs_cygwin_shell': 1,
1120 }, 1054 },
1121 ], 1055 ],
1122 }, # end of target 'remoting_elevated_controller' 1056 }, # end of target 'remoting_controller_idl'
1123 { 1057 {
1124 'target_name': 'remoting_configurer', 1058 'target_name': 'remoting_configurer',
1125 'type': 'executable', 1059 'type': 'executable',
1126 'dependencies': [ 1060 'dependencies': [
1127 '../base/base.gyp:base', 1061 '../base/base.gyp:base',
1128 '../crypto/crypto.gyp:crypto', 1062 '../crypto/crypto.gyp:crypto',
1129 'remoting_host', 1063 'remoting_host',
1130 'remoting_host_setup_base', 1064 'remoting_host_setup_base',
1131 ], 1065 ],
1132 'sources': [ 1066 'sources': [
(...skipping 16 matching lines...) Expand all
1149 "version='6.0.0.0' " 1083 "version='6.0.0.0' "
1150 "processorArchitecture='*' " 1084 "processorArchitecture='*' "
1151 "publicKeyToken='6595b64144ccf1df' language='*'\"", 1085 "publicKeyToken='6595b64144ccf1df' language='*'\"",
1152 ], 1086 ],
1153 # 2 == /SUBSYSTEM:WINDOWS 1087 # 2 == /SUBSYSTEM:WINDOWS
1154 'SubSystem': '2', 1088 'SubSystem': '2',
1155 }, 1089 },
1156 }, 1090 },
1157 }, # end of target 'remoting_configurer' 1091 }, # end of target 'remoting_configurer'
1158 { 1092 {
1159 'target_name': 'remoting_controller', 1093 'target_name': 'remoting_core',
1160 'type': 'executable', 1094 'type': 'shared_library',
1161 'variables': { 'enable_wexit_time_destructors': 1, }, 1095 'variables': { 'enable_wexit_time_destructors': 1, },
1162 'defines' : [ 1096 'defines' : [
1163 '_ATL_APARTMENT_THREADED', 1097 '_ATL_APARTMENT_THREADED',
1164 '_ATL_NO_AUTOMATIC_NAMESPACE', 1098 '_ATL_NO_AUTOMATIC_NAMESPACE',
1165 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', 1099 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
1100 'HOST_IMPLEMENTATION',
1166 'STRICT', 1101 'STRICT',
1167 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', 1102 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"',
1103 'VERSION=<(version_full)',
1168 ], 1104 ],
1169 'include_dirs': [
1170 '<(INTERMEDIATE_DIR)',
1171 ],
1172 'dependencies': [
1173 '../base/base.gyp:base',
1174 'remoting_breakpad',
1175 'remoting_elevated_controller',
1176 'remoting_host',
1177 'remoting_host_logging',
1178 'remoting_protocol',
1179 'remoting_version_resources',
1180 ],
1181 'sources': [
1182 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_controller_version.rc' ,
1183 'host/pin_hash.cc',
1184 'host/pin_hash.h',
1185 'host/verify_config_window_win.cc',
1186 'host/verify_config_window_win.h',
1187 'host/win/elevated_controller.cc',
1188 'host/win/elevated_controller.h',
1189 'host/win/elevated_controller.rc',
1190 'host/win/elevated_controller_module.cc',
1191 'host/win/omaha.cc',
1192 'host/win/omaha.h',
1193 ],
1194 'link_settings': {
1195 'libraries': [
1196 '-lcomctl32.lib',
1197 ],
1198 },
1199 'msvs_settings': {
1200 'VCLinkerTool': {
1201 'AdditionalOptions': [
1202 "\"/manifestdependency:type='win32' "
1203 "name='Microsoft.Windows.Common-Controls' "
1204 "version='6.0.0.0' "
1205 "processorArchitecture='*' "
1206 "publicKeyToken='6595b64144ccf1df' language='*'\"",
1207 ],
1208 # 2 == /SUBSYSTEM:WINDOWS
1209 'SubSystem': '2',
1210 },
1211 },
1212 }, # end of target 'remoting_controller'
1213 {
1214 'target_name': 'remoting_daemon',
1215 'type': 'executable',
1216 'variables': { 'enable_wexit_time_destructors': 1, },
1217 'dependencies': [ 1105 'dependencies': [
1218 '../base/base.gyp:base', 1106 '../base/base.gyp:base',
1219 '../base/base.gyp:base_static', 1107 '../base/base.gyp:base_static',
1220 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 1108 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
1221 '../ipc/ipc.gyp:ipc', 1109 '../ipc/ipc.gyp:ipc',
1222 '../media/media.gyp:media', 1110 '../media/media.gyp:media',
1223 '../net/net.gyp:net', 1111 '../net/net.gyp:net',
1224 'remoting_base', 1112 'remoting_base',
1225 'remoting_breakpad', 1113 'remoting_breakpad',
1114 'remoting_controller_idl',
1226 'remoting_host', 1115 'remoting_host',
1116 'remoting_host_event_logger',
1227 'remoting_host_logging', 1117 'remoting_host_logging',
1118 'remoting_me2me_host_static',
1119 'remoting_protocol',
1228 'remoting_version_resources', 1120 'remoting_version_resources',
1229 ], 1121 ],
1230 'sources': [ 1122 'sources': [
1231 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_daemon_version.rc', 1123 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc' ,
1124 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc',
1232 'base/scoped_sc_handle_win.h', 1125 'base/scoped_sc_handle_win.h',
1233 'host/chromoting_messages.cc', 1126 'host/chromoting_messages.cc',
1234 'host/chromoting_messages.h', 1127 'host/chromoting_messages.h',
1235 'host/config_file_watcher.cc', 1128 'host/config_file_watcher.cc',
1236 'host/config_file_watcher.h', 1129 'host/config_file_watcher.h',
1237 'host/daemon_process.cc', 1130 'host/daemon_process.cc',
1238 'host/daemon_process.h', 1131 'host/daemon_process.h',
1239 'host/daemon_process_win.cc', 1132 'host/daemon_process_win.cc',
1133 'host/desktop_process.cc',
1134 'host/desktop_process.h',
1135 'host/desktop_process_main.cc',
1136 'host/desktop_process_main.h',
1240 'host/desktop_session.cc', 1137 'host/desktop_session.cc',
1241 'host/desktop_session.h', 1138 'host/desktop_session.h',
1139 'host/desktop_session_agent.cc',
1140 'host/desktop_session_agent.h',
1141 'host/desktop_session_agent_posix.cc',
1142 'host/desktop_session_agent_win.cc',
1242 'host/desktop_session_win.cc', 1143 'host/desktop_session_win.cc',
1243 'host/desktop_session_win.h', 1144 'host/desktop_session_win.h',
1244 'host/host_exit_codes.h', 1145 'host/host_exit_codes.h',
1146 'host/host_export.h',
1245 'host/ipc_constants.cc', 1147 'host/ipc_constants.cc',
1246 'host/ipc_constants.h', 1148 'host/ipc_constants.h',
1149 'host/remoting_me2me_host.cc',
1150 'host/remoting_me2me_host.h',
1247 'host/sas_injector.h', 1151 'host/sas_injector.h',
1248 'host/sas_injector_win.cc', 1152 'host/sas_injector_win.cc',
1153 'host/verify_config_window_win.cc',
1154 'host/verify_config_window_win.h',
1155 'host/win/core.cc',
1156 'host/win/core.rc',
1157 'host/win/core_resource.h',
1158 'host/win/daemon_process_main.cc',
1159 'host/win/daemon_process_main.h',
1160 'host/win/elevated_controller.cc',
1161 'host/win/elevated_controller.h',
1162 'host/win/elevated_controller_module.cc',
1163 'host/win/elevated_controller_module.h',
1249 'host/win/host_service.cc', 1164 'host/win/host_service.cc',
1250 'host/win/host_service.h', 1165 'host/win/host_service.h',
1251 'host/win/host_service.rc',
1252 'host/win/host_service_resource.h',
1253 'host/win/omaha.cc', 1166 'host/win/omaha.cc',
1254 'host/win/omaha.h', 1167 'host/win/omaha.h',
1255 'host/win/unprivileged_process_delegate.cc', 1168 'host/win/unprivileged_process_delegate.cc',
1256 'host/win/unprivileged_process_delegate.h', 1169 'host/win/unprivileged_process_delegate.h',
1257 'host/win/worker_process_launcher.cc', 1170 'host/win/worker_process_launcher.cc',
1258 'host/win/worker_process_launcher.h', 1171 'host/win/worker_process_launcher.h',
1259 'host/win/wts_console_monitor.h', 1172 'host/win/wts_console_monitor.h',
1260 'host/win/wts_console_observer.h', 1173 'host/win/wts_console_observer.h',
1261 'host/win/wts_console_session_process_driver.cc', 1174 'host/win/wts_console_session_process_driver.cc',
1262 'host/win/wts_console_session_process_driver.h', 1175 'host/win/wts_console_session_process_driver.h',
1263 'host/win/wts_session_process_delegate.cc', 1176 'host/win/wts_session_process_delegate.cc',
1264 'host/win/wts_session_process_delegate.h', 1177 'host/win/wts_session_process_delegate.h',
1265 'host/worker_process_ipc_delegate.h', 1178 'host/worker_process_ipc_delegate.h',
1266 ], 1179 ],
1267 'msvs_settings': { 1180 'msvs_settings': {
1268 'VCLinkerTool': { 1181 'VCLinkerTool': {
1269 'AdditionalDependencies': [ 1182 'AdditionalDependencies': [
1183 'comctl32.lib',
1270 'wtsapi32.lib', 1184 'wtsapi32.lib',
1271 ], 1185 ],
1272 # 2 == /SUBSYSTEM:WINDOWS 1186 'AdditionalOptions': [
1273 'SubSystem': '2', 1187 "\"/manifestdependency:type='win32' "
1188 "name='Microsoft.Windows.Common-Controls' "
1189 "version='6.0.0.0' "
1190 "processorArchitecture='*' "
1191 "publicKeyToken='6595b64144ccf1df' language='*'\"",
1192 ],
1193 },
1194 },
1195 }, # end of target 'remoting_controller_static'
1196 {
1197 'target_name': 'remoting_controller',
1198 'type': 'executable',
1199 'variables': { 'enable_wexit_time_destructors': 1, },
1200 'dependencies': [
1201 'remoting_core',
1202 'remoting_version_resources',
1203 ],
1204 'sources': [
1205 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_controller_version.rc' ,
1206 'host/win/elevated_controller_entry_point.cc',
1207 ],
1208 'msvs_settings': {
1209 'VCLinkerTool': {
1210 'EntryPointSymbol': 'ElevatedControllerEntryPoint',
1211 'IgnoreAllDefaultLibraries': 'true',
1212 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
1213 },
1214 },
1215 }, # end of target 'remoting_controller'
1216 {
1217 'target_name': 'remoting_daemon',
1218 'type': 'executable',
1219 'variables': { 'enable_wexit_time_destructors': 1, },
1220 'dependencies': [
1221 'remoting_core',
1222 'remoting_version_resources',
1223 ],
1224 'sources': [
1225 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_daemon_version.rc',
1226 'host/win/daemon_process_entry_point.cc',
1227 ],
1228 'msvs_settings': {
1229 'VCLinkerTool': {
1230 'EntryPointSymbol': 'DaemonProcessEntryPoint',
1231 'IgnoreAllDefaultLibraries': 'true',
1232 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
1274 }, 1233 },
1275 }, 1234 },
1276 }, # end of target 'remoting_daemon' 1235 }, # end of target 'remoting_daemon'
1277 1236
1237 {
1238 'target_name': 'remoting_desktop',
1239 'type': 'executable',
1240 'variables': { 'enable_wexit_time_destructors': 1, },
1241 'dependencies': [
1242 'remoting_core',
1243 'remoting_version_resources',
1244 ],
1245 'sources': [
1246 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_desktop_version.rc',
1247 'host/win/desktop_process_entry_point.cc',
1248 ],
1249 'msvs_settings': {
1250 'VCLinkerTool': {
1251 'conditions': [
1252 ['buildtype == "Official"', {
1253 'AdditionalOptions': [
1254 "\"/MANIFESTUAC:level='requireAdministrator' "
1255 "uiAccess='true'\"",
1256 ],
1257 }],
1258 ],
1259 'EntryPointSymbol': 'DesktopProcessEntryPoint',
1260 'IgnoreAllDefaultLibraries': 'true',
1261 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
1262 },
1263 },
1264 }, # end of target 'remoting_desktop'
1265
1266 {
1267 'target_name': 'remoting_host_exe',
1268 'product_name': 'remoting_host',
1269 'type': 'executable',
1270 'variables': { 'enable_wexit_time_destructors': 1, },
1271 'dependencies': [
1272 'remoting_core',
1273 'remoting_version_resources',
1274 ],
1275 'sources': [
1276 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_version.rc',
1277 'host/win/host_process_entry_point.cc',
1278 ],
1279 'msvs_settings': {
1280 'VCLinkerTool': {
1281 'conditions': [
1282 ['buildtype == "Official" and remoting_multi_process == 0', {
1283 'AdditionalOptions': [
1284 "\"/MANIFESTUAC:level='requireAdministrator' "
1285 "uiAccess='true'\"",
1286 ],
1287 }],
1288 ],
1289 'EntryPointSymbol': 'HostProcessEntryPoint',
1290 'IgnoreAllDefaultLibraries': 'true',
1291 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib',
1292 'OutputFile': '$(OutDir)\\remoting_host.exe',
1293 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
1294 },
1295 },
1296 }, # end of target 'remoting_host_exe'
1297
1278 # Generates the version information resources for the Windows binaries. 1298 # Generates the version information resources for the Windows binaries.
1279 # The .RC files are generated from the "version.rc.version" template and 1299 # The .RC files are generated from the "version.rc.version" template and
1280 # placed in the "<(SHARED_INTERMEDIATE_DIR)/remoting" folder. 1300 # placed in the "<(SHARED_INTERMEDIATE_DIR)/remoting" folder.
1281 # The substitution strings are taken from: 1301 # The substitution strings are taken from:
1282 # - build/util/LASTCHANGE - the last source code revision. 1302 # - build/util/LASTCHANGE - the last source code revision.
1283 # - chrome/VERSION - the major, build & patch versions. 1303 # - chrome/VERSION - the major, build & patch versions.
1284 # - remoting/VERSION - the chromoting patch version (and overrides 1304 # - remoting/VERSION - the chromoting patch version (and overrides
1285 # for chrome/VERSION). 1305 # for chrome/VERSION).
1286 # - (branding_path) - UI/localizable strings. 1306 # - (branding_path) - UI/localizable strings.
1287 # - xxx.ver - per-binary non-localizable strings such as the binary 1307 # - xxx.ver - per-binary non-localizable strings such as the binary
1288 # name. 1308 # name.
1289 { 1309 {
1290 'target_name': 'remoting_version_resources', 1310 'target_name': 'remoting_version_resources',
1291 'type': 'none', 1311 'type': 'none',
1292 'inputs': [ 1312 'inputs': [
1293 '<(branding_path)', 1313 '<(branding_path)',
1294 'version.rc.version', 1314 'version.rc.version',
1295 '<(DEPTH)/build/util/LASTCHANGE', 1315 '<(DEPTH)/build/util/LASTCHANGE',
1296 '<(remoting_version_path)', 1316 '<(remoting_version_path)',
1297 '<(chrome_version_path)', 1317 '<(chrome_version_path)',
1298 ], 1318 ],
1299 'direct_dependent_settings': { 1319 'direct_dependent_settings': {
1300 'include_dirs': [ 1320 'include_dirs': [
1301 '<(SHARED_INTERMEDIATE_DIR)/remoting', 1321 '<(SHARED_INTERMEDIATE_DIR)/remoting',
1302 ], 1322 ],
1303 }, 1323 },
1304 'sources': [ 1324 'sources': [
1305 'host/plugin/remoting_host_plugin.ver', 1325 'host/plugin/remoting_host_plugin.ver',
1306 'host/remoting_desktop.ver',
1307 'host/remoting_host_me2me.ver',
1308 'host/win/remoting_controller.ver', 1326 'host/win/remoting_controller.ver',
1327 'host/win/remoting_core.ver',
1309 'host/win/remoting_daemon.ver', 1328 'host/win/remoting_daemon.ver',
1329 'host/win/remoting_desktop.ver',
1330 'host/win/remoting_host.ver',
1310 ], 1331 ],
1311 'rules': [ 1332 'rules': [
1312 { 1333 {
1313 'rule_name': 'version', 1334 'rule_name': 'version',
1314 'extension': 'ver', 1335 'extension': 'ver',
1315 'variables': { 1336 'variables': {
1316 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', 1337 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
1317 'template_input_path': 'version.rc.version', 1338 'template_input_path': 'version.rc.version',
1318 }, 1339 },
1319 'inputs': [ 1340 'inputs': [
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 'message': 'Generating <@(_outputs)', 1407 'message': 'Generating <@(_outputs)',
1387 }, 1408 },
1388 ], 1409 ],
1389 }, # end of target 'remoting_host_installation' 1410 }, # end of target 'remoting_host_installation'
1390 1411
1391 { 1412 {
1392 'target_name': 'remoting_me2me_host_archive', 1413 'target_name': 'remoting_me2me_host_archive',
1393 'type': 'none', 1414 'type': 'none',
1394 'dependencies': [ 1415 'dependencies': [
1395 'remoting_controller', 1416 'remoting_controller',
1417 'remoting_core',
1396 'remoting_daemon', 1418 'remoting_daemon',
1397 'remoting_me2me_host', 1419 'remoting_host_exe',
1398 ], 1420 ],
1399 'compiled_inputs': [ 1421 'compiled_inputs': [
1400 '<(PRODUCT_DIR)/remoting_controller.exe', 1422 '<(PRODUCT_DIR)/remoting_controller.exe',
1423 '<(PRODUCT_DIR)/remoting_core.dll',
1401 '<(PRODUCT_DIR)/remoting_daemon.exe', 1424 '<(PRODUCT_DIR)/remoting_daemon.exe',
1402 '<(PRODUCT_DIR)/remoting_host.exe', 1425 '<(PRODUCT_DIR)/remoting_host.exe',
1403 ], 1426 ],
1404 'compiled_inputs_dst': [ 1427 'compiled_inputs_dst': [
1405 'files/remoting_controller.exe', 1428 'files/remoting_controller.exe',
1429 'files/remoting_core.dll',
1406 'files/remoting_daemon.exe', 1430 'files/remoting_daemon.exe',
1407 'files/remoting_host.exe', 1431 'files/remoting_host.exe',
1408 ], 1432 ],
1409 'conditions': [ 1433 'conditions': [
1410 ['buildtype == "Official"', { 1434 ['buildtype == "Official"', {
1411 'defs': [ 1435 'defs': [
1412 'OFFICIAL_BUILD=1', 1436 'OFFICIAL_BUILD=1',
1413 ], 1437 ],
1414 }, { # else buildtype != "Official" 1438 }, { # else buildtype != "Official"
1415 'defs': [ 1439 'defs': [
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2301 '../base/allocator/allocator.gyp:allocator', 2325 '../base/allocator/allocator.gyp:allocator',
2302 ], 2326 ],
2303 }, 2327 },
2304 ], 2328 ],
2305 ], 2329 ],
2306 }], # end of 'toolkit_uses_gtk == 1' 2330 }], # end of 'toolkit_uses_gtk == 1'
2307 ], # end of 'conditions' 2331 ], # end of 'conditions'
2308 }, # end of target 'remoting_unittests' 2332 }, # end of target 'remoting_unittests'
2309 ], # end of targets 2333 ], # end of targets
2310 } 2334 }
OLDNEW
« no previous file with comments | « remoting/host/win/remoting_host.ver ('k') | remoting/version.rc.version » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698