Use libziparchive for dalvik zip processing.

The API was similar enough that we could just delegate
to existing zip functions. The existing ZipArchiveHandle /
ZipEntry types have been reused instead of defining new
types.

The old ZipArchive type has been removed because it serves
no useful purpose, and no code was using it anyway.

Change-Id: I47f12344d1e6efc234fed50b1613f9f179a9b03f
Merge "Use libziparchive for dalvik zip processing."
Retry mount() if it fails with EINTR

mount() may fail EINTR, and when it does this causes dalvik to crash.
Use the regular retry macro to avoid these problems.

Change-Id: I436fe4f0fab36c8172b43b8b9caedcb6d8167a4f
Fix libutils dependencies for dexdump & dexlist.

We should always use a libutils SHARED_LIBRARY on the target &
a STATIC_LIBRARY on the host.

(cherry picked from commit 2ac78805e1b4d80308c5c4a48a997abc3a2ac37b)

Change-Id: I06c9b8f0cf663e00da0eeba54c893d8eec1d8a9f
Merge "Fix libutils dependencies for dexdump & dexlist."
Merge "Retry mount() if it fails with EINTR"
Revert "Use libziparchive for dalvik zip processing."

Bug: 12173498

This reverts commit ac4202a846965a6b5a88001a8ad3d5321edeb81c.

Change-Id: Ie48d873bded13e0f73cb1e926dbcd30a66933176
Merge "Revert "Use libziparchive for dalvik zip processing.""
Merge branch 'master' of https://android.googlesource.com/platform/dalvik into HEAD