Enable compilation of libxml2

Enable the compilation of shared library

Change-Id: Ib065b072ee523252c81e069b4ed8e5dfd1968674
diff --git a/Android.mk b/Android.mk
index 883f898..68828f8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -86,6 +86,17 @@
 
 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
 # ========================================================