Make libffi buildable for the host (target libffi-host), and make it
support darwin-x86.

The host-side build rules are protected by WITH_HOST_DALVIK, so as to
prevent it from building under normal circumstances. This change also
removes make target that runs all the tests, replacing it with a
bona fide shell script which now works for host builds (whereas the
old make target only worked for simulator builds).
7 files changed