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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« build/mac/build_app_dmg ('K') | « build/mac/build_app_dmg ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/common.gypi', 10 '../build/common.gypi',
(...skipping 2748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 ], 2759 ],
2760 'sources': [ 2760 'sources': [
2761 'tools/perf/flush_cache/flush_cache.cc', 2761 'tools/perf/flush_cache/flush_cache.cc',
2762 ], 2762 ],
2763 }, 2763 },
2764 ], 2764 ],
2765 }], 2765 }],
2766 ['OS=="mac"', 2766 ['OS=="mac"',
2767 # On Mac only, add a project target called "package_app" that only 2767 # On Mac only, add a project target called "package_app" that only
2768 # runs a shell script (package_chrome.sh). 2768 # runs a shell script (package_chrome.sh).
2769 # On Mac only, add a project target called "build_app_dmg" that only
2770 # builds a DMG out of the App (eventually will completely replace
2771 # "package_app").
2769 { 'targets': [ 2772 { 'targets': [
2770 { 2773 {
2771 'target_name': 'package_app', 2774 'target_name': 'package_app',
2772 # do NOT place this in the 'all' list; most won't want it. 2775 # do NOT place this in the 'all' list; most won't want it.
2773 # In gyp, booleans are 0/1 not True/False. 2776 # In gyp, booleans are 0/1 not True/False.
2774 'suppress_wildcard': 1, 2777 'suppress_wildcard': 1,
2775 'type': 'none', 2778 'type': 'none',
2776 'dependencies': [ 2779 'dependencies': [
2777 'app', 2780 'app',
2778 '../breakpad/breakpad.gyp:dump_syms', 2781 '../breakpad/breakpad.gyp:dump_syms',
2779 '../breakpad/breakpad.gyp:symupload', 2782 '../breakpad/breakpad.gyp:symupload',
2780 ], 2783 ],
2781 'actions': [ 2784 'actions': [
2782 { 2785 {
2783 'inputs': [], 2786 'inputs': [],
2784 'outputs': [], 2787 'outputs': [],
2785 'action_name': 'package_chrome', 2788 'action_name': 'package_chrome',
2786 'action': ['tools/mac/package_chrome.sh' ], 2789 'action': ['tools/mac/package_chrome.sh' ],
2787 }, 2790 },
2788 ], # 'actions' 2791 ], # 'actions'
2789 }, 2792 },
2793 {
2794 'target_name': 'build_app_dmg',
2795 # do NOT place this in the 'all' list; most won't want it.
2796 # In gyp, booleans are 0/1 not True/False.
2797 'suppress_wildcard': 1,
2798 'type': 'none',
2799 'dependencies': [
2800 'app',
2801 ],
2802 'variables': {
2803 '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
2804 },
2805 'actions': [
2806 {
2807 'inputs': [
2808 '<(build_app_dmg_script)',
2809 '<(PRODUCT_DIR)/<(branding).app',
2810 ],
2811 'outputs': [
2812 '<(PRODUCT_DIR)/<(branding).dmg',
2813 ],
2814 'action_name': 'build_app_dmg',
2815 'action': ['<(build_app_dmg_script)', '<@(branding)'],
2816 },
2817 ], # 'actions'
2818 },
2790 ] 2819 ]
2791 }, { # else: OS != "mac" 2820 }, { # else: OS != "mac"
2792 'targets': [ 2821 'targets': [
2793 { 2822 {
2794 'target_name': 'perf_tests', 2823 'target_name': 'perf_tests',
2795 'type': 'executable', 2824 'type': 'executable',
2796 'dependencies': [ 2825 'dependencies': [
2797 'browser', 2826 'browser',
2798 'common', 2827 'common',
2799 'renderer', 2828 'renderer',
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
3272 # Use outputs of this action as inputs for the main target build. 3301 # Use outputs of this action as inputs for the main target build.
3273 # Seems as a misnomer but makes this happy on Linux (scons). 3302 # Seems as a misnomer but makes this happy on Linux (scons).
3274 'process_outputs_as_sources': 1, 3303 'process_outputs_as_sources': 1,
3275 }, 3304 },
3276 ], # 'actions' 3305 ], # 'actions'
3277 }, 3306 },
3278 ] 3307 ]
3279 }], 3308 }],
3280 ], # 'conditions' 3309 ], # 'conditions'
3281 } 3310 }
OLDNEW
« 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