be0c884431fe4d04312ab6cfca68180de9169da4
[platform/upstream/gstreamer.git] / android / metadata.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 include $(CLEAR_VARS)
4
5 LOCAL_ARM_MODE := arm
6
7 metadata_LOCAL_SRC_FILES:= \
8         ext/metadata/gstmetadata.c \
9         ext/metadata/gstmetadatademux.c \
10         ext/metadata/metadata.c \
11         ext/metadata/metadataparsejpeg.c \
12         ext/metadata/metadatamuxjpeg.c \
13         ext/metadata/metadataparsepng.c \
14         ext/metadata/metadatamuxpng.c \
15         ext/metadata/metadataexif.c \
16         ext/metadata/metadataiptc.c \
17         ext/metadata/metadataxmp.c \
18         ext/metadata/metadataparseutil.c \
19         ext/metadata/metadatatypes.c \
20         ext/metadata/gstmetadatamux.c \
21         ext/metadata/metadatatags.c \
22         ext/metadata/gstbasemetadata.c
23
24 LOCAL_SRC_FILES:= $(addprefix ../,$(metadata_LOCAL_SRC_FILES))
25
26 LOCAL_SHARED_LIBRARIES := \
27     libgstreamer-0.10       \
28     libgstbase-0.10         \
29     libglib-2.0             \
30     libgthread-2.0          \
31     libgmodule-2.0          \
32     libgobject-2.0                      \
33         libgsttag-0.10
34
35 LOCAL_MODULE:= libgstmetadata
36
37 LOCAL_C_INCLUDES := \
38     $(LOCAL_PATH)/../ext/metadata               \
39     $(LOCAL_PATH)/..                            \
40     $(LOCAL_PATH)/../gst-libs                   \
41     $(LOCAL_PATH)                                       \
42     $(TARGET_OUT_HEADERS)/gstreamer-0.10 \
43         $(TARGET_OUT_HEADERS)/glib-2.0          \
44     $(TARGET_OUT_HEADERS)/glib-2.0/glib \
45         external/libxml2/include
46
47 ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
48 LOCAL_SHARED_LIBRARIES += libicuuc 
49 LOCAL_C_INCLUDES += external/icu4c/common
50 endif
51
52 LOCAL_CFLAGS := -DHAVE_CONFIG_H 
53 #
54 # define LOCAL_PRELINK_MODULE to false to not use pre-link map
55 #
56 LOCAL_PRELINK_MODULE := false
57
58 #It's a gstreamer plugins, and it must be installed on ..../lib/gstreamer-0.10
59 LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/gstreamer-0.10
60
61 include $(BUILD_SHARED_LIBRARY)