summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 19:00:36 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 19:00:36 +0000
commit54893e6f5aabd755b9e5135173d112df5ce91e70 (patch)
tree17438f6624abbee51ae75bfa6848b78ede27e31c /chrome/tools
parente5c0259839da7853a4b4ce4e4db31c975043f4f2 (diff)
downloadchromium_src-54893e6f5aabd755b9e5135173d112df5ce91e70.zip
chromium_src-54893e6f5aabd755b9e5135173d112df5ce91e70.tar.gz
chromium_src-54893e6f5aabd755b9e5135173d112df5ce91e70.tar.bz2
Removing the scripts that aren't needed in a gyp based mac build.
Review URL: http://codereview.chromium.org/40116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-xchrome/tools/mac_copy_grit_resources.sh37
-rwxr-xr-xchrome/tools/mac_repack_grit_resources.sh34
2 files changed, 0 insertions, 71 deletions
diff --git a/chrome/tools/mac_copy_grit_resources.sh b/chrome/tools/mac_copy_grit_resources.sh
deleted file mode 100755
index 4752380..0000000
--- a/chrome/tools/mac_copy_grit_resources.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-set -ex
-GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated"
-REPACKED_DIR="${GENERATED_DIR}/grit_repacked"
-APP_RESOURCES_ROOT_DIR="${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-mkdir -p "${APP_RESOURCES_ROOT_DIR}"
-
-
-if [ "${APP_RESOURCES_ROOT_DIR}/chrome.pak" -ot \
- "${REPACKED_DIR}/chrome.pak" ]
-then
- cp -f "${REPACKED_DIR}/chrome.pak" \
- "${APP_RESOURCES_ROOT_DIR}/chrome.pak"
-fi
-
-if [ "${APP_RESOURCES_ROOT_DIR}/theme.pak" -ot \
- "${REPACKED_DIR}/theme.pak" ]
-then
- cp -f "${REPACKED_DIR}/theme.pak" \
- "${APP_RESOURCES_ROOT_DIR}/theme.pak"
-fi
-
-# TODO: this should loop though all the languages and copy them to the
-# right folder (note the name change)
-
-if [ "${APP_RESOURCES_ROOT_DIR}/locale.pak" -ot \
- "${REPACKED_DIR}/locale_en-US.pak" ]
-then
- mkdir -p "${APP_RESOURCES_ROOT_DIR}/en.lproj"
- cp -f "${REPACKED_DIR}/locale_en-US.pak" \
- "${APP_RESOURCES_ROOT_DIR}/en.lproj/locale.pak"
-fi
diff --git a/chrome/tools/mac_repack_grit_resources.sh b/chrome/tools/mac_repack_grit_resources.sh
deleted file mode 100755
index 1fc3596..0000000
--- a/chrome/tools/mac_repack_grit_resources.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-set -ex
-GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated"
-GRIT_DIR="${GENERATED_DIR}/grit"
-REPACKED_DIR="${GENERATED_DIR}/grit_repacked"
-mkdir -p "${REPACKED_DIR}"
-
-# TODO: these need dependency checks
-
-python "${PROJECT_DIR}/../tools/data_pack/repack.py" \
- "${REPACKED_DIR}/chrome.pak" \
- "${GRIT_DIR}/browser_resources.pak" \
- "${GRIT_DIR}/debugger_resources.pak" \
- "${GRIT_DIR}/common_resources.pak" \
- "${GRIT_DIR}/renderer_resources.pak"
-
-# Need two to repack, but linux avoids that by directly invoking the module, so
-# we just cp instead.
-cp -f "${GRIT_DIR}/theme_resources.pak" "${REPACKED_DIR}/theme.pak"
-
-
-# TODO: we when these are built for each language, we need to loop over
-# the languages and do the repack on all of them.
-
-python "${PROJECT_DIR}/../tools/data_pack/repack.py" \
- "${REPACKED_DIR}/locale_en-US.pak" \
- "${GRIT_DIR}/generated_resources_en-US.pak" \
- "${GRIT_DIR}/chromium_strings_en-US.pak" \
- "${GRIT_DIR}/locale_settings_en-US.pak"