Preliminary changes to allow mips target to build.
It compiles, but it doesn't work yet.
Change-Id: I2973a03bd956d8d398b9cfd1047e66fbf3ff439c
diff --git a/src/oat/runtime/context.cc b/src/oat/runtime/context.cc
index 3073377..729f044 100644
--- a/src/oat/runtime/context.cc
+++ b/src/oat/runtime/context.cc
@@ -18,7 +18,9 @@
#if defined(__arm__)
#include "arm/context_arm.h"
-#else
+#elif defined(__mips__)
+#include "mips/context_mips.h"
+#elif defined(__i386__)
#include "x86/context_x86.h"
#endif
@@ -27,8 +29,12 @@
Context* Context::Create() {
#if defined(__arm__)
return new arm::ArmContext();
-#else
+#elif defined(__mips__)
+ return new mips::MipsContext();
+#elif defined(__i386__)
return new x86::X86Context();
+#else
+ UNIMPLEMENTED(WARNING);
#endif
}