aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Willem Maarse <maarse@google.com>2014-08-23 15:40:10 -0700
committerJan-Willem Maarse <maarse@google.com>2014-08-23 15:48:16 -0700
commita5e918984692c683ec42bfc9cd33de96f3c6460b (patch)
tree136f2cfe32b57935a2c1d8c1b256476cc47960ff
parent8d05787d6a4b5762d790ccd2a9ed9dc8885986ef (diff)
downloadmessageformat-a5e918984692c683ec42bfc9cd33de96f3c6460b.tar.gz
Build with a specific minimum SDK version
Change-Id: I5cd07172b46ccac0763d8407a25aa684bd7f3e22
-rw-r--r--Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index b55e954..155ba3a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -16,21 +16,21 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := messageformat
+LOCAL_SDK_VERSION := 4
LOCAL_SRC_FILES := $(call all-java-files-under, src/)
-
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := messageformat-tests
-LOCAL_STATIC_JAVA_LIBRARIES := messageformat junit-targetdex
+LOCAL_SDK_VERSION := 4
+LOCAL_STATIC_JAVA_LIBRARIES := messageformat
LOCAL_SRC_FILES := $(call all-java-files-under, tests/src/)
include $(BUILD_STATIC_JAVA_LIBRARY)
# Also build a host side library
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := $(call all-java-files-under, src/)
-
LOCAL_MODULE := messageformat_host
+LOCAL_SRC_FILES := $(call all-java-files-under, src/)
include $(BUILD_HOST_JAVA_LIBRARY)