Support for cross compilation.

Refactor architecture specific files into arm and x86 name spaces. Make
assemblers and calling conventions use the factory pattern and an
instruction set specifier.

Change-Id: I20cd7aecacc1ae3d418221d98bbe1d69be9162a7
diff --git a/src/compiler_test.cc b/src/compiler_test.cc
index 5766a4f..2620d14 100644
--- a/src/compiler_test.cc
+++ b/src/compiler_test.cc
@@ -58,8 +58,7 @@
 
 // Disabled due to 10 second runtime on host
 TEST_F(CompilerTest, DISABLED_CompileDexLibCore) {
-  Compiler compiler;
-  compiler.CompileAll(NULL);
+  compiler_->CompileAll(NULL);
 
   // All libcore references should resolve
   const DexFile* dex = java_lang_dex_file_.get();