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

Side by Side Diff: remoting/remoting.gyp

Issue 10392172: Move remoting dark/candle/light steps to external script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trailing ., fix defines Created 8 years, 7 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/dark_and_candle_and_light.py ('k') | no next file » | 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 # Use consistent strings across all platforms. Note that the plugin name 10 # Use consistent strings across all platforms. Note that the plugin name
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 ], 671 ],
672 'conditions': [ 672 'conditions': [
673 ['buildtype == "Official"', { 673 ['buildtype == "Official"', {
674 'wix_defines': [ 674 'wix_defines': [
675 '-dOfficialBuild=1', 675 '-dOfficialBuild=1',
676 ], 676 ],
677 }], 677 }],
678 ], 678 ],
679 'rules': [ 679 'rules': [
680 { 680 {
681 'rule_name': 'candle', 681 'rule_name': 'candle_and_light',
682 'extension': 'wxs', 682 'extension': 'wxs',
683 'inputs': [ 683 'inputs': [
684 '<(PRODUCT_DIR)/remoting_host_controller.exe', 684 '<(PRODUCT_DIR)/remoting_host_controller.exe',
685 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 685 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
686 '<(PRODUCT_DIR)/remoting_service.exe', 686 '<(PRODUCT_DIR)/remoting_service.exe',
687 '<(platformsdk_path)/redist/x86/sas.dll', 687 '<(platformsdk_path)/redist/x86/sas.dll',
688 'resources/chromoting.ico', 688 'resources/chromoting.ico',
689 'candle_and_light.py',
689 ], 690 ],
690 'outputs': [ 691 'outputs': [
691 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', 692 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
692 ], 693 ],
693 'process_outputs_as_sources': 1,
694 'msvs_cygwin_shell': 0, 694 'msvs_cygwin_shell': 0,
695 'action': [ 695 'action': [
696 '<(wix_path)\\candle', 696 'python', 'candle_and_light.py',
697 '-ext', '<(wix_path)\\WixFirewallExtension.dll', 697 '--wix_path', '<(wix_path)',
698 '-ext', '<(wix_path)\\WixUIExtension.dll', 698 '--version', '<(version_full)',
699 '-ext', '<(wix_path)\\WixUtilExtension.dll', 699 '--product_dir', '<(PRODUCT_DIR).',
700 '-dVersion=<(version_full)', 700 '--intermediate_dir', '<(INTERMEDIATE_DIR).',
701 '-dFileSource=<(PRODUCT_DIR).', 701 '--platformsdk_path', '<(platformsdk_path)',
702 '-dIconPath=resources/chromoting.ico', 702 '--input', '<(RULE_INPUT_PATH)',
703 '-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll', 703 '--output', '<@(_outputs)',
704 '<@(_wix_defines)', 704 '<@(_wix_defines)',
705 '-out', '<@(_outputs)',
706 '<(RULE_INPUT_PATH)',
707 ], 705 ],
708 'message': 'Generating <@(_outputs)', 706 'message': 'Generating <@(_outputs)',
709 }, 707 },
710 {
711 'rule_name': 'light',
712 'extension': 'wixobj',
713 'inputs': [
714 '<(PRODUCT_DIR)/remoting_host_controller.exe',
715 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
716 '<(PRODUCT_DIR)/remoting_service.exe',
717 '<(platformsdk_path)/redist/x86/sas.dll',
718 'resources/chromoting.ico',
719 ],
720 'outputs': [
721 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
722 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb',
723 ],
724 'msvs_cygwin_shell': 0,
725 'action': [
726 '<(wix_path)\\light',
727 '-ext', '<(wix_path)\\WixFirewallExtension.dll',
728 '-ext', '<(wix_path)\\WixUIExtension.dll',
729 '-ext', '<(wix_path)\\WixUtilExtension.dll',
730 '-cultures:en-us',
731 '-sw1076',
732 '-dVersion=<(version_full)',
733 '-dFileSource=<(PRODUCT_DIR).',
734 '-dIconPath=resources/chromoting.ico',
735 '-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll',
736 '<@(_wix_defines)',
737 '-out', '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
738 '<(RULE_INPUT_PATH)',
739 ],
740 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
741 },
742 ], 708 ],
743 }, # end of target 'remoting_host_installation' 709 }, # end of target 'remoting_host_installation'
744 710
745 # The 'remoting_host_installation_unittest' target is used to make sure 711 # The 'remoting_host_installation_unittest' target is used to make sure
746 # that the code signing job (running outside of Chromium tree) will be 712 # that the code signing job (running outside of Chromium tree) will be
747 # able to unpack and re-assemble the installation successfully. 713 # able to unpack and re-assemble the installation successfully.
748 # 714 #
749 # *** If this target fails to compile the code signing job will fail 715 # *** If this target fails to compile the code signing job will fail
750 # too, breaking the official build. *** 716 # too, breaking the official build. ***
751 # 717 #
752 # N.B. The command lines passed to the WiX tools here should be in sync 718 # N.B. The command lines passed to the WiX tools here should be in sync
753 # with the code signing script. 719 # with the code signing script.
754 { 720 {
755 'target_name': 'remoting_host_installation_unittest', 721 'target_name': 'remoting_host_installation_unittest',
756 'type': 'none', 722 'type': 'none',
757 'dependencies': [ 723 'dependencies': [
758 'remoting_host_installation', 724 'remoting_host_installation',
759 ], 725 ],
760 'sources': [ 726 'sources': [
761 '<(PRODUCT_DIR)/chromoting.msi', 727 '<(PRODUCT_DIR)/chromoting.msi',
762 ], 728 ],
763 'outputs': [ 729 'outputs': [
764 '<(INTERMEDIATE_DIR)/chromoting-test.msi', 730 '<(INTERMEDIATE_DIR)/chromoting-test.msi',
765 ], 731 ],
766 'rules': [ 732 'rules': [
767 { 733 {
768 'rule_name': 'dark', 734 'rule_name': 'dark_and_candle_and_light',
769 'extension': 'msi', 735 'extension': 'msi',
736 'inputs': [
737 'dark_and_candle_and_light.py',
738 ],
770 'outputs': [ 739 'outputs': [
771 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wxs', 740 '<(INTERMEDIATE_DIR)/chromoting-test.msi',
772 ],
773 'process_outputs_as_sources': 1,
774 'msvs_cygwin_shell': 0,
775 'action': [
776 '<(wix_path)\\dark',
777 '<(RULE_INPUT_PATH)',
778 '-o', '<@(_outputs)',
779 '-x', '<(INTERMEDIATE_DIR).',
780 ],
781 'message': 'Dark: unpacking <(RULE_INPUT_PATH)',
782 },
783 {
784 'rule_name': 'candle',
785 'extension': 'wxs',
786 'outputs': [
787 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj',
788 ],
789 'process_outputs_as_sources': 1,
790 'msvs_cygwin_shell': 0,
791 'action': [
792 '<(wix_path)\\candle',
793 '<(RULE_INPUT_PATH)',
794 '-o', '<@(_outputs)',
795 '-ext', '<(wix_path)\\WixFirewallExtension.dll',
796 ],
797 'message': 'Candle: compiling <(RULE_INPUT_PATH)',
798 },
799 {
800 'rule_name': 'light',
801 'extension': 'wixobj',
802 'outputs': [
803 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT)-test.msi',
804 ], 741 ],
805 'msvs_cygwin_shell': 0, 742 'msvs_cygwin_shell': 0,
806 'action': [ 743 'action': [
807 '<(wix_path)\\light', 744 'python',
808 '<(RULE_INPUT_PATH)', 745 'dark_and_candle_and_light.py',
809 '-o', '<@(_outputs)', 746 '--wix_path', '<(wix_path)',
810 '-ext', '<(wix_path)\\WixFirewallExtension.dll', 747 '--input', '<(RULE_INPUT_PATH)',
811 '-sw1076', 748 '--intermediate_dir', '<(INTERMEDIATE_DIR).',
749 '--output', '<@(_outputs)',
812 ], 750 ],
813 'message': 'Light: linking <(RULE_INPUT_PATH)', 751 'message': 'Unpacking and repacking to <@(_outputs)',
814 }, 752 },
815 ], 753 ],
816 }, # end of target 'remoting_host_installation_unittest' 754 }, # end of target 'remoting_host_installation_unittest'
817 ], # end of 'targets' 755 ], # end of 'targets'
818 }], # '<(wix_path) != ""' 756 }], # '<(wix_path) != ""'
819 757
820 ], # end of 'conditions' 758 ], # end of 'conditions'
821 759
822 'targets': [ 760 'targets': [
823 { 761 {
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 '../base/allocator/allocator.gyp:allocator', 1707 '../base/allocator/allocator.gyp:allocator',
1770 ], 1708 ],
1771 }, 1709 },
1772 ], 1710 ],
1773 ], 1711 ],
1774 }], 1712 }],
1775 ], # end of 'conditions' 1713 ], # end of 'conditions'
1776 }, # end of target 'remoting_unittests' 1714 }, # end of target 'remoting_unittests'
1777 ], # end of targets 1715 ], # end of targets
1778 } 1716 }
OLDNEW
« no previous file with comments | « remoting/dark_and_candle_and_light.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698