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