From 7dfa0d76ee2bf38078b295f50aab085747a72fcf Mon Sep 17 00:00:00 2001 From: Bill Napier Date: Tue, 20 Apr 2010 11:18:01 -0700 Subject: Add in build rule to build jsr305 as a host side library as well as a device side library. Change-Id: I2c1e164b60adeb5073a0f83e068859278ee47657 --- Android.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Android.mk b/Android.mk index 3555158..714aa00 100644 --- a/Android.mk +++ b/Android.mk @@ -23,3 +23,12 @@ include $(BUILD_STATIC_JAVA_LIBRARY) # Include this library in the build server's output directory $(call dist-for-goals, droid, $(LOCAL_BUILT_MODULE):jsr305.jar) + +# Also build a host side library +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(call all-java-files-under, ri/src/main/java) + +LOCAL_MODULE := jsr305lib + +include $(BUILD_HOST_JAVA_LIBRARY) -- cgit v1.2.3