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