diff options
author | Dan Egnor <egnor@google.com> | 2010-03-05 14:55:02 -0800 |
---|---|---|
committer | Dan Egnor <egnor@google.com> | 2010-03-05 14:59:39 -0800 |
commit | 3e105e9fac6a759cdc9a0cddf67a1bd5f7c4262e (patch) | |
tree | e82e66ae4dfa229ac5c05fedb8b86e786f277808 | |
parent | e6bc35ca3f3ce289624b94243d8d248462453540 (diff) | |
download | platform_external_jsr305-3e105e9fac6a759cdc9a0cddf67a1bd5f7c4262e.tar.gz platform_external_jsr305-3e105e9fac6a759cdc9a0cddf67a1bd5f7c4262e.tar.bz2 platform_external_jsr305-3e105e9fac6a759cdc9a0cddf67a1bd5f7c4262e.zip |
Build jsr305 as a static library, rather than a shared library.
-rw-r--r-- | Android.mk | 12 | ||||
-rw-r--r-- | README.android | 4 |
2 files changed, 7 insertions, 9 deletions
@@ -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. |