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

Side by Side Diff: chrome/tools/mac_repack_grit_resources.sh

Issue 28171: Wire up resource bundles on the mac:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
Property Changes:
Name: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/sh
Mark Mentovai 2009/02/26 04:08:42 These scripts are OK, they don't apply directly as
TVL 2009/02/26 12:25:34 Yea, rather then try to make them more fancy to ha
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 -ex
8 GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated"
9 GRIT_DIR="${GENERATED_DIR}/grit"
10 REPACKED_DIR="${GENERATED_DIR}/grit_repacked"
11 mkdir -p "${REPACKED_DIR}"
12
13 # TODO: these need dependency checks
14
15 python "${PROJECT_DIR}/../tools/data_pack/repack.py" \
16 "${REPACKED_DIR}/chrome.pak" \
17 "${GRIT_DIR}/browser_resources.pak" \
18 "${GRIT_DIR}/debugger_resources.pak" \
19 "${GRIT_DIR}/common_resources.pak" \
20 "${GRIT_DIR}/renderer_resources.pak"
21
22 # Need two to repack, but linux avoids that by directly invoking the module, so
23 # we just cp instead.
24 cp -f "${GRIT_DIR}/theme_resources.pak" "${REPACKED_DIR}/theme.pak"
25
26
27 # TODO: we when these are built for each language, we need to loop over
28 # the languages and do the repack on all of them.
29
30 python "${PROJECT_DIR}/../tools/data_pack/repack.py" \
31 "${REPACKED_DIR}/locale_en-US.pak" \
32 "${GRIT_DIR}/generated_resources_en-US.pak" \
33 "${GRIT_DIR}/chromium_strings_en-US.pak" \
34 "${GRIT_DIR}/locale_settings_en-US.pak"
OLDNEW
« chrome/common/resource_bundle_mac.mm ('K') | « chrome/tools/mac_copy_grit_resources.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698