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

Unified Diff: build/mac/build_app_dmg

Issue 334049: Move Mac build tool scripts only used by chrome.gyp from build/mac into chrome/tools/build/mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/mac/README.chromium ('k') | build/mac/dump_app_syms » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/mac/build_app_dmg
===================================================================
--- build/mac/build_app_dmg (revision 30217)
+++ build/mac/build_app_dmg (working copy)
@@ -1,43 +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.
-
-# Normally you don't want to build a dmg out of a debug build.
-if [ "${CONFIGURATION}" != "Release" ] ; then
- echo "warning: building dmg in non-release mode" >&2
-fi
-
-# Make sure we got the branding passed to us
-if [ $# -ne 1 ]; then
- echo "error: missing branding as an argument" >&2
- exit 1
-fi
-
-# fail on anything from here out
-set -e
-
-TOP="${SRCROOT}/.."
-PKG_DMG="${TOP}/build/mac/pkg-dmg"
-BRAND_SCRIPT="${TOP}/build/branding_value.sh"
-
-BUILD_BRANDING=$1
-
-# show things as we run them
-set -x
-
-APP_NAME=$("${BRAND_SCRIPT}" "${BUILD_BRANDING}" PRODUCT_FULLNAME)
-DMG_NAME=$(echo "${APP_NAME}" | sed "s/ //g")
-
-SRC_APP_PATH="${BUILT_PRODUCTS_DIR}/${APP_NAME}.app"
-VOL_NAME="${APP_NAME}"
-DST_DMG_PATH="${BUILT_PRODUCTS_DIR}/${DMG_NAME}"
-
-# Call the real working
-"${PKG_DMG}" --source /var/empty \
- --target "${DST_DMG_PATH}" \
- --format UDBZ \
- --volname "${VOL_NAME}" \
- --tempdir "${TEMP_DIR}" \
- --copy "${SRC_APP_PATH}/:/${APP_NAME}.app/"
« no previous file with comments | « build/mac/README.chromium ('k') | build/mac/dump_app_syms » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698