diff options
author | Mike Dodd <mdodd@google.com> | 2011-02-24 15:40:10 -0800 |
---|---|---|
committer | Mike Dodd <mdodd@google.com> | 2011-02-25 13:35:49 -0800 |
commit | 6df134250feab71edb5915ecaa6268210bca76c5 (patch) | |
tree | 57ffcf1261ab83a52b717ae0a0d9651c1ba7507c | |
parent | 204e2ef0e1a2c2da0087cccb0c9b618d52f1d584 (diff) | |
download | expat-6df134250feab71edb5915ecaa6268210bca76c5.tar.gz |
Build static library for unbundled apps, and build with prebuilt NDK.android-sdk-adt_r16.0.1android-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0_r1android-cts-verifier-4.0.3_r1android-cts-4.0_r1android-cts-4.0.3_r2android-cts-4.0.3_r1android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1android-4.0.3_r1.1android-4.0.3_r1android-4.0.2_r1android-4.0.1_r1.2android-4.0.1_r1.1android-4.0.1_r1ics-mr1-releaseics-mr1ics-mr0-releaseics-mr0ics-factoryrom-2-release
Change-Id: I0e9fc3d9cf1110360af210d3237473e0a829873d
-rw-r--r-- | Android.mk | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -42,8 +42,31 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device # ===================================================== +# Device static library include $(CLEAR_VARS) +ifneq ($(TARGET_ARCH),x86) +LOCAL_NDK_VERSION := 4 +LOCAL_SDK_VERSION := 8 +endif + +LOCAL_SRC_FILES := $(common_SRC_FILES) +LOCAL_CFLAGS += $(common_CFLAGS) +LOCAL_C_INCLUDES += $(common_C_INCLUDES) + +LOCAL_MODULE:= libexpat_static +LOCAL_MODULE_TAGS := optional + +include $(BUILD_STATIC_LIBRARY) + +# Device shared library +include $(CLEAR_VARS) + +ifneq ($(TARGET_ARCH),x86) +LOCAL_NDK_VERSION := 4 +LOCAL_SDK_VERSION := 8 +endif + LOCAL_SRC_FILES := $(common_SRC_FILES) LOCAL_CFLAGS += $(common_CFLAGS) LOCAL_C_INCLUDES += $(common_C_INCLUDES) |