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

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

Issue 1773233002: Media Galleries Partial Deprecation: Remove image metadata & libexif. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove another test Created 4 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
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2012 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.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 declare -a DSYMS 74 declare -a DSYMS
75 75
76 # Everything in SRC_NAMES is required. It's an error for any of these files 76 # Everything in SRC_NAMES is required. It's an error for any of these files
77 # to be missing. 77 # to be missing.
78 SRC_NAMES=( 78 SRC_NAMES=(
79 "${SRC_APP_NAME}.app" 79 "${SRC_APP_NAME}.app"
80 "${SRC_APP_NAME} Framework.framework" 80 "${SRC_APP_NAME} Framework.framework"
81 "${SRC_APP_NAME} Helper.app" 81 "${SRC_APP_NAME} Helper.app"
82 "crashpad_handler" 82 "crashpad_handler"
83 "exif.so"
84 ) 83 )
85 84
86 # PDF.plugin is optional. Only include it if present. 85 # PDF.plugin is optional. Only include it if present.
87 if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then 86 if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then
88 SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin" 87 SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin"
89 fi 88 fi
90 89
91 for SRC_NAME in "${SRC_NAMES[@]}"; do 90 for SRC_NAME in "${SRC_NAMES[@]}"; do
92 # SRC_STEM is the name of the file within the DWARF directory of the .dSYM 91 # SRC_STEM is the name of the file within the DWARF directory of the .dSYM
93 # bundle, which comes from the on-disk name of an executable or dylib within 92 # bundle, which comes from the on-disk name of an executable or dylib within
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 # the .dSYM archive if a new one is needed 170 # the .dSYM archive if a new one is needed
172 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" 171 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}"
173 done 172 done
174 173
175 # Create the archive of .dSYM bundles. 174 # Create the archive of .dSYM bundles.
176 if [ ! -e "${DSYM_TAR_PATH}" ] ; then 175 if [ ! -e "${DSYM_TAR_PATH}" ] ; then
177 # Change directory so that absolute paths aren't included in the archive. 176 # Change directory so that absolute paths aren't included in the archive.
178 (cd "${BUILT_PRODUCTS_DIR}" && 177 (cd "${BUILT_PRODUCTS_DIR}" &&
179 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") 178 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}")
180 fi 179 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698