diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 21:23:14 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 21:23:14 +0000 |
commit | 64bd978f6fdd086413c3a64765a416c6fd7dd474 (patch) | |
tree | ce15aaee3e1c2ad4d27150d68e2b8d8334bd5b97 /chrome/tools | |
parent | 48e0d064c6cd3aeb99f5e43cf436f56e16128372 (diff) | |
download | chromium_src-64bd978f6fdd086413c3a64765a416c6fd7dd474.zip chromium_src-64bd978f6fdd086413c3a64765a416c6fd7dd474.tar.gz chromium_src-64bd978f6fdd086413c3a64765a416c6fd7dd474.tar.bz2 |
Save .dSYMs and Breakpad symbol files for ppGoogleNaClPluginChrome.plugin and,
if present, PDF.plugin.
BUG=58310
TEST=none
Review URL: http://codereview.chromium.org/7659007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-x | chrome/tools/build/mac/dump_product_syms | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/chrome/tools/build/mac/dump_product_syms b/chrome/tools/build/mac/dump_product_syms index 477429c..58d28e8 100755 --- a/chrome/tools/build/mac/dump_product_syms +++ b/chrome/tools/build/mac/dump_product_syms @@ -49,14 +49,26 @@ DSYM_TAR_PATH="${BUILT_PRODUCTS_DIR}/${SRC_APP_NAME}.dSYM.tar.bz2" declare -a DSYMS -for SRC_NAME in "${SRC_APP_NAME}.app" \ - "${SRC_APP_NAME} Framework.framework" \ - "${SRC_APP_NAME} Helper.app" \ - "crash_inspector" \ - "crash_report_sender.app" \ - "ffmpegsumo.so" \ - "libplugin_carbon_interpose.dylib" \ - "remoting_host_plugin.plugin" ; do +# Everything in SRC_NAMES is required. It's an error for any of these files +# to be missing. +SRC_NAMES=( + "${SRC_APP_NAME}.app" + "${SRC_APP_NAME} Framework.framework" + "${SRC_APP_NAME} Helper.app" + "crash_inspector" + "crash_report_sender.app" + "ffmpegsumo.so" + "libplugin_carbon_interpose.dylib" + "ppGoogleNaClPluginChrome.plugin" + "remoting_host_plugin.plugin" +) + +# PDF.plugin is optional. Only include it if present. +if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then + SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin" +fi + +for SRC_NAME in "${SRC_NAMES[@]}"; do # SRC_STEM is the name of the file within the DWARF directory of the .dSYM # bundle, which comes from the on-disk name of an executable or dylib within # its enclosing .app, .framework or .plugin bundle. This is the bundle name |