OLD | NEW |
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" | 83 "exif.so" |
84 "ffmpegsumo.so" | |
85 ) | 84 ) |
86 | 85 |
87 # PDF.plugin is optional. Only include it if present. | 86 # PDF.plugin is optional. Only include it if present. |
88 if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then | 87 if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then |
89 SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin" | 88 SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin" |
90 fi | 89 fi |
91 | 90 |
92 # libpeerconnection.so is optional. Only include it if present. | 91 # libpeerconnection.so is optional. Only include it if present. |
93 if [[ -e "${BUILT_PRODUCTS_DIR}/libpeerconnection.so" ]]; then | 92 if [[ -e "${BUILT_PRODUCTS_DIR}/libpeerconnection.so" ]]; then |
94 SRC_NAMES[${#SRC_NAMES[@]}]="libpeerconnection.so" | 93 SRC_NAMES[${#SRC_NAMES[@]}]="libpeerconnection.so" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 # the .dSYM archive if a new one is needed | 185 # the .dSYM archive if a new one is needed |
187 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" | 186 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" |
188 done | 187 done |
189 | 188 |
190 # Create the archive of .dSYM bundles. | 189 # Create the archive of .dSYM bundles. |
191 if [ ! -e "${DSYM_TAR_PATH}" ] ; then | 190 if [ ! -e "${DSYM_TAR_PATH}" ] ; then |
192 # Change directory so that absolute paths aren't included in the archive. | 191 # Change directory so that absolute paths aren't included in the archive. |
193 (cd "${BUILT_PRODUCTS_DIR}" && | 192 (cd "${BUILT_PRODUCTS_DIR}" && |
194 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") | 193 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") |
195 fi | 194 fi |
OLD | NEW |