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

Side by Side Diff: remoting/remoting.gyp

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