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

Unified Diff: chrome/chrome.gyp

Issue 113152: Add a simple dmg script to the mac build dir to build a dmg out of the app.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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
« build/mac/build_app_dmg ('K') | « build/mac/build_app_dmg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 15636)
+++ chrome/chrome.gyp (working copy)
@@ -2766,6 +2766,9 @@
['OS=="mac"',
# On Mac only, add a project target called "package_app" that only
# runs a shell script (package_chrome.sh).
+ # On Mac only, add a project target called "build_app_dmg" that only
+ # builds a DMG out of the App (eventually will completely replace
+ # "package_app").
{ 'targets': [
{
'target_name': 'package_app',
@@ -2787,6 +2790,32 @@
},
], # 'actions'
},
+ {
+ 'target_name': 'build_app_dmg',
+ # do NOT place this in the 'all' list; most won't want it.
+ # In gyp, booleans are 0/1 not True/False.
+ 'suppress_wildcard': 1,
+ 'type': 'none',
+ 'dependencies': [
+ 'app',
+ ],
+ 'variables': {
+ 'build_app_dmg_script': '<(DEPTH)/build/mac/build_app_dmg',
Mark Mentovai 2009/05/08 20:18:22 The varname should end with _file or _path for pro
+ },
+ 'actions': [
+ {
+ 'inputs': [
+ '<(build_app_dmg_script)',
+ '<(PRODUCT_DIR)/<(branding).app',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/<(branding).dmg',
+ ],
+ 'action_name': 'build_app_dmg',
+ 'action': ['<(build_app_dmg_script)', '<@(branding)'],
+ },
+ ], # 'actions'
+ },
]
}, { # else: OS != "mac"
'targets': [
« build/mac/build_app_dmg ('K') | « build/mac/build_app_dmg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698