315fb6f7e9b9dc3f7b2e05a69991c91a062b9bd3
[platform/upstream/gstreamer.git] / android / h264parse.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 include $(CLEAR_VARS)
4
5 LOCAL_ARM_MODE := arm
6
7 h264parse_LOCAL_SRC_FILES:= \
8         gst/h264parse/gsth264parse.c 
9
10 LOCAL_SRC_FILES:= $(addprefix ../,$(h264parse_LOCAL_SRC_FILES))
11
12 LOCAL_SHARED_LIBRARIES := \
13     libgstreamer-0.10       \
14     libgstbase-0.10         \
15     libglib-2.0             \
16     libgthread-2.0          \
17     libgmodule-2.0          \
18     libgobject-2.0                      
19
20 LOCAL_MODULE:= libgsth264parse
21
22 LOCAL_C_INCLUDES := \
23     $(LOCAL_PATH)/../gst/h264parse      \
24     $(LOCAL_PATH)/..                            \
25     $(LOCAL_PATH)/../gst-libs           \
26     $(LOCAL_PATH)                                       \
27     $(TARGET_OUT_HEADERS)/gstreamer-0.10 \
28         $(TARGET_OUT_HEADERS)/glib-2.0          \
29     $(TARGET_OUT_HEADERS)/glib-2.0/glib \
30         external/libxml2/include
31
32 ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
33 LOCAL_SHARED_LIBRARIES += libicuuc 
34 LOCAL_C_INCLUDES += external/icu4c/common
35 endif
36
37 LOCAL_CFLAGS := -DHAVE_CONFIG_H 
38 #
39 # define LOCAL_PRELINK_MODULE to false to not use pre-link map
40 #
41 LOCAL_PRELINK_MODULE := false
42
43 #It's a gstreamer plugins, and it must be installed on ..../lib/gstreamer-0.10
44 LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/gstreamer-0.10
45
46 include $(BUILD_SHARED_LIBRARY)