Android.mk revision 0cd0136d440cf6ad9d5fab430269116786e671ec
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    android_media_MediaProfiles.cpp \
11    android_media_AmrInputStream.cpp \
12    android_mtp_MtpDatabase.cpp \
13    android_mtp_MtpServer.cpp \
14    android_mtp_PtpClient.cpp \
15    android_mtp_PtpCursor.cpp \
16
17LOCAL_SHARED_LIBRARIES := \
18    libandroid_runtime \
19    libnativehelper \
20    libutils \
21    libbinder \
22    libmedia \
23    libskia \
24    libui \
25    libcutils \
26    libsurfaceflinger_client \
27    libstagefright \
28    libcamera_client \
29    libsqlite \
30    libmtp \
31    libusbhost
32
33LOCAL_C_INCLUDES += \
34    external/tremor/Tremor \
35    frameworks/base/core/jni \
36    frameworks/base/media/libmedia \
37    frameworks/base/media/libstagefright/codecs/amrnb/enc/src \
38    frameworks/base/media/libstagefright/codecs/amrnb/common \
39    frameworks/base/media/libstagefright/codecs/amrnb/common/include \
40    frameworks/base/media/mtp \
41    $(PV_INCLUDES) \
42    $(JNI_H_INCLUDE) \
43    $(call include-path-for, corecg graphics)
44
45LOCAL_CFLAGS +=
46
47LOCAL_LDLIBS := -lpthread
48
49LOCAL_MODULE:= libmedia_jni
50
51include $(BUILD_SHARED_LIBRARY)
52
53# build libsoundpool.so
54# build libaudioeffect_jni.so
55include $(call all-makefiles-under,$(LOCAL_PATH))
56