From a88391404bcb7f994675db3e508697cf96dbaf23 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Tue, 16 Jun 2015 20:38:35 +0100 Subject: Build messageformat against the SDK and not the platform. It builds entirely against public API, so there's no reason to build against the platform. This makes it safe for use from applications. (cherry picked from commit 8ffc099ee3996e65fbff658b3942b59e4b6ac8c5) Change-Id: Ie94c5ec38688833ec3a8f1374e56482fdc94037a --- Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3