Home | History | Annotate | Download | only in libxml2
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # We need to build this for both the device (as a shared library)
      4 # and the host (as a static library for tools to use).
      5 
      6 common_SRC_FILES := \
      7 	SAX.c \
      8 	entities.c \
      9 	encoding.c \
     10 	error.c \
     11 	parserInternals.c \
     12 	parser.c \
     13 	tree.c \
     14 	hash.c \
     15 	list.c \
     16 	xmlIO.c \
     17 	xmlmemory.c \
     18 	uri.c \
     19 	valid.c \
     20 	xlink.c \
     21 	HTMLparser.c \
     22 	HTMLtree.c \
     23 	debugXML.c \
     24 	xpath.c \
     25 	xpointer.c \
     26 	xinclude.c \
     27 	nanohttp.c \
     28 	nanoftp.c \
     29 	DOCBparser.c \
     30 	catalog.c \
     31 	globals.c \
     32 	threads.c \
     33 	c14n.c \
     34 	xmlstring.c \
     35 	xmlregexp.c \
     36 	xmlschemas.c \
     37 	xmlschemastypes.c \
     38 	xmlunicode.c \
     39 	xmlreader.c \
     40 	relaxng.c \
     41 	dict.c \
     42 	SAX2.c \
     43 	legacy.c \
     44 	chvalid.c \
     45 	pattern.c \
     46 	xmlsave.c \
     47 	xmlmodule.c \
     48 	xmlwriter.c \
     49 	schematron.c
     50 
     51 common_C_INCLUDES += \
     52 	$(LOCAL_PATH)/include
     53 
     54 # For the device
     55 # =====================================================
     56 
     57 include $(CLEAR_VARS)
     58 
     59 LOCAL_SRC_FILES := $(common_SRC_FILES)
     60 LOCAL_C_INCLUDES += $(common_C_INCLUDES) external/icu4c/common
     61 LOCAL_SHARED_LIBRARIES += $(common_SHARED_LIBRARIES)
     62 LOCAL_CFLAGS += -fvisibility=hidden
     63 
     64 LOCAL_MODULE:= libxml2
     65 
     66 include $(BUILD_STATIC_LIBRARY)
     67 
     68 
     69 # For the host
     70 # ========================================================
     71 
     72 include $(CLEAR_VARS)
     73 LOCAL_SRC_FILES := $(common_SRC_FILES)
     74 LOCAL_C_INCLUDES += $(common_C_INCLUDES) external/icu4c/common
     75 LOCAL_SHARED_LIBRARIES += $(common_SHARED_LIBRARIES)
     76 LOCAL_MODULE:= libxml2
     77 include $(BUILD_HOST_STATIC_LIBRARY)
     78