blob: 66510653b99a3fbbbe7eb053bf5d6f25d7c37662 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
LOCAL_PATH:= $(call my-dir)
#----------------------------------------
# include
gst_audio_COPY_HEADERS_TO := gstreamer-1.0/gst/audio
gst_audio_COPY_HEADERS_BASE := \
gst-libs/gst/audio/audio.h \
gst-libs/gst/audio/gstaudioclock.h \
gst-libs/gst/audio/gstaudiofilter.h \
gst-libs/gst/audio/gstaudiosink.h \
gst-libs/gst/audio/gstaudiosrc.h \
gst-libs/gst/audio/gstbaseaudiosink.h \
gst-libs/gst/audio/gstbaseaudiosrc.h \
gst-libs/gst/audio/gstringbuffer.h \
gst-libs/gst/audio/mixerutils.h \
gst-libs/gst/audio/multichannel.h \
gst-libs/gst/audio/audio-enumtypes.h
gst_audio_COPY_HEADERS := $(addprefix ../,$(gst_audio_COPY_HEADERS_BASE)) \
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
# TODO: mixerutils.c is removed, because it depends on gst-lib/gst/interface.
# We need add it later
audio_LOCAL_SRC_FILES_BASE:= \
gst-libs/gst/audio/audio.c \
gst-libs/gst/audio/gstaudioclock.c \
gst-libs/gst/audio/mixerutils.c \
gst-libs/gst/audio/multichannel.c \
gst-libs/gst/audio/gstaudiofilter.c \
gst-libs/gst/audio/gstaudiosink.c \
gst-libs/gst/audio/gstaudiosrc.c \
gst-libs/gst/audio/gstbaseaudiosink.c \
gst-libs/gst/audio/gstbaseaudiosrc.c \
gst-libs/gst/audio/gstringbuffer.c \
gst-libs/gst/audio/audio-enumtypes.c
LOCAL_SRC_FILES:= $(addprefix ../,$(audio_LOCAL_SRC_FILES_BASE))
LOCAL_SHARED_LIBRARIES := \
libgstreamer-1.0 \
libgstbase-1.0 \
libglib-2.0 \
libgthread-2.0 \
libgmodule-2.0 \
libgobject-2.0 \
libgstinterfaces-1.0
LOCAL_MODULE:= libgstaudio-1.0
LOCAL_CFLAGS := -DHAVE_CONFIG_H -DGSTREAMER_BUILT_FOR_ANDROID \
$(GST_PLUGINS_BASE_CFLAGS)
#
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
#
LOCAL_PRELINK_MODULE := false
LOCAL_COPY_HEADERS_TO := $(gst_audio_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS := $(gst_audio_COPY_HEADERS)
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
|