Switch to indirect references rather than direct pointers.

This also required a bit of fiddling to break cyclic dependencies,
now "jni_internal.h" needs Mutex from "thread.h".

Change-Id: I1d6fb2d801c190f72255f5e447a0a8a65cc3e673
7 files changed
tree: e96e62e1220adfb93a72ddc91a7a38755cd4942a
  1. Android.mk
  2. build/
  3. src/
  4. tools/