Android.mk revision 8240d9239d9aabed75c49f9d4d69fd8a5fe4c899
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5    android_media_Crypto.cpp \
6    android_media_MediaCodec.cpp \
7    android_media_MediaCodecList.cpp \
8    android_media_MediaExtractor.cpp \
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_Utils.cpp \
17    android_mtp_MtpDatabase.cpp \
18    android_mtp_MtpDevice.cpp \
19    android_mtp_MtpServer.cpp \
20
21LOCAL_SHARED_LIBRARIES := \
22    libandroid_runtime \
23    libnativehelper \
24    libutils \
25    libbinder \
26    libmedia \
27    libmedia_native \
28    libskia \
29    libui \
30    libcutils \
31    libgui \
32    libstagefright \
33    libstagefright_foundation \
34    libcamera_client \
35    libmtp \
36    libusbhost \
37    libexif \
38    libstagefright_amrnb_common \
39
40LOCAL_STATIC_LIBRARIES := \
41    libstagefright_amrnbenc
42
43LOCAL_C_INCLUDES += \
44    external/jhead \
45    external/tremor/Tremor \
46    frameworks/base/core/jni \
47    frameworks/av/media/libmedia \
48    frameworks/av/media/libstagefright \
49    frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
50    frameworks/av/media/libstagefright/codecs/amrnb/common \
51    frameworks/av/media/libstagefright/codecs/amrnb/common/include \
52    frameworks/av/media/mtp \
53    frameworks/native/include/media/openmax \
54    $(PV_INCLUDES) \
55    $(JNI_H_INCLUDE) \
56    $(call include-path-for, corecg graphics)
57
58LOCAL_CFLAGS +=
59
60LOCAL_LDLIBS := -lpthread
61
62LOCAL_MODULE:= libmedia_jni
63
64include $(BUILD_SHARED_LIBRARY)
65
66# build libsoundpool.so
67# build libaudioeffect_jni.so
68include $(call all-makefiles-under,$(LOCAL_PATH))
69