Fix multithreaded dex2oat on Mac OS.

Also ensure that we error out rather than writing an empty .oat file if we can't
open one or more .dex files.

(cherry picked from commit 1376f8687373317dc8766ffd5b475c5e294f1fdc)

Change-Id: I60cc6b8e3d47018fa2b58698e8ed14fd6d259029
2 files changed
tree: 299abb1e367c64de42e0f8f45f81acd407b941b7
  1. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/