2010-01-02 20:10:08 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2012-02-14 08:35:41 +01:00
|
|
|
usage() {
|
|
|
|
[ $# -gt 0 ] && echo "Error: $1"
|
|
|
|
echo "usage: $0 <dir> <pkg-node> "
|
|
|
|
echo " # e.g. XWords4 or XWords4-dbg and xw4 or xw4_dbg"
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
[ $# -gt 1 ] || usage "dir and node parameters required"
|
|
|
|
|
|
|
|
DIR=$1
|
|
|
|
NODE=$2
|
|
|
|
|
2010-01-02 20:10:08 +01:00
|
|
|
BASE=$(dirname $0)
|
2012-02-14 08:35:41 +01:00
|
|
|
cd $BASE/../${DIR}/bin/classes
|
|
|
|
|
|
|
|
javah -o /tmp/javah$$.txt org.eehouse.android.${NODE}.jni.XwJNI
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.XwJNI
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.DrawCtx
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.UtilCtxt
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.CommsAddrRec
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.TransportProcs
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.JNIUtils
|
2010-01-02 20:10:08 +01:00
|
|
|
cat /tmp/javah$$.txt
|
|
|
|
rm /tmp/javah$$.txt
|