aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2011-09-15 03:14:56 +0200
committerMemphiz <memphis@machzwo.de>2011-09-15 14:14:28 +0200
commitf004a5d393e28ae88ca0fb2e22c7efdf486af63e (patch)
tree98cb8ed2010df8389487a82b7d6d5807c3012ea8 /tools
parent870a64e1162255b1b164d92ed61312ecd96b8d80 (diff)
[buildbot] - save dsym files for ios/atv2
Diffstat (limited to 'tools')
-rwxr-xr-xtools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh11
-rwxr-xr-xtools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh12
2 files changed, 23 insertions, 0 deletions
diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
index d011bce0b5..add8ce1623 100755
--- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
+++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
@@ -3,19 +3,30 @@
# Allows us to run mkdeb-xbmc-atv2.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-atv2 folder only
SWITCH=`echo $1 | tr [A-Z] [a-z]`
DIRNAME=`dirname $0`
+DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms
+DSYM_FILENAME=XBMC.frappliance.dSYM
if [ ${SWITCH:-""} = "debug" ]; then
echo "Packaging Debug target for ATV2"
XBMC="$DIRNAME/../../../../build/Debug-iphoneos/XBMC.frappliance"
+ DSYM="$DIRNAME/../../../../build/Debug-iphoneos/$DSYM_FILENAME"
elif [ ${SWITCH:-""} = "release" ]; then
echo "Packaging Release target for ATV2"
XBMC="$DIRNAME/../../../../build/Release-iphoneos/XBMC.frappliance"
+ DSYM="$DIRNAME/../../../../build/Release-iphoneos/$DSYM_FILENAME"
echo $XBMC
else
echo "You need to specify the build target"
exit 1
fi
+#copy bzip2 of dsym to xbmc-depends install dir
+if [ -d $DSYM ]; then
+ if [ -d $DSYM_TARGET_DIR ]; then
+ tar -C $DSYM/.. -c $DSYM_FILENAME/ | bzip2 > $DSYM_TARGET_DIR/`../../../buildbot/gitrev-posix`-${DSYM_FILENAME}.tar.bz2
+ fi
+fi
+
if [ ! -d $XBMC ]; then
echo "XBMC.frappliance not found! are you sure you built $1 target?"
exit 1
diff --git a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh
index acc13149a2..5ff616c23e 100755
--- a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh
+++ b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh
@@ -4,18 +4,30 @@
# Allows us to run mkdeb-xbmc-ios.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-ios folder only
SWITCH=`echo $1 | tr [A-Z] [a-z]`
DIRNAME=`dirname $0`
+DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms
+DSYM_FILENAME=XBMC.app.dSYM
if [ ${SWITCH:-""} = "debug" ]; then
echo "Packaging Debug target for iOS"
XBMC="$DIRNAME/../../../../build/Debug-iphoneos/XBMC.app"
+ DSYM="$DIRNAME/../../../../build/Debug-iphoneos/$DSYM_FILENAME"
elif [ ${SWITCH:-""} = "release" ]; then
echo "Packaging Release target for iOS"
XBMC="$DIRNAME/../../../../build/Release-iphoneos/XBMC.app"
+ DSYM="$DIRNAME/../../../../build/Release-iphoneos/$DSYM_FILENAME"
else
echo "You need to specify the build target"
exit 1
fi
+#copy bzip2 of dsym to xbmc-depends install dir
+if [ -d $DSYM ]; then
+ if [ -d $DSYM_TARGET_DIR ]; then
+ tar -C $DSYM/.. -c $DSYM_FILENAME/ | bzip2 > $DSYM_TARGET_DIR/`../../../buildbot/gitrev-posix`-${DSYM_FILENAME}.tar.bz2
+ fi
+fi
+
+
if [ ! -d $XBMC ]; then
echo "XBMC.app not found! are you sure you built $1 target?"
exit 1