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