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

Side by Side Diff: chrome/tools/build/mac/dump_product_syms

Issue 9656002: Make helper app, get closer to working content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/tools/build/mac/make_more_helpers.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This script expects the following environment variables to be set. Xcode 7 # This script expects the following environment variables to be set. Xcode
8 # normally sets them: 8 # normally sets them:
9 # 9 #
10 # CONFIGURATION - Release or Debug; this script only operates when Release. 10 # CONFIGURATION - Release or Debug; this script only operates when Release.
11 # SRCROOT - /path/to/chrome/src/chrome 11 # SRCROOT - /path/to/chrome/src/chrome
12 # BUILT_PRODUTS_DIR - /path/to/chrome/src/xcodebuild/Release 12 # BUILT_PRODUTS_DIR - /path/to/chrome/src/xcodebuild/Release
13 # 13 #
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 # travel through these modules. 120 # travel through these modules.
121 case "${SRC_NAME}" in 121 case "${SRC_NAME}" in
122 "${SRC_APP_NAME}.app") 122 "${SRC_APP_NAME}.app")
123 # Google Chrome Canary is produced during packaging. 123 # Google Chrome Canary is produced during packaging.
124 redump_syms_variant "${BPAD_SYM_PATH}" "${SRC_STEM}" \ 124 redump_syms_variant "${BPAD_SYM_PATH}" "${SRC_STEM}" \
125 "${SRC_STEM} Canary" "${SRC_STEM} Canary.app" 125 "${SRC_STEM} Canary" "${SRC_STEM} Canary.app"
126 ;; 126 ;;
127 127
128 "${SRC_APP_NAME} Helper.app") 128 "${SRC_APP_NAME} Helper.app")
129 # Google Chrome Helper EH and Google Chrome Helper NP are produced by 129 # Google Chrome Helper EH and Google Chrome Helper NP are produced by
130 # chrome/tools/build/mac/make_more_helpers.sh. 130 # build/mac/make_more_helpers.sh.
131 redump_syms_variant "${BPAD_SYM_PATH}" "${SRC_STEM}" \ 131 redump_syms_variant "${BPAD_SYM_PATH}" "${SRC_STEM}" \
132 "${SRC_STEM} EH" "${SRC_STEM} EH.app" 132 "${SRC_STEM} EH" "${SRC_STEM} EH.app"
133 redump_syms_variant "${BPAD_SYM_PATH}" "${SRC_STEM}" \ 133 redump_syms_variant "${BPAD_SYM_PATH}" "${SRC_STEM}" \
134 "${SRC_STEM} NP" "${SRC_STEM} NP.app" 134 "${SRC_STEM} NP" "${SRC_STEM} NP.app"
135 ;; 135 ;;
136 esac 136 esac
137 137
138 # Remove the .dSYM archive if the file has changed since the archive was 138 # Remove the .dSYM archive if the file has changed since the archive was
139 # last generated. This will cause a new .dSYM archive to be created. 139 # last generated. This will cause a new .dSYM archive to be created.
140 if [ "${DWARF_PATH}" -nt "${DSYM_TAR_PATH}" ] ; then 140 if [ "${DWARF_PATH}" -nt "${DSYM_TAR_PATH}" ] ; then
141 rm -f "${DSYM_TAR_PATH}" 141 rm -f "${DSYM_TAR_PATH}"
142 fi 142 fi
143 143
144 # Push the .dSYM bundle onto the DSYMS array so that it will be included in 144 # Push the .dSYM bundle onto the DSYMS array so that it will be included in
145 # the .dSYM archive if a new one is needed 145 # the .dSYM archive if a new one is needed
146 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" 146 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}"
147 done 147 done
148 148
149 # Create the archive of .dSYM bundles. 149 # Create the archive of .dSYM bundles.
150 if [ ! -e "${DSYM_TAR_PATH}" ] ; then 150 if [ ! -e "${DSYM_TAR_PATH}" ] ; then
151 # Change directory so that absolute paths aren't included in the archive. 151 # Change directory so that absolute paths aren't included in the archive.
152 (cd "${BUILT_PRODUCTS_DIR}" && 152 (cd "${BUILT_PRODUCTS_DIR}" &&
153 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") 153 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}")
154 fi 154 fi
OLDNEW
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/tools/build/mac/make_more_helpers.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698