summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2015-12-07 13:26:20 +0000
committerPaul Duffin <paulduffin@google.com>2015-12-07 13:26:20 +0000
commit37d52cb7516118a66779f611efc293173d8b7fb6 (patch)
treecfb0c87cb93d68d48610844d053e6d63aad7a1f3
parentdee0849a9704d532af0b550146cbafbaa6ee1d19 (diff)
downloadapache-commons-math-37d52cb7516118a66779f611efc293173d8b7fb6.tar.gz
Added apache-commons-math-host target
Add a new target to build this for the host, needed for Caliper. Change-Id: I8b885c52799416e0a6dd79971e2df816e92d728d
-rw-r--r--Android.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index df7b569..c29ccce 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,6 +17,9 @@ LOCAL_PATH := $(call my-dir)
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_SRC_FILES := $(apache-commons-math_src_files)
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)