summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-24 16:43:04 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-24 16:43:04 +0000
commita2126d5e54f773947d5a400f0caec33f4ea1d930 (patch)
tree81d026b3318923cae14fe25f6fb539f90e672a18 /build
parent90a99dc148bd74520db74fbc80fa3d8639e2d40f (diff)
downloadchromium_src-a2126d5e54f773947d5a400f0caec33f4ea1d930.zip
chromium_src-a2126d5e54f773947d5a400f0caec33f4ea1d930.tar.gz
chromium_src-a2126d5e54f773947d5a400f0caec33f4ea1d930.tar.bz2
Tweak the comment in the lproj fixup script to explain why we need an "en" folder.
Added a string for the products short name, this is current mac only, and is used for the application menu title via the infoplist.strings file. Added source for a tool to build InfoPlist.strings files based on the values within the GRD files. Run the InfoPlist.strings generation tool during the build. Added a script to take a string and list of locale and generate all the versions of the string. Wired up the string locale tool so GYP knows about all the inputs/outputs from the InfoPlist.strings generation tool. Stop setting some of the Info.plist keys that are now covered by the InfoPlist.strings files. Update the mac links script to stop creating a resources link. Add a shim to nuke the helper's resource link so it can get a real folder. Helper in in chrome_paths_mac to find the main app's bundle (that the helper lives in). At startup, if not the browser, set the main bundle to be the parent of this bundle. Fix up the breakpad init to use the mac_util helper for main bundle. TEST=when runnining in the supported languages, Finder Get Info should show a localized copyright. The process names in activity monitor should also be correct and show localized names once the TC work is done. BUG=19019 Review URL: http://codereview.chromium.org/171040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/mac/tweak_app_infoplist14
1 files changed, 0 insertions, 14 deletions
diff --git a/build/mac/tweak_app_infoplist b/build/mac/tweak_app_infoplist
index 6af78e4..8110423 100755
--- a/build/mac/tweak_app_infoplist
+++ b/build/mac/tweak_app_infoplist
@@ -62,11 +62,9 @@ fi
TOP="${SRCROOT}/.."
BUILD_BRANDING=$1
-BRAND_SCRIPT="${TOP}/build/branding_value.sh"
set -x
-APP_NAME=$("${BRAND_SCRIPT}" "${BUILD_BRANDING}" PRODUCT_FULLNAME)
SRC_APP_PATH="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}"
if [ "${USE_SVN}" = "1" ] ; then
@@ -103,14 +101,6 @@ fi
. "${TOP}/chrome/VERSION"
FULL_VERSION="${MAJOR}.${MINOR}.${BUILD}.${PATCH}"
-# Fetch the copyright.
-COPYRIGHT_STRING=$("${BRAND_SCRIPT}" "${BUILD_BRANDING}" COPYRIGHT)
-# Map (c) or (C) to the copyright symbol.
-COPYRIGHT_STRING=$(echo "${COPYRIGHT_STRING}" | sed -e $'s/([cC])/\302\251/g')
-
-# Build the full copyright string
-LONG_COPYRIGHT="${APP_NAME} ${FULL_VERSION}, ${COPYRIGHT_STRING}"
-
# I really hate how "defaults" doesn't take a real pathname but instead insists
# on appending ".plist" to everything.
INFO_PLIST_PATH="Contents/Info.plist"
@@ -134,8 +124,6 @@ fi
# Add public version info so "Get Info" works
defaults write "${TMP_INFO_PLIST_DEFAULTS}" \
- CFBundleGetInfoString -string "${LONG_COPYRIGHT}"
-defaults write "${TMP_INFO_PLIST_DEFAULTS}" \
CFBundleShortVersionString -string "${FULL_VERSION}"
# Honor the 429496.72.95 limit. The maximum comes from splitting 2^32 - 1 into
# 6, 2, 2 digits. The limitation was present in Tiger, but it could have been
@@ -146,8 +134,6 @@ defaults write "${TMP_INFO_PLIST_DEFAULTS}" \
# unique that meetings what LS wants.
defaults write "${TMP_INFO_PLIST_DEFAULTS}" \
CFBundleVersion -string "${BUILD}.${PATCH}"
-defaults write "${TMP_INFO_PLIST_DEFAULTS}" \
- NSHumanReadableCopyright -string "${COPYRIGHT_STRING}"
# Add or remove the Breakpad keys.
if [ "${USE_BREAKPAD}" = "1" ] ; then