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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/installer/mac/app_resource_rules.plist.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_installer.gypi
===================================================================
--- chrome/chrome_installer.gypi (revision 48713)
+++ chrome/chrome_installer.gypi (working copy)
@@ -752,6 +752,82 @@
},
],
}],
+ ['OS=="mac"', {
Mark Mentovai 2010/06/02 16:26:15 Self-contained here. Good. I’m not rereading this
+ 'variables': {
+ 'mac_packaging_dir':
+ '<(PRODUCT_DIR)/<(mac_product_name) Packaging',
+ # <(PRODUCT_DIR) expands to $(BUILT_PRODUCTS_DIR), which doesn't
+ # work properly in a shell script, where ${BUILT_PRODUCTS_DIR} is
+ # needed.
+ 'mac_packaging_sh_dir':
+ '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Packaging',
+ }, # variables
+ 'targets': [
+ {
+ 'target_name': 'installer_packaging',
+ 'type': 'none',
+ 'conditions': [
+ ['buildtype=="Official"', {
+ 'actions': [
+ {
+ # Create sign.sh, the script that the packaging system will
+ # use to sign the .app bundle.
+ 'action_name': 'Make sign.sh',
+ 'variables': {
+ 'make_sign_sh_path': 'installer/mac/make_sign_sh',
+ 'sign_sh_in_path': 'installer/mac/sign.sh.in',
+ 'app_resource_rules_in_path':
+ 'installer/mac/app_resource_rules.plist.in',
+ },
+ 'inputs': [
+ '<(make_sign_sh_path)',
+ '<(sign_sh_in_path)',
+ '<(app_resource_rules_in_path)',
+ '<(version_path)',
+ ],
+ 'outputs': [
+ '<(mac_packaging_dir)/sign.sh',
+ '<(mac_packaging_dir)/app_resource_rules.plist',
+ ],
+ 'action': [
+ '<(make_sign_sh_path)',
+ '<(mac_packaging_sh_dir)',
+ '<(mac_product_name)',
+ '<(version_full)',
+ ],
+ },
+ ], # actions
+ }], # buildtype=="Official"
+ ], # conditions
+ 'copies': [
+ {
+ # Put the files where the packaging system will find them.
+ # The packager will use these when building the disk image.
+ 'destination': '<(mac_packaging_dir)',
+ 'files': [
+ # Pull over the known version of pkg-dmg to use.
+ 'tools/build/mac/pkg-dmg',
+ ],
+ 'conditions': [
+ ['mac_keystone==1', {
+ 'files': [
+ 'installer/mac/keystone_install.sh',
+ ],
+ }], # mac_keystone
+ ['branding=="Chrome" and buildtype=="Official"', {
+ 'files': [
+ 'installer/mac/internal/chrome_dmg_background.png',
+ 'installer/mac/internal/chrome_dmg_dsstore',
+ 'installer/mac/internal/chrome_dmg_icon.icns',
+ 'installer/mac/internal/generate_dmgs',
+ ],
+ }], # branding=="Chrome" and buildtype=="Official"
+ ], # conditions
+ },
+ ], # copies
+ }, # target: installer_packaging
+ ], # targets
+ }], # OS=="mac"
[ 'branding == "Chrome"', {
'variables': {
'branding_dir': 'app/theme/google_chrome',
« 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