Android.mk revision 68ccf103a10c674f1db649bb15bb3e790bc6dad3
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5    android_media_MediaCrypto.cpp \
6    android_media_MediaCodec.cpp \
7    android_media_MediaCodecList.cpp \
8    android_media_MediaExtractor.cpp \
9    android_media_MediaMuxer.cpp \
10    android_media_MediaPlayer.cpp \
11    android_media_MediaRecorder.cpp \
12    android_media_MediaScanner.cpp \
13    android_media_MediaMetadataRetriever.cpp \
14    android_media_ResampleInputStream.cpp \
15    android_media_MediaProfiles.cpp \
16    android_media_AmrInputStream.cpp \
17    android_media_Utils.cpp \
18    android_mtp_MtpDatabase.cpp \
19    android_mtp_MtpDevice.cpp \
20    android_mtp_MtpServer.cpp \
21
22LOCAL_SHARED_LIBRARIES := \
23    libandroid_runtime \
24    libnativehelper \
25    libutils \
26    libbinder \
27    libmedia \
28    libskia \
29    libui \
30    libcutils \
31    libgui \
32    libstagefright \
33    libstagefright_foundation \
34    libcamera_client \
35    libmtp \
36    libusbhost \
37    libexif \
38    libstagefright_amrnb_common \
39
40LOCAL_REQUIRED_MODULES := \
41    libexif_jni
42
43LOCAL_STATIC_LIBRARIES := \
44    libstagefright_amrnbenc
45
46LOCAL_C_INCLUDES += \
47    external/jhead \
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    $(PV_INCLUDES) \
58    $(JNI_H_INCLUDE) \
59    $(call include-path-for, corecg graphics)
60
61LOCAL_CFLAGS +=
62
63LOCAL_LDLIBS := -lpthread
64
65LOCAL_MODULE:= libmedia_jni
66
67include $(BUILD_SHARED_LIBRARY)
68
69# build libsoundpool.so
70# build libaudioeffect_jni.so
71include $(call all-makefiles-under,$(LOCAL_PATH))
72