OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'remoting_host_linux.gypi', | 7 'remoting_host_linux.gypi', |
8 'remoting_host_mac.gypi', | 8 'remoting_host_mac.gypi', |
9 'remoting_host_win.gypi', | 9 'remoting_host_win.gypi', |
10 ], | 10 ], |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 'type': 'none', | 569 'type': 'none', |
570 'conditions': [ | 570 'conditions': [ |
571 [ 'OS == "win"', { | 571 [ 'OS == "win"', { |
572 'variables': { | 572 'variables': { |
573 'me2me_host_path': 'remoting_native_messaging_host.exe', | 573 'me2me_host_path': 'remoting_native_messaging_host.exe', |
574 'it2me_host_path': 'remote_assistance_host.exe', | 574 'it2me_host_path': 'remote_assistance_host.exe', |
575 }, | 575 }, |
576 }], | 576 }], |
577 [ 'OS == "mac"', { | 577 [ 'OS == "mac"', { |
578 'variables': { | 578 'variables': { |
579 'me2me_host_bundle_name': '<!(python <(version_py_path) -f <(bra
nding_path) -t "@MAC_HOST_BUNDLE_NAME@")', | |
580 'native_messaging_host_bundle_name': '<!(python <(version_py_pat
h) -f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_NAME@")', | |
581 'remote_assistance_host_bundle_name': '<!(python <(version_py_pa
th) -f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_NAME@")', | |
582 'me2me_host_path': | 579 'me2me_host_path': |
583 '/Library/PrivilegedHelperTools/<(me2me_host_bundle_name)/Co
ntents/MacOS/<(native_messaging_host_bundle_name)/Contents/MacOS/native_messagin
g_host', | 580 '/Library/PrivilegedHelperTools/org.chromium.chromoting.me2m
e_host.app/Contents/MacOS/native_messaging_host', |
584 'it2me_host_path': | 581 'it2me_host_path': |
585 '/Library/PrivilegedHelperTools/<(me2me_host_bundle_name)/Co
ntents/MacOS/<(remote_assistance_host_bundle_name)/Contents/MacOS/remote_assista
nce_host', | 582 '/Library/PrivilegedHelperTools/org.chromium.chromoting.me2m
e_host.app/Contents/MacOS/remote_assistance_host', |
586 }, | 583 }, |
587 }], | 584 }], |
588 [ 'OS != "mac" and OS != "win"', { | 585 [ 'OS != "mac" and OS != "win"', { |
589 'variables': { | 586 'variables': { |
590 'me2me_host_path': | 587 'me2me_host_path': |
591 '/opt/google/chrome-remote-desktop/native-messaging-host', | 588 '/opt/google/chrome-remote-desktop/native-messaging-host', |
592 'it2me_host_path': | 589 'it2me_host_path': |
593 '/opt/google/chrome-remote-desktop/remote-assistance-host', | 590 '/opt/google/chrome-remote-desktop/remote-assistance-host', |
594 }, | 591 }, |
595 }], | 592 }], |
(...skipping 28 matching lines...) Expand all Loading... |
624 'target_name': 'remoting_infoplist_strings', | 621 'target_name': 'remoting_infoplist_strings', |
625 'type': 'none', | 622 'type': 'none', |
626 'dependencies': [ | 623 'dependencies': [ |
627 'remoting_resources', | 624 'remoting_resources', |
628 ], | 625 ], |
629 'sources': [ | 626 'sources': [ |
630 'host/plugin/host_plugin-InfoPlist.strings.jinja2', | 627 'host/plugin/host_plugin-InfoPlist.strings.jinja2', |
631 'host/remoting_me2me_host-InfoPlist.strings.jinja2', | 628 'host/remoting_me2me_host-InfoPlist.strings.jinja2', |
632 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', | 629 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', |
633 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strin
gs.jinja2', | 630 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strin
gs.jinja2', |
634 'host/setup/native_messaging_host-InfoPlist.strings.jinja2', | |
635 'host/it2me/remote_assistance_host-InfoPlist.strings.jinja2', | |
636 ], | 631 ], |
637 'rules': [{ | 632 'rules': [{ |
638 'rule_name': 'generate_strings', | 633 'rule_name': 'generate_strings', |
639 'extension': 'jinja2', | 634 'extension': 'jinja2', |
640 'inputs': [ | 635 'inputs': [ |
641 '<(remoting_localize_path)', | 636 '<(remoting_localize_path)', |
642 ], | 637 ], |
643 'outputs': [ | 638 'outputs': [ |
644 '<!@pymod_do_main(remoting_localize --locale_output ' | 639 '<!@pymod_do_main(remoting_localize --locale_output ' |
645 '"<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{jso
n_suffix}.lproj/InfoPlist.strings" ' | 640 '"<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{jso
n_suffix}.lproj/InfoPlist.strings" ' |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_us
e_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))',
{ | 744 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_us
e_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))',
{ |
750 'dependencies': [ | 745 'dependencies': [ |
751 '../base/allocator/allocator.gyp:allocator', | 746 '../base/allocator/allocator.gyp:allocator', |
752 ], | 747 ], |
753 }], # OS=linux | 748 }], # OS=linux |
754 ], # end of 'conditions' | 749 ], # end of 'conditions' |
755 }, # end of target 'remoting_me2me_host' | 750 }, # end of target 'remoting_me2me_host' |
756 { | 751 { |
757 'target_name': 'remoting_me2me_native_messaging_host', | 752 'target_name': 'remoting_me2me_native_messaging_host', |
758 'type': 'executable', | 753 'type': 'executable', |
759 'product_name': 'native_messaging_host', | 754 'product_name': 'remoting_native_messaging_host', |
760 'variables': { 'enable_wexit_time_destructors': 1, }, | 755 'variables': { 'enable_wexit_time_destructors': 1, }, |
761 'dependencies': [ | 756 'dependencies': [ |
762 '../base/base.gyp:base', | 757 '../base/base.gyp:base', |
763 'remoting_breakpad', | |
764 'remoting_host', | 758 'remoting_host', |
765 'remoting_host_setup_base', | 759 'remoting_host_setup_base', |
766 'remoting_infoplist_strings', | |
767 'remoting_native_messaging_base', | 760 'remoting_native_messaging_base', |
768 ], | 761 ], |
769 'defines': [ | |
770 'VERSION=<(version_full)', | |
771 ], | |
772 'sources': [ | 762 'sources': [ |
773 'host/setup/me2me_native_messaging_host.cc', | 763 'host/setup/me2me_native_messaging_host.cc', |
774 'host/setup/me2me_native_messaging_host.h', | 764 'host/setup/me2me_native_messaging_host.h', |
775 'host/setup/me2me_native_messaging_host_entry_point.cc', | 765 'host/setup/me2me_native_messaging_host_entry_point.cc', |
776 'host/setup/me2me_native_messaging_host_main.cc', | 766 'host/setup/me2me_native_messaging_host_main.cc', |
777 'host/setup/me2me_native_messaging_host_main.h', | 767 'host/setup/me2me_native_messaging_host_main.h', |
778 ], | 768 ], |
779 'conditions': [ | 769 'conditions': [ |
780 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 770 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
781 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_us
e_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))',
{ | 771 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_us
e_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))',
{ |
782 'dependencies': [ | 772 'dependencies': [ |
783 '../base/allocator/allocator.gyp:allocator', | 773 '../base/allocator/allocator.gyp:allocator', |
784 ], | 774 ], |
785 }], | 775 }], |
786 ['OS=="mac"', { | |
787 'mac_bundle': 1, | |
788 'variables': { | |
789 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p
ath) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_ID@")', | |
790 }, | |
791 'xcode_settings': { | |
792 'INFOPLIST_FILE': 'host/setup/native_messaging_host-Info.plist', | |
793 'INFOPLIST_PREPROCESS': 'YES', | |
794 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f
ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"', | |
795 }, | |
796 'mac_bundle_resources': [ | |
797 'host/setup/native_messaging_host-Info.plist', | |
798 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT
_DIR) <(remoting_locales))', | |
799 | |
800 # Localized strings for 'Info.plist' | |
801 '<!@pymod_do_main(remoting_localize --locale_output ' | |
802 '"<(SHARED_INTERMEDIATE_DIR)/remoting/native_messaging_host-
InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" ' | |
803 '--print_only <(remoting_locales))', | |
804 ], | |
805 'mac_bundle_resources!': [ | |
806 'host/setup/native_messaging_host-Info.plist', | |
807 ], | |
808 'conditions': [ | |
809 ['mac_breakpad==1', { | |
810 'variables': { | |
811 # A real .dSYM is needed for dump_syms to operate on. | |
812 'mac_real_dsym': 1, | |
813 }, | |
814 'copies': [ | |
815 { | |
816 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Res
ources', | |
817 'files': [ | |
818 '<(PRODUCT_DIR)/crash_inspector', | |
819 '<(PRODUCT_DIR)/crash_report_sender.app' | |
820 ], | |
821 }, | |
822 ], | |
823 'dependencies': [ | |
824 '../breakpad/breakpad.gyp:dump_syms', | |
825 ], | |
826 'postbuilds': [ | |
827 { | |
828 'postbuild_name': 'Dump Symbols', | |
829 'variables': { | |
830 'dump_product_syms_path': | |
831 'scripts/mac/dump_product_syms', | |
832 }, | |
833 'action': [ | |
834 '<(dump_product_syms_path)', | |
835 '<(version_full)', | |
836 ], | |
837 }, # end of postbuild 'dump_symbols' | |
838 ], # end of 'postbuilds' | |
839 }], # mac_breakpad==1 | |
840 ], # conditions | |
841 }], # OS=mac | |
842 ], | 776 ], |
843 }, # end of target 'remoting_me2me_native_messaging_host' | 777 }, # end of target 'remoting_me2me_native_messaging_host' |
844 { | 778 { |
845 'target_name': 'remoting_it2me_native_messaging_host', | 779 'target_name': 'remoting_it2me_native_messaging_host', |
846 'type': 'executable', | 780 'type': 'executable', |
847 'product_name': 'remote_assistance_host', | |
848 'variables': { 'enable_wexit_time_destructors': 1, }, | 781 'variables': { 'enable_wexit_time_destructors': 1, }, |
849 'dependencies': [ | 782 'dependencies': [ |
850 '../base/base.gyp:base', | 783 '../base/base.gyp:base', |
851 'remoting_base', | 784 'remoting_base', |
852 'remoting_breakpad', | 785 'remoting_breakpad', |
853 'remoting_host', | 786 'remoting_host', |
854 'remoting_it2me_host_static', | 787 'remoting_it2me_host_static', |
855 'remoting_native_messaging_base', | 788 'remoting_native_messaging_base', |
856 'remoting_protocol', | 789 'remoting_protocol', |
857 ], | 790 ], |
858 'defines': [ | |
859 'VERSION=<(version_full)', | |
860 ], | |
861 'sources': [ | 791 'sources': [ |
862 'host/it2me/it2me_native_messaging_host_entry_point.cc', | 792 'host/it2me/it2me_native_messaging_host_entry_point.cc', |
863 'host/it2me/it2me_native_messaging_host_main.cc', | 793 'host/it2me/it2me_native_messaging_host_main.cc', |
864 'host/it2me/it2me_native_messaging_host_main.h', | 794 'host/it2me/it2me_native_messaging_host_main.h', |
865 ], | 795 ], |
866 'conditions': [ | 796 'conditions': [ |
867 ['OS=="linux"', { | 797 ['OS=="linux"', { |
868 'dependencies': [ | 798 'dependencies': [ |
869 # Always use GTK on Linux, even for Aura builds. | 799 # Always use GTK on Linux, even for Aura builds. |
870 '../build/linux/system.gyp:gtk', | 800 '../build/linux/system.gyp:gtk', |
871 ], | 801 ], |
872 }], | 802 }], |
873 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 803 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
874 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_us
e_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))',
{ | 804 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_us
e_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))',
{ |
875 'dependencies': [ | 805 'dependencies': [ |
876 '../base/allocator/allocator.gyp:allocator', | 806 '../base/allocator/allocator.gyp:allocator', |
877 ], | 807 ], |
878 }], | 808 }], |
879 ['OS=="mac"', { | |
880 'mac_bundle': 1, | |
881 'variables': { | |
882 'host_bundle_id': '<!(python <(version_py_path) -f <(branding_p
ath) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_ID@")', | |
883 }, | |
884 'xcode_settings': { | |
885 'INFOPLIST_FILE': 'host/it2me/remote_assistance_host-Info.plist'
, | |
886 'INFOPLIST_PREPROCESS': 'YES', | |
887 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_f
ull)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"', | |
888 }, | |
889 'mac_bundle_resources': [ | |
890 '<(PRODUCT_DIR)/icudtl.dat', | |
891 'host/it2me/remote_assistance_host-Info.plist', | |
892 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT
_DIR) <(remoting_locales))', | |
893 | |
894 # Localized strings for 'Info.plist' | |
895 '<!@pymod_do_main(remoting_localize --locale_output ' | |
896 '"<(SHARED_INTERMEDIATE_DIR)/remoting/remote_assistance_host
-InfoPlist.strings/@{json_suffix}.lproj/InfoPlist.strings" ' | |
897 '--print_only <(remoting_locales))', | |
898 ], | |
899 'mac_bundle_resources!': [ | |
900 'host/it2me/remote_assistance_host-Info.plist', | |
901 ], | |
902 'conditions': [ | |
903 ['mac_breakpad==1', { | |
904 'variables': { | |
905 # A real .dSYM is needed for dump_syms to operate on. | |
906 'mac_real_dsym': 1, | |
907 }, | |
908 'copies': [ | |
909 { | |
910 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Res
ources', | |
911 'files': [ | |
912 '<(PRODUCT_DIR)/crash_inspector', | |
913 '<(PRODUCT_DIR)/crash_report_sender.app' | |
914 ], | |
915 }, | |
916 ], | |
917 'dependencies': [ | |
918 '../breakpad/breakpad.gyp:dump_syms', | |
919 ], | |
920 'postbuilds': [ | |
921 { | |
922 'postbuild_name': 'Dump Symbols', | |
923 'variables': { | |
924 'dump_product_syms_path': | |
925 'scripts/mac/dump_product_syms', | |
926 }, | |
927 'action': [ | |
928 '<(dump_product_syms_path)', | |
929 '<(version_full)', | |
930 ], | |
931 }, # end of postbuild 'dump_symbols' | |
932 ], # end of 'postbuilds' | |
933 }], # mac_breakpad==1 | |
934 ], # conditions | |
935 }], # OS=mac | |
936 ], | 809 ], |
937 }, # end of target 'remoting_it2me_native_messaging_host' | 810 }, # end of target 'remoting_it2me_native_messaging_host' |
938 ], # end of 'targets' | 811 ], # end of 'targets' |
939 }], # OS!="win" | 812 }], # OS!="win" |
940 | 813 |
941 ], # end of 'conditions' | 814 ], # end of 'conditions' |
942 } | 815 } |
OLD | NEW |