diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 17:40:03 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 17:40:03 +0000 |
commit | a893a5c7756b6b7f3c789012684f1949abd5d9ef (patch) | |
tree | 3fb33f54cf95d3a5bb88e298c454a4c698ebf26b /build | |
parent | 12de04f60fab9339e04de8bb5078e1585ac5c9d9 (diff) | |
download | chromium_src-a893a5c7756b6b7f3c789012684f1949abd5d9ef.zip chromium_src-a893a5c7756b6b7f3c789012684f1949abd5d9ef.tar.gz chromium_src-a893a5c7756b6b7f3c789012684f1949abd5d9ef.tar.bz2 |
Save debugging symbols for plugin_carbon_interpose.dylib.
BUG=18997
TEST=Release build produces plugin_carbon_interpose.dylib-*-i386.breakpad, and
Google Chrome.dsym.tar.bz2 contains plugin_carbon_interpose.dylib.dSYM
Review URL: http://codereview.chromium.org/164325
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/mac/dump_app_syms | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/build/mac/dump_app_syms b/build/mac/dump_app_syms index 130b5a0..ff66732 100755 --- a/build/mac/dump_app_syms +++ b/build/mac/dump_app_syms @@ -49,15 +49,20 @@ DSYM_TAR_PATH="${BUILT_PRODUCTS_DIR}/${SRC_APP_NAME}.dSYM.tar.bz2" declare -a DSYMS -for SRC_BUNDLE in "${SRC_APP_NAME}.app" \ - "${SRC_APP_NAME} Framework.framework" \ - "${SRC_APP_NAME} Helper.app" ; do - SRC_STEM=$(echo "${SRC_BUNDLE}" | sed -Ee 's/^(.*)\..*$/\1/') - SRC_BUNDLE_PATH="${BUILT_PRODUCTS_DIR}/${SRC_BUNDLE}" - DSYM_NAME="${SRC_BUNDLE}.dSYM" +for SRC_NAME in "${SRC_APP_NAME}.app" \ + "${SRC_APP_NAME} Framework.framework" \ + "${SRC_APP_NAME} Helper.app" \ + "plugin_carbon_interpose.dylib" ; 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 or .framework bundle. This is the bundle name without + # .app or .framework appended. For non-bundled types, the stem is just the + # name of the singular file on disk. + SRC_STEM=$(echo "${SRC_NAME}" | sed -Ee 's/^(.*)\.(app|framework)$/\1/') + DSYM_NAME="${SRC_NAME}.dSYM" DSYM_PATH="${BUILT_PRODUCTS_DIR}/${DSYM_NAME}" DWARF_PATH="${DSYM_PATH}/Contents/Resources/DWARF/${SRC_STEM}" - BPAD_SYM_NAME="${SRC_STEM}-${FULL_VERSION}-${ARCH}.breakpad" + BPAD_SYM_NAME="${SRC_NAME}-${FULL_VERSION}-${ARCH}.breakpad" BPAD_SYM_PATH="${BUILT_PRODUCTS_DIR}/${BPAD_SYM_NAME}" # Only run dump_syms if the file has changed since the last dump. |