ART: Clean up WellKnownClasses include.
Delete an unnecessary include propagating the WellKnownClasses
far to widely, and instead fix some transitive users.
Test: m
Change-Id: I88fd49057afe4ddcc548b979baafb8b8682d78ae
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc
index fa9f64c..4ffe238 100644
--- a/compiler/image_writer.cc
+++ b/compiler/image_writer.cc
@@ -73,6 +73,7 @@
#include "runtime.h"
#include "scoped_thread_state_change-inl.h"
#include "utils/dex_cache_arrays_layout-inl.h"
+#include "well_known_classes.h"
using ::art::mirror::Class;
using ::art::mirror::DexCache;
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc
index ca3b191..6532ec1 100644
--- a/compiler/optimizing/instruction_builder.cc
+++ b/compiler/optimizing/instruction_builder.cc
@@ -25,6 +25,7 @@
#include "quicken_info.h"
#include "scoped_thread_state_change-inl.h"
#include "sharpening.h"
+#include "well_known_classes.h"
namespace art {
diff --git a/runtime/art_field-inl.h b/runtime/art_field-inl.h
index 057f58c..2532db9 100644
--- a/runtime/art_field-inl.h
+++ b/runtime/art_field-inl.h
@@ -30,7 +30,6 @@
#include "primitive.h"
#include "scoped_thread_state_change-inl.h"
#include "thread-current-inl.h"
-#include "well_known_classes.h"
namespace art {
diff --git a/runtime/common_throws.cc b/runtime/common_throws.cc
index a46f531..bf2e706 100644
--- a/runtime/common_throws.cc
+++ b/runtime/common_throws.cc
@@ -35,6 +35,7 @@
#include "obj_ptr-inl.h"
#include "thread.h"
#include "verifier/method_verifier.h"
+#include "well_known_classes.h"
namespace art {
diff --git a/runtime/dex_file_annotations.cc b/runtime/dex_file_annotations.cc
index 4225ab9..fe33bde 100644
--- a/runtime/dex_file_annotations.cc
+++ b/runtime/dex_file_annotations.cc
@@ -30,6 +30,7 @@
#include "mirror/method.h"
#include "reflection.h"
#include "thread.h"
+#include "well_known_classes.h"
namespace art {