summaryrefslogtreecommitdiffstats
path: root/build/mac
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 13:29:07 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 13:29:07 +0000
commit27a126d6b700e05534deb0e947f25f342ff3fa42 (patch)
treed159890130d18ef69e12d4e59846dd673ce3b407 /build/mac
parentdb862f9cf8152f77949a3d896cb7aa87d0916593 (diff)
downloadchromium_src-27a126d6b700e05534deb0e947f25f342ff3fa42.zip
chromium_src-27a126d6b700e05534deb0e947f25f342ff3fa42.tar.gz
chromium_src-27a126d6b700e05534deb0e947f25f342ff3fa42.tar.bz2
Put a proper info.plist into the framework so we can codesign it.
Update the tweak info.plist script to work on frameworks as well as apps. Remove the bundle version since the script manages that. BUG=20503 TEST=The framework should now have an valid info.plist file in it's resources folder. Review URL: http://codereview.chromium.org/178055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/mac')
-rwxr-xr-xbuild/mac/tweak_app_infoplist7
1 files changed, 2 insertions, 5 deletions
diff --git a/build/mac/tweak_app_infoplist b/build/mac/tweak_app_infoplist
index 8110423..f28d04d 100755
--- a/build/mac/tweak_app_infoplist
+++ b/build/mac/tweak_app_infoplist
@@ -65,8 +65,6 @@ BUILD_BRANDING=$1
set -x
-SRC_APP_PATH="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}"
-
if [ "${USE_SVN}" = "1" ] ; then
# Visible in the about:version page.
SVN_INFO=$(svn info "${TOP}" 2>/dev/null || true)
@@ -103,10 +101,9 @@ FULL_VERSION="${MAJOR}.${MINOR}.${BUILD}.${PATCH}"
# 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"
TMP_INFO_PLIST_DEFAULTS="${TEMP_DIR}/Info"
TMP_INFO_PLIST="${TMP_INFO_PLIST_DEFAULTS}.plist"
-cp "${SRC_APP_PATH}/${INFO_PLIST_PATH}" "${TMP_INFO_PLIST}"
+cp "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" "${TMP_INFO_PLIST}"
# Save off the Subversion revision number and source root path in case they're
# needed.
@@ -179,7 +176,7 @@ fi
# applications use xml1 for this, so convert it back after whatever defaults
# might have done.
plutil -convert xml1 "${TMP_INFO_PLIST}"
-cp "${TMP_INFO_PLIST}" "${SRC_APP_PATH}/${INFO_PLIST_PATH}"
+cp "${TMP_INFO_PLIST}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"
# Clean up.
rm -f "${TMP_INFO_PLIST}"