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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "crash_inspector" | 82 "crash_inspector" |
83 "crash_report_sender.app" | 83 "crash_report_sender.app" |
84 "ffmpegsumo.so" | 84 "ffmpegsumo.so" |
| 85 "libmojo_system.dylib" |
85 "libplugin_carbon_interpose.dylib" | 86 "libplugin_carbon_interpose.dylib" |
86 "ppGoogleNaClPluginChrome.plugin" | 87 "ppGoogleNaClPluginChrome.plugin" |
87 "remoting_host_plugin.plugin" | 88 "remoting_host_plugin.plugin" |
88 ) | 89 ) |
89 | 90 |
90 # PDF.plugin is optional. Only include it if present. | 91 # PDF.plugin is optional. Only include it if present. |
91 if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then | 92 if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then |
92 SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin" | 93 SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin" |
93 fi | 94 fi |
94 | 95 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 # the .dSYM archive if a new one is needed | 162 # the .dSYM archive if a new one is needed |
162 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" | 163 DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" |
163 done | 164 done |
164 | 165 |
165 # Create the archive of .dSYM bundles. | 166 # Create the archive of .dSYM bundles. |
166 if [ ! -e "${DSYM_TAR_PATH}" ] ; then | 167 if [ ! -e "${DSYM_TAR_PATH}" ] ; then |
167 # Change directory so that absolute paths aren't included in the archive. | 168 # Change directory so that absolute paths aren't included in the archive. |
168 (cd "${BUILT_PRODUCTS_DIR}" && | 169 (cd "${BUILT_PRODUCTS_DIR}" && |
169 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") | 170 tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") |
170 fi | 171 fi |
OLD | NEW |