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