From 3e105e9fac6a759cdc9a0cddf67a1bd5f7c4262e Mon Sep 17 00:00:00 2001 From: Dan Egnor Date: Fri, 5 Mar 2010 14:55:02 -0800 Subject: Build jsr305 as a static library, rather than a shared library. --- Android.mk | 12 ++++++------ README.android | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Android.mk b/Android.mk index aec5c34..3555158 100644 --- a/Android.mk +++ b/Android.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2009 The Android Open Source Project +# Copyright (C) 2010 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,15 +11,15 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# -# LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(call all-java-files-under, ri/src/main/java) - LOCAL_MODULE := jsr305 +LOCAL_SDK_VERSION := current +LOCAL_SRC_FILES := $(call all-java-files-under, ri/src/main/java) -include $(BUILD_JAVA_LIBRARY) +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) diff --git a/README.android b/README.android index e4cdaf9..71275a5 100644 --- a/README.android +++ b/README.android @@ -4,6 +4,4 @@ License: BSD Description: "Annotations for Software Defect Detection." ie. @Nullable and friends Local Modifications: No local modifications -This APIs in this library are not included on the device. They may, however, be -included in test cases etc. - +This code is built as a static library. -- cgit v1.2.3