Android.mk revision 37105cc7710f988984e92b65989b78ed59693b8b
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5    android_media_MediaPlayer.cpp \
6    android_media_MediaRecorder.cpp \
7    android_media_MediaScanner.cpp \
8    android_media_MediaMetadataRetriever.cpp \
9    android_media_ResampleInputStream.cpp
10
11LOCAL_SHARED_LIBRARIES := \
12    libandroid_runtime \
13    libnativehelper \
14    libutils \
15    libbinder \
16    libmedia \
17    libskia \
18    libui \
19    libcutils
20
21ifneq ($(BUILD_WITHOUT_PV),true)
22include external/opencore/Config.mk
23
24LOCAL_SRC_FILES += \
25    android_media_AmrInputStream.cpp
26
27LOCAL_SHARED_LIBRARIES += \
28    libopencore_player          \
29    libomx_amrenc_sharedlibrary
30else
31    LOCAL_CFLAGS += -DNO_OPENCORE
32endif
33
34ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true)
35
36LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1
37
38LOCAL_SHARED_LIBRARIES += \
39    libstagefright
40
41endif
42
43LOCAL_STATIC_LIBRARIES :=
44
45LOCAL_C_INCLUDES += \
46    external/tremor/Tremor \
47    frameworks/base/core/jni \
48    frameworks/base/media/libmedia \
49    $(PV_INCLUDES) \
50    $(JNI_H_INCLUDE) \
51    $(call include-path-for, corecg graphics)
52
53LOCAL_CFLAGS +=
54
55LOCAL_LDLIBS := -lpthread
56
57LOCAL_MODULE:= libmedia_jni
58
59include $(BUILD_SHARED_LIBRARY)
60
61# build libsoundpool.so
62include $(LOCAL_PATH)/soundpool/Android.mk
63