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