aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2012-07-18 18:13:38 -0700
committerLinux Build Service Account <lnxbuild@localhost>2013-10-31 19:06:45 -0600
commit56d2590ef715e6f2c155d1ec348a7e62c5894092 (patch)
tree0042ff535b3bbbb02ca7faf845efe932d14c15e1
parenta2bb4a267ee7c62c48bf6089e3da51d8283a97f3 (diff)
downloadandroid_external_libxml2-56d2590ef715e6f2c155d1ec348a7e62c5894092.tar.gz
android_external_libxml2-56d2590ef715e6f2c155d1ec348a7e62c5894092.tar.bz2
android_external_libxml2-56d2590ef715e6f2c155d1ec348a7e62c5894092.zip
Change-Id: Icda85207a296e8a8257a71a4072116a45b07e2ce (cherry picked from commit ff128398e5b21c08c267568e27d884624b4dc6ae) (cherry picked from commit 3f9ce951c9b4c55cd5363a4dac1b88249851f046) (cherry picked from commit 5f4d599b3b70553e6070a70094be2d556c90d860)
-rw-r--r--Android.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 08bf11f9..a15bdb06 100644
--- a/Android.mk
+++ b/Android.mk
@@ -59,12 +59,24 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(common_SRC_FILES)
LOCAL_C_INCLUDES += $(common_C_INCLUDES) external/icu4c/common
LOCAL_SHARED_LIBRARIES += $(common_SHARED_LIBRARIES)
-LOCAL_CFLAGS += -fvisibility=hidden
+LOCAL_CFLAGS += -fvisibility=hidden -DLIBXML_TREE_ENABLED
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
+LOCAL_PRELINK_MODULE := false
+
+include $(BUILD_SHARED_LIBRARY)
# For the host
# ========================================================