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 '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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', | 648 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', |
649 ], | 649 ], |
650 'msvs_cygwin_shell': 0, | 650 'msvs_cygwin_shell': 0, |
651 'msvs_quote_cmd': 0, | 651 'msvs_quote_cmd': 0, |
652 'action': [ | 652 'action': [ |
653 '"<(wix_path)\\light"', | 653 '"<(wix_path)\\light"', |
654 '-ext "<(wix_path)\\WixFirewallExtension.dll"', | 654 '-ext "<(wix_path)\\WixFirewallExtension.dll"', |
655 '-ext "<(wix_path)\\WixUIExtension.dll"', | 655 '-ext "<(wix_path)\\WixUIExtension.dll"', |
656 '-ext "<(wix_path)\\WixUtilExtension.dll"', | 656 '-ext "<(wix_path)\\WixUtilExtension.dll"', |
657 '-cultures:en-us', | 657 '-cultures:en-us', |
| 658 '-sw1076', |
658 '-dVersion=<(version_full)', | 659 '-dVersion=<(version_full)', |
659 '"-dFileSource=<(PRODUCT_DIR)."', | 660 '"-dFileSource=<(PRODUCT_DIR)."', |
660 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll"', | 661 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll"', |
661 '<@(_wix_defines)', | 662 '<@(_wix_defines)', |
662 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', | 663 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', |
663 '"<(RULE_INPUT_PATH)"', | 664 '"<(RULE_INPUT_PATH)"', |
664 ], | 665 ], |
665 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', | 666 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
666 }, | 667 }, |
667 ], | 668 ], |
668 }, # end of target 'remoting_host_installation' | 669 }, # end of target 'remoting_host_installation' |
| 670 |
| 671 # The 'remoting_host_installation_unittest' target is used to make sure |
| 672 # that the code signing job (running outside of Chromium tree) will be |
| 673 # able to unpack and re-assemble the installation successfully. |
| 674 # |
| 675 # *** If this target fails to compile the code signing job will fail |
| 676 # too, breaking the official build. *** |
| 677 # |
| 678 # N.B. The command lines passed to the WiX tools here should be in sync |
| 679 # with the code signing script. |
| 680 { |
| 681 'target_name': 'remoting_host_installation_unittest', |
| 682 'type': 'none', |
| 683 'dependencies': [ |
| 684 'remoting_host_installation', |
| 685 ], |
| 686 'sources': [ |
| 687 '<(PRODUCT_DIR)/chromoting.msi', |
| 688 ], |
| 689 'outputs': [ |
| 690 '<(INTERMEDIATE_DIR)/chromoting-test.msi', |
| 691 ], |
| 692 'rules': [ |
| 693 { |
| 694 'rule_name': 'dark', |
| 695 'extension': 'msi', |
| 696 'outputs': [ |
| 697 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wxs', |
| 698 ], |
| 699 'process_outputs_as_sources': 1, |
| 700 'msvs_cygwin_shell': 0, |
| 701 'msvs_quote_cmd': 0, |
| 702 'action': [ |
| 703 '"<(wix_path)\\dark"', |
| 704 '"<(RULE_INPUT_PATH)"', |
| 705 '-o <@(_outputs)', |
| 706 '-o <@(_outputs)', |
| 707 '-x <(INTERMEDIATE_DIR)', |
| 708 ], |
| 709 'message': 'Dark: unpacking <(RULE_INPUT_PATH)', |
| 710 }, |
| 711 { |
| 712 'rule_name': 'candle', |
| 713 'extension': 'wxs', |
| 714 'outputs': [ |
| 715 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', |
| 716 ], |
| 717 'process_outputs_as_sources': 1, |
| 718 'msvs_cygwin_shell': 0, |
| 719 'msvs_quote_cmd': 0, |
| 720 'action': [ |
| 721 '"<(wix_path)\\candle"', |
| 722 '"<(RULE_INPUT_PATH)"', |
| 723 '-o <@(_outputs)', |
| 724 '-ext "<(wix_path)\\WixFirewallExtension.dll"', |
| 725 ], |
| 726 'message': 'Candle: compiling <(RULE_INPUT_PATH)', |
| 727 }, |
| 728 { |
| 729 'rule_name': 'light', |
| 730 'extension': 'wixobj', |
| 731 'outputs': [ |
| 732 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT)-test.msi', |
| 733 ], |
| 734 'msvs_cygwin_shell': 0, |
| 735 'msvs_quote_cmd': 0, |
| 736 'action': [ |
| 737 '"<(wix_path)\\light"', |
| 738 '"<(RULE_INPUT_PATH)"', |
| 739 '-o <@(_outputs)', |
| 740 '-ext "<(wix_path)\\WixFirewallExtension.dll"', |
| 741 '-sw1076', |
| 742 ], |
| 743 'message': 'Light: linking <(RULE_INPUT_PATH)', |
| 744 }, |
| 745 ], |
| 746 }, # end of target 'remoting_host_installation_unittest' |
669 ], # end of 'targets' | 747 ], # end of 'targets' |
670 }], # '<(wix_path) != ""' | 748 }], # '<(wix_path) != ""' |
671 | 749 |
672 ], # end of 'conditions' | 750 ], # end of 'conditions' |
673 | 751 |
674 'targets': [ | 752 'targets': [ |
675 { | 753 { |
676 'target_name': 'remoting_client_plugin', | 754 'target_name': 'remoting_client_plugin', |
677 'type': 'static_library', | 755 'type': 'static_library', |
678 'variables': { 'enable_wexit_time_destructors': 1, }, | 756 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1618 '../base/allocator/allocator.gyp:allocator', | 1696 '../base/allocator/allocator.gyp:allocator', |
1619 ], | 1697 ], |
1620 }, | 1698 }, |
1621 ], | 1699 ], |
1622 ], | 1700 ], |
1623 }], | 1701 }], |
1624 ], # end of 'conditions' | 1702 ], # end of 'conditions' |
1625 }, # end of target 'remoting_unittests' | 1703 }, # end of target 'remoting_unittests' |
1626 ], # end of targets | 1704 ], # end of targets |
1627 } | 1705 } |
OLD | NEW |