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