Build emma as a static Java library.

Bug: 6987838
This is just a backport from master.

Change-Id: I44b9bd97a5bf56b8eeaaecdcd4a0c0001af91a06
diff --git a/Android.mk b/Android.mk
index 1914af7..0694aef 100644
--- a/Android.mk
+++ b/Android.mk
@@ -15,9 +15,9 @@
 
 LOCAL_JAVA_RESOURCE_DIRS := core/res pregenerated/res
 
-LOCAL_NO_EMMA_INSTRUMENT := true
+LOCAL_SDK_VERSION := 8
 
-include $(BUILD_JAVA_LIBRARY)
+include $(BUILD_STATIC_JAVA_LIBRARY)