aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNilesh Poddar <npoddar@codeaurora.org>2014-07-07 21:15:25 -0700
committerLinux Build Service Account <lnxbuild@localhost>2014-11-04 08:23:30 -0700
commita049e3fec0192cd4d3898b098c44afee6eda5318 (patch)
treee176bad1a7f19cf1cd0167cb27f059af24f84971
parentc74d5ba601aafaa6ce59a6a55a77656f069389f9 (diff)
downloadandroid_external_libxml2-cm-12.1.tar.gz
android_external_libxml2-cm-12.1.tar.bz2
android_external_libxml2-cm-12.1.zip
Enable the compilation of shared library Change-Id: Ib065b072ee523252c81e069b4ed8e5dfd1968674
-rw-r--r--Android.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 883f898c..68828f88 100644
--- a/Android.mk
+++ b/Android.mk
@@ -86,6 +86,17 @@ LOCAL_MODULE:= libxml2
include $(BUILD_STATIC_LIBRARY)
+# Shared library
+#=======================================================
+include $(CLEAR_VARS)
+LOCAL_MODULE:= libxml2
+
+LOCAL_SRC_FILES := $(common_SRC_FILES)
+LOCAL_C_INCLUDES := $(common_C_INCLUDES) external/icu4c/common
+LOCAL_SHARED_LIBRARIES := $(common_SHARED_LIBRARIES) libicuuc libdl
+LOCAL_CFLAGS := -DLIBXML_TREE_ENABLED
+
+include $(BUILD_SHARED_LIBRARY)
# For the host
# ========================================================