Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (16 sloc) 0.739 kb
#!/bin/sh
# Print list of symbols inside libapplication.so which are not defined in Android libc
# Internal compiler things like '__aeabi_ddiv' or '___Unwind_Resume' may be safely ignored
rm -f exports.txt libapplication.txt
cat exports-eclair.txt > exports.txt
nm -g -p --undefined-only project/obj/local/armeabi/libapplication.so | cut -b 12- | sort > libapplication.txt
for f in project/obj/local/armeabi/*.so; do
if [ "$f" = "project/obj/local/armeabi/libapplication.so" ]; then
continue
fi
nm -g -p --defined-only $f 2>/dev/null | cut -b 12- >> exports.txt
done
cat exports.txt | sort > exports1.txt
mv -f exports1.txt exports.txt
diff libapplication.txt exports.txt | grep \< | cut -d \ -f 2
rm libapplication.txt exports.txt
Jump to Line
Something went wrong with that request. Please try again.