aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 62532485a..ddd6028c0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,3 +24,12 @@ include $(BUILD_STATIC_JAVA_LIBRARY)
# Include this library in the build server's output directory
$(call dist-for-goals, droid, $(LOCAL_BUILT_MODULE):guava.jar)
+
+# Also build a host-side library
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_MODULE := guavalib
+LOCAL_STATIC_JAVA_LIBRARIES := jsr305lib
+
+include $(BUILD_HOST_JAVA_LIBRARY)