summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Dodd <mdodd@google.com>2011-02-24 15:40:10 -0800
committerMike Dodd <mdodd@google.com>2011-02-25 13:35:49 -0800
commit6df134250feab71edb5915ecaa6268210bca76c5 (patch)
tree57ffcf1261ab83a52b717ae0a0d9651c1ba7507c
parent204e2ef0e1a2c2da0087cccb0c9b618d52f1d584 (diff)
downloadexpat-6df134250feab71edb5915ecaa6268210bca76c5.tar.gz
Change-Id: I0e9fc3d9cf1110360af210d3237473e0a829873d
-rw-r--r--Android.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index bcba01c1..d8139419 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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)