Android.mk revision 8a0c80fdcc46faa8cb8c9f4dda06f4b63ec2f906
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5    android_media_MediaCrypto.cpp \
6    android_media_MediaCodec.cpp \
7    android_media_MediaCodecList.cpp \
8    android_media_MediaDrm.cpp \
9    android_media_MediaExtractor.cpp \
10    android_media_MediaMuxer.cpp \
11    android_media_MediaPlayer.cpp \
12    android_media_MediaRecorder.cpp \
13    android_media_MediaScanner.cpp \
14    android_media_MediaMetadataRetriever.cpp \
15    android_media_ResampleInputStream.cpp \
16    android_media_MediaProfiles.cpp \
17    android_media_AmrInputStream.cpp \
18    android_media_Utils.cpp \
19    android_mtp_MtpDatabase.cpp \
20    android_mtp_MtpDevice.cpp \
21    android_mtp_MtpServer.cpp \
22
23LOCAL_SHARED_LIBRARIES := \
24    libandroid_runtime \
25    libnativehelper \
26    libutils \
27    libbinder \
28    libmedia \
29    libskia \
30    libui \
31    libcutils \
32    libgui \
33    libstagefright \
34    libstagefright_foundation \
35    libcamera_client \
36    libmtp \
37    libusbhost \
38    libexif \
39    libstagefright_amrnb_common \
40
41LOCAL_REQUIRED_MODULES := \
42    libexif_jni
43
44LOCAL_STATIC_LIBRARIES := \
45    libstagefright_amrnbenc
46
47LOCAL_C_INCLUDES += \
48    external/jhead \
49    external/tremor/Tremor \
50    frameworks/base/core/jni \
51    frameworks/av/media/libmedia \
52    frameworks/av/media/libstagefright \
53    frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
54    frameworks/av/media/libstagefright/codecs/amrnb/common \
55    frameworks/av/media/libstagefright/codecs/amrnb/common/include \
56    frameworks/av/media/mtp \
57    frameworks/native/include/media/openmax \
58    $(PV_INCLUDES) \
59    $(JNI_H_INCLUDE) \
60    $(call include-path-for, corecg graphics)
61
62LOCAL_CFLAGS +=
63
64LOCAL_LDLIBS := -lpthread
65
66LOCAL_MODULE:= libmedia_jni
67
68include $(BUILD_SHARED_LIBRARY)
69
70# build libsoundpool.so
71# build libaudioeffect_jni.so
72include $(call all-makefiles-under,$(LOCAL_PATH))
73