blob: 1d82e321afc64c2e17c77f56971468121729d40a (
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
64
65
|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
ifneq ($(BUILD_WITHOUT_PV),true)
include external/opencore/Config.mk
endif
LOCAL_SRC_FILES:= \
android_media_MediaPlayer.cpp \
android_media_MediaRecorder.cpp \
android_media_MediaScanner.cpp \
android_media_MediaMetadataRetriever.cpp \
android_media_ResampleInputStream.cpp
LOCAL_SHARED_LIBRARIES := \
libandroid_runtime \
libnativehelper \
libutils \
libbinder \
libmedia \
libskia \
libui \
libcutils
ifneq ($(BUILD_WITHOUT_PV),true)
LOCAL_SRC_FILES += \
android_media_AmrInputStream.cpp
LOCAL_SHARED_LIBRARIES += \
libopencore_player \
libomx_amrenc_sharedlibrary
else
LOCAL_CFLAGS += -DNO_OPENCORE
endif
ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true)
LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1
LOCAL_SHARED_LIBRARIES += \
libstagefright
endif
LOCAL_STATIC_LIBRARIES :=
LOCAL_C_INCLUDES += \
external/tremor/Tremor \
frameworks/base/core/jni \
frameworks/base/media/libmedia \
$(PV_INCLUDES) \
$(JNI_H_INCLUDE) \
$(call include-path-for, corecg graphics)
LOCAL_CFLAGS +=
LOCAL_LDLIBS := -lpthread
LOCAL_MODULE:= libmedia_jni
include $(BUILD_SHARED_LIBRARY)
# build libsoundpool.so
include $(LOCAL_PATH)/soundpool/Android.mk
|