aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Napier <napier@google.com>2010-07-28 12:06:50 -0700
committerBill Napier <napier@google.com>2010-07-28 12:06:50 -0700
commit5fa17bce47c47d5538beaaef0e38f0576446709c (patch)
treee69ec0e683b3a0a722747559b5ec50fc47a641ec
parentde898857d4a0a1bbdfee734e7e8a9d200a2c5e78 (diff)
downloadguava-gingerbread-mr4-release.tar.gz
Change-Id: I65b65c7b39cfd4811312c244cda5513cc174f2cc
-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)