2016-08-15 17:29:28 -07:00
|
|
|
#!/bin/bash
|
2010-01-02 19:10:08 +00:00
|
|
|
|
2012-08-26 20:18:37 -07:00
|
|
|
set -e -u
|
|
|
|
|
2017-06-20 22:05:39 -07:00
|
|
|
NODE=xw4
|
2018-07-20 07:55:07 -07:00
|
|
|
VARIANT=xw4
|
2016-08-15 17:29:28 -07:00
|
|
|
CLASSPATH=${CLASSPATH:-""}
|
2012-08-26 20:18:37 -07:00
|
|
|
|
2012-02-13 23:35:41 -08:00
|
|
|
usage() {
|
|
|
|
[ $# -gt 0 ] && echo "Error: $1"
|
2018-07-20 07:55:07 -07:00
|
|
|
echo "usage: $0 [--variant xw4|xw4d]"
|
2012-02-13 23:35:41 -08:00
|
|
|
exit 1
|
|
|
|
}
|
2017-06-20 22:05:39 -07:00
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
case $1 in
|
2018-07-20 07:55:07 -07:00
|
|
|
--help)
|
|
|
|
usage
|
|
|
|
;;
|
|
|
|
--variant)
|
|
|
|
VARIANT=$2
|
|
|
|
shift
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
usage "unexpected flag $1"
|
|
|
|
;;
|
2017-06-20 22:05:39 -07:00
|
|
|
esac
|
|
|
|
shift
|
2012-08-26 20:18:37 -07:00
|
|
|
done
|
|
|
|
|
2018-07-20 07:55:07 -07:00
|
|
|
cd $(dirname $0)/../app/build/intermediates/classes/${VARIANT}/debug
|
2012-02-13 23:35:41 -08:00
|
|
|
|
2014-10-16 20:16:35 -07:00
|
|
|
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
|
2014-10-16 06:45:24 -07:00
|
|
|
javap -s org.eehouse.android.${NODE}.jni.CommsAddrRec\$CommsConnTypeSet
|
2014-10-16 20:16:35 -07:00
|
|
|
javap -s org.eehouse.android.${NODE}.jni.TransportProcs
|
|
|
|
javap -s org.eehouse.android.${NODE}.jni.JNIUtils
|
|
|
|
javap -s org.eehouse.android.${NODE}.Utils
|
2010-01-02 19:10:08 +00:00
|
|
|
cat /tmp/javah$$.txt
|
|
|
|
rm /tmp/javah$$.txt
|