annotate android/scripts/ald.sh @ 4882:e725a6a60c32

Ensure compositions are committed when keyboard focus changes. There may be a better way to do this.
author dewyatt
date Wed, 15 Sep 2010 00:28:19 -0400
parents 0f05f2f16fad
children
rev   line source
4699
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
1 #!/bin/bash
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
2 ANDROID_NDK="/home/paul/Projects/gsoc/sdk/android-ndk-r4"
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
3 TOOLS_PATH="$ANDROID_NDK/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin"
4701
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
4 ADDITIONAL_LIBS=`dirname "$0"`/android_libs/
4699
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
5
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
6 export PATH=$TOOLS_PATH:$PATH
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
7
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
8 LD="arm-eabi-ld"
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
9
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
10 #ldflags
4701
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
11 ACC_L=" -rpath-link=$ANDROID_NDK/build/platforms/android-8/arch-arm/usr/lib/ \
4699
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
12 -dynamic-linker=/system/bin/linker \
4701
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
13 -lc -nostdlib \
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
14 $ANDROID_NDK/build/platforms/android-8/arch-arm/usr/lib/crtbegin_static.o \
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
15 -L$ANDROID_NDK/build/platforms/android-8/arch-arm/usr/lib/ \
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
16 -L$ANDROID_NDK/build/prebuilt/linux-x86/arm-eabi-4.2.1/lib/gcc/arm-eabi/4.2.1 \
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4699
diff changeset
17 -L$ADDITIONAL_LIBS "
4699
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
18
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
19 $LD $ACC_L $LDFLAGS $@ -lgcc
925008931501 Added some wrapper shell scripts to make android compiling easier
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
20