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