Added apache-commons-math-host target

Add a new target to build this for the host, needed for Caliper.

Change-Id: I8b885c52799416e0a6dd79971e2df816e92d728d
diff --git a/Android.mk b/Android.mk
index df7b569..c29ccce 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,6 +17,9 @@
 
 apache-commons-math_src_files := $(call all-java-files-under,src/main/java)
 
+# build target jar
+# ============================================================
+
 include $(CLEAR_VARS)
 LOCAL_MODULE := apache-commons-math
 LOCAL_MODULE_TAGS := optional
@@ -24,3 +27,14 @@
 LOCAL_JAVACFLAGS := -encoding UTF-8
 LOCAL_SDK_VERSION := current
 include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# build host jar
+# ============================================================
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := apache-commons-math-host
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := $(apache-commons-math_src_files)
+LOCAL_JAVACFLAGS := -encoding UTF-8
+LOCAL_SDK_VERSION := current
+include $(BUILD_HOST_JAVA_LIBRARY)