Refactor oat.h.
Move OatClassType and OatMethodOffsets to oat_file.h and
make all dependencies on oat.h explicit instead of relying
on transitive #includes. This reduces the number of files
that need to be rebuilt for oat version changes.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I89c8e397a4f423043d7a036a995cc33548b25051
diff --git a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
index 87ce674..6a52d24 100644
--- a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
+++ b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
@@ -48,6 +48,7 @@
#include "mirror/object-inl.h"
#include "mirror/object_array-inl.h"
#include "mirror/var_handle.h"
+#include "oat.h"
#include "oat_file.h"
#include "oat_quick_method_header.h"
#include "quick_exception_handler.h"