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

Side by Side Diff: chrome/app/clean_mac_resources

Issue 334040: TODO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 set -e
8
9 # Resources used to live in the .app bundle's Resources directory, but now,
10 # almost all of them have moved into the .framework. To avoid having the old
11 # resources get in the way of non-clobber builds, this script removes them.
12
13 # TODO(mark): Remove this some time after October 20, 2009, allowing two weeks
14 # for the transition.
15
16 RESOURCES_DIR="${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources"
17
18 # app.icns and document.icns are referenced by the app's Info.plist and must
19 # remain in the .app bundle. chrome_debug.log is created by debug builds,
20 # there's no reason to remove it if present.
21 find "${RESOURCES_DIR}" -type f -depth 1 \
22 \! -name app.icns \! -name document.icns \! -name chrome_debug.log \
23 -exec rm -f {} \;
24
25 # Get rid of the locale.pak files in each .lproj directory. The .lprojs
26 # themselves must stay, because they still hold InfoPlist.strings files with
27 # localized strings for things like the Finder's Get Info window.
28 find "${RESOURCES_DIR}" -type f -depth 2 -name locale.pak -exec rm -f {} \;
29
30 # Get rid of the Breakpad helpers (Breakpad-enabled builds only).
31 rm -rf "${RESOURCES_DIR}/crash_report_sender.app" \
32 "${RESOURCES_DIR}/crash_inspector"
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698