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

Side by Side Diff: chrome/chrome_installer.gypi

Issue 2417007: [Mac] packaging process cleanup: Net of this is the zip off the official buil... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | « chrome/chrome_exe.gypi ('k') | chrome/installer/mac/app_resource_rules.plist.in » ('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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', 7 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
8 # 'branding_dir' is set in the 'conditions' section at the bottom. 8 # 'branding_dir' is set in the 'conditions' section at the bottom.
9 }, 9 },
10 'conditions': [ 10 'conditions': [
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 ], 745 ],
746 'outputs': [ 746 'outputs': [
747 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision). <(rpm_arch).rpm', 747 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision). <(rpm_arch).rpm',
748 ], 748 ],
749 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], 749 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
750 }, 750 },
751 ], 751 ],
752 }, 752 },
753 ], 753 ],
754 }], 754 }],
755 ['OS=="mac"', {
Mark Mentovai 2010/06/02 16:26:15 Self-contained here. Good. I’m not rereading this
756 'variables': {
757 'mac_packaging_dir':
758 '<(PRODUCT_DIR)/<(mac_product_name) Packaging',
759 # <(PRODUCT_DIR) expands to $(BUILT_PRODUCTS_DIR), which doesn't
760 # work properly in a shell script, where ${BUILT_PRODUCTS_DIR} is
761 # needed.
762 'mac_packaging_sh_dir':
763 '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Packaging',
764 }, # variables
765 'targets': [
766 {
767 'target_name': 'installer_packaging',
768 'type': 'none',
769 'conditions': [
770 ['buildtype=="Official"', {
771 'actions': [
772 {
773 # Create sign.sh, the script that the packaging system will
774 # use to sign the .app bundle.
775 'action_name': 'Make sign.sh',
776 'variables': {
777 'make_sign_sh_path': 'installer/mac/make_sign_sh',
778 'sign_sh_in_path': 'installer/mac/sign.sh.in',
779 'app_resource_rules_in_path':
780 'installer/mac/app_resource_rules.plist.in',
781 },
782 'inputs': [
783 '<(make_sign_sh_path)',
784 '<(sign_sh_in_path)',
785 '<(app_resource_rules_in_path)',
786 '<(version_path)',
787 ],
788 'outputs': [
789 '<(mac_packaging_dir)/sign.sh',
790 '<(mac_packaging_dir)/app_resource_rules.plist',
791 ],
792 'action': [
793 '<(make_sign_sh_path)',
794 '<(mac_packaging_sh_dir)',
795 '<(mac_product_name)',
796 '<(version_full)',
797 ],
798 },
799 ], # actions
800 }], # buildtype=="Official"
801 ], # conditions
802 'copies': [
803 {
804 # Put the files where the packaging system will find them.
805 # The packager will use these when building the disk image.
806 'destination': '<(mac_packaging_dir)',
807 'files': [
808 # Pull over the known version of pkg-dmg to use.
809 'tools/build/mac/pkg-dmg',
810 ],
811 'conditions': [
812 ['mac_keystone==1', {
813 'files': [
814 'installer/mac/keystone_install.sh',
815 ],
816 }], # mac_keystone
817 ['branding=="Chrome" and buildtype=="Official"', {
818 'files': [
819 'installer/mac/internal/chrome_dmg_background.png',
820 'installer/mac/internal/chrome_dmg_dsstore',
821 'installer/mac/internal/chrome_dmg_icon.icns',
822 'installer/mac/internal/generate_dmgs',
823 ],
824 }], # branding=="Chrome" and buildtype=="Official"
825 ], # conditions
826 },
827 ], # copies
828 }, # target: installer_packaging
829 ], # targets
830 }], # OS=="mac"
755 [ 'branding == "Chrome"', { 831 [ 'branding == "Chrome"', {
756 'variables': { 832 'variables': {
757 'branding_dir': 'app/theme/google_chrome', 833 'branding_dir': 'app/theme/google_chrome',
758 }, 834 },
759 }, { # else branding!="Chrome" 835 }, { # else branding!="Chrome"
760 'variables': { 836 'variables': {
761 'branding_dir': 'app/theme/chromium', 837 'branding_dir': 'app/theme/chromium',
762 }, 838 },
763 }], 839 }],
764 ], 840 ],
765 } 841 }
766 842
767 # Local Variables: 843 # Local Variables:
768 # tab-width:2 844 # tab-width:2
769 # indent-tabs-mode:nil 845 # indent-tabs-mode:nil
770 # End: 846 # End:
771 # vim: set expandtab tabstop=2 shiftwidth=2: 847 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/installer/mac/app_resource_rules.plist.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698