summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_VMClassLoader.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-05-29 17:40:41 +0100
committer Vladimir Marko <vmarko@google.com> 2018-05-30 12:50:37 +0100
commit5924a4a73f1a2dcf83877062d67c297a9496b326 (patch)
tree3517a1809ecbdc85533e1a8c5a0a9610cdc36005 /runtime/native/java_lang_VMClassLoader.cc
parent2cffc5d2807096c0b7a07b89f5dda6920c6429f5 (diff)
Move String::SizeOf<> to string.h .
string.h was already indirectly (through class.h) including everything needed for String::SizeOf<>, so move it to the string.h and make those includes direct. Then we can change the object-inl.h to include only string.h, reducing the number of indirectly included files. Test: m test-art-host-gtest Test: m testrunner.py --host --optimizing Change-Id: I51c462c034f205498c539abe6d888be9738d4a6e
Diffstat (limited to 'runtime/native/java_lang_VMClassLoader.cc')
-rw-r--r--runtime/native/java_lang_VMClassLoader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/native/java_lang_VMClassLoader.cc b/runtime/native/java_lang_VMClassLoader.cc
index 0630737d29..b1511c0d88 100644
--- a/runtime/native/java_lang_VMClassLoader.cc
+++ b/runtime/native/java_lang_VMClassLoader.cc
@@ -20,6 +20,7 @@
#include "class_linker.h"
#include "dex/descriptors_names.h"
#include "dex/dex_file_loader.h"
+#include "dex/utf.h"
#include "jni/jni_internal.h"
#include "mirror/class_loader.h"
#include "mirror/object-inl.h"