Android.mk revision eece0dda56ae29fff6e9003df97594f6ac50b6e2
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_MediaHTTPConnection.cpp \
12    android_media_MediaMuxer.cpp \
13    android_media_MediaPlayer.cpp \
14    android_media_MediaRecorder.cpp \
15    android_media_MediaScanner.cpp \
16    android_media_MediaMetadataRetriever.cpp \
17    android_media_ResampleInputStream.cpp \
18    android_media_MediaProfiles.cpp \
19    android_media_AmrInputStream.cpp \
20    android_media_Utils.cpp \
21    android_mtp_MtpDatabase.cpp \
22    android_mtp_MtpDevice.cpp \
23    android_mtp_MtpServer.cpp \
24
25LOCAL_SHARED_LIBRARIES := \
26    libandroid_runtime \
27    libnativehelper \
28    libutils \
29    libbinder \
30    libmedia \
31    libskia \
32    libui \
33    liblog \
34    libcutils \
35    libgui \
36    libstagefright \
37    libstagefright_foundation \
38    libcamera_client \
39    libmtp \
40    libusbhost \
41    libexif \
42    libstagefright_amrnb_common \
43
44LOCAL_REQUIRED_MODULES := \
45    libjhead_jni
46
47LOCAL_STATIC_LIBRARIES := \
48    libstagefright_amrnbenc
49
50LOCAL_C_INCLUDES += \
51    external/libexif/ \
52    external/tremor/Tremor \
53    frameworks/base/core/jni \
54    frameworks/av/media/libmedia \
55    frameworks/av/media/libstagefright \
56    frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
57    frameworks/av/media/libstagefright/codecs/amrnb/common \
58    frameworks/av/media/libstagefright/codecs/amrnb/common/include \
59    frameworks/av/media/mtp \
60    frameworks/native/include/media/openmax \
61    $(call include-path-for, libhardware)/hardware \
62    system/media/camera/include \
63    $(PV_INCLUDES) \
64    $(JNI_H_INCLUDE)
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