aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-06-16 20:38:35 +0100
committerNarayan Kamath <narayan@google.com>2015-06-16 20:38:35 +0100
commit8ffc099ee3996e65fbff658b3942b59e4b6ac8c5 (patch)
treecbb2e010b6cef98971e5495ac9f914a3a62f28c4 /Android.mk
parentae0892942b6c7a5e47077e4a5a776bf1958b570a (diff)
downloadmessageformat-8ffc099ee3996e65fbff658b3942b59e4b6ac8c5.tar.gz
Build messageformat against the SDK and not the platform.android-m-preview-2android-m-preview-1
It builds entirely against public API, so there's no reason to build against the platform. This makes it safe for use from applications. Change-Id: I0aeeff829da1d041080736eb30587275a4f2a9bc
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 1f2c796..75ef32c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,11 +18,12 @@ include $(CLEAR_VARS)
LOCAL_MODULE := messageformat
LOCAL_SRC_FILES := $(call all-java-files-under, java/)
LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt
-
+LOCAL_SDK_VERSION := 9
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := messageformat-tests
LOCAL_STATIC_JAVA_LIBRARIES := messageformat junit-targetdex
LOCAL_SRC_FILES := $(call all-java-files-under, javatests/)
+LOCAL_SDK_VERSION := 9
include $(BUILD_STATIC_JAVA_LIBRARY)