Android.mk revision 534046d2b12fd13776ad782b982649cb0bea9b79
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_REQUIRED_MODULES := \
44    libexif_jni
45
46LOCAL_STATIC_LIBRARIES := \
47    libstagefright_amrnbenc
48
49LOCAL_C_INCLUDES += \
50    external/jhead \
51    external/tremor/Tremor \
52    frameworks/base/core/jni \
53    frameworks/av/media/libmedia \
54    frameworks/av/media/libstagefright \
55    frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
56    frameworks/av/media/libstagefright/codecs/amrnb/common \
57    frameworks/av/media/libstagefright/codecs/amrnb/common/include \
58    frameworks/av/media/mtp \
59    frameworks/native/include/media/openmax \
60    $(call include-path-for, libhardware)/hardware \
61    system/media/camera/include \
62    $(PV_INCLUDES) \
63    $(JNI_H_INCLUDE) \
64    $(call include-path-for, corecg graphics)
65
66LOCAL_CFLAGS +=
67
68LOCAL_LDLIBS := -lpthread
69
70LOCAL_MODULE:= libmedia_jni
71
72include $(BUILD_SHARED_LIBRARY)
73
74# build libsoundpool.so
75# build libaudioeffect_jni.so
76include $(call all-makefiles-under,$(LOCAL_PATH))
77