summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-05 15:34:09 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-05 15:34:09 +0000
commit58f3549fb5c0ea6f4be8145f9d30ba6374682eb1 (patch)
tree928ab06e6214ed9e30415d416738199213f2f8f2 /android
parent181f6b1aaee8894b3470fb8081d05294a9ffc22e (diff)
downloadrockbox-58f3549fb5c0ea6f4be8145f9d30ba6374682eb1.tar.gz
rockbox-58f3549fb5c0ea6f4be8145f9d30ba6374682eb1.tar.bz2
rockbox-58f3549fb5c0ea6f4be8145f9d30ba6374682eb1.zip
Android port: remove obsoleted build.sh shell script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28490 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android')
-rwxr-xr-xandroid/build.sh63
1 files changed, 0 insertions, 63 deletions
diff --git a/android/build.sh b/android/build.sh
deleted file mode 100755
index a8ed793798..0000000000
--- a/android/build.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-############################################################################
-# __________ __ ___.
-# Open \______ \ ____ ____ | | _\_ |__ _______ ___
-# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
-# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
-# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
-# \/ \/ \/ \/ \/
-# $Id$
-#
-# Copyright (C) 2010 by Maurus Cuelenaere
-#
-# All files in this archive are subject to the GNU General Public License.
-# See the file COPYING in the source tree root for full license agreement.
-#
-# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
-# KIND, either express or implied.
-#
-############################################################################
-
-# TODO: convert this into a Makefile
-
-ROCKBOX_DIR=`dirname $0`
-
-if [ -z "$ANDROID_SDK_PATH" ]; then
- echo "Please set \$ANDROID_SDK_PATH!"
- exit 0
-fi
-
-if [ -z "$ANDROID_PLATFORM_VERSION" ]; then
- ANDROID_PLATFORM_VERSION=8
-fi
-
-ANDROID_PLATFORM="$ANDROID_SDK_PATH/platforms/android-$ANDROID_PLATFORM_VERSION"
-AAPT="$ANDROID_PLATFORM/tools/aapt"
-DX="$ANDROID_PLATFORM/tools/dx"
-APKBUILDER="$ANDROID_SDK_PATH/tools/apkbuilder"
-
-if [ \! -d "$ANDROID_PLATFORM" ]; then
- echo "Can't find Android platform v$ANDROID_PLATFORM_VERSION!"
- exit 0
-fi
-
-if [ -d "$ROCKBOX_DIR/bin" ]; then
- echo "[CLEAN] bin/"
- rm -rf $ROCKBOX_DIR/bin
-fi
-
-mkdir $ROCKBOX_DIR/bin
-
-echo "[AAPT] bin/resources.ap_"
-$AAPT package -f -m -J $ROCKBOX_DIR/gen -M $ROCKBOX_DIR/AndroidManifest.xml -S $ROCKBOX_DIR/res -I $ANDROID_PLATFORM/android.jar -F $ROCKBOX_DIR/bin/resources.ap_
-
-for file in `find $ROCKBOX_DIR \( -wholename '*src/*' -o -wholename '*gen/*' \) -a -name '*.java'`; do
- echo "[JAVAC] `echo $file | sed 's/'$ROCKBOX_DIR'\///'`"
- javac -d $ROCKBOX_DIR/bin -classpath $ANDROID_PLATFORM/android.jar:$ROCKBOX_DIR/bin -sourcepath $ROCKBOX_DIR/src:$ROCKBOX_DIR/gen $file
-done
-
-echo "[DEX] bin/classes.dex"
-$DX --dex --output=$ROCKBOX_DIR/bin/classes.dex $ROCKBOX_DIR/bin
-
-echo "[APKBUILDER] bin/Rockbox.apk"
-$APKBUILDER $ROCKBOX_DIR/bin/Rockbox.apk -u -z $ROCKBOX_DIR/bin/resources.ap_ -f $ROCKBOX_DIR/bin/classes.dex -nf $ROCKBOX_DIR/libs