| OLD | NEW |
| (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 -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" |
| OLD | NEW |