Android.mk revision 88572f7a3e9d7ef85c26865a0150f3c2041561c2
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5    android_media_MediaCodec.cpp \
6    android_media_MediaExtractor.cpp \
7    android_media_MediaPlayer.cpp \
8    android_media_MediaRecorder.cpp \
9    android_media_MediaScanner.cpp \
10    android_media_MediaMetadataRetriever.cpp \
11    android_media_ResampleInputStream.cpp \
12    android_media_MediaProfiles.cpp \
13    android_media_AmrInputStream.cpp \
14    android_media_Utils.cpp \
15    android_mtp_MtpDatabase.cpp \
16    android_mtp_MtpDevice.cpp \
17    android_mtp_MtpServer.cpp \
18
19LOCAL_SHARED_LIBRARIES := \
20    libandroid_runtime \
21    libnativehelper \
22    libutils \
23    libbinder \
24    libmedia \
25    libskia \
26    libui \
27    libcutils \
28    libgui \
29    libstagefright \
30    libstagefright_foundation \
31    libcamera_client \
32    libmtp \
33    libusbhost \
34    libexif \
35    libstagefright_amrnb_common \
36
37LOCAL_STATIC_LIBRARIES := \
38    libstagefright_amrnbenc
39
40LOCAL_C_INCLUDES += \
41    external/jhead \
42    external/tremor/Tremor \
43    frameworks/base/core/jni \
44    frameworks/base/media/libmedia \
45    frameworks/base/media/libstagefright \
46    frameworks/base/media/libstagefright/codecs/amrnb/enc/src \
47    frameworks/base/media/libstagefright/codecs/amrnb/common \
48    frameworks/base/media/libstagefright/codecs/amrnb/common/include \
49    frameworks/base/media/mtp \
50    frameworks/base/include/media/stagefright/openmax \
51    $(PV_INCLUDES) \
52    $(JNI_H_INCLUDE) \
53    $(call include-path-for, corecg graphics)
54
55LOCAL_CFLAGS +=
56
57LOCAL_LDLIBS := -lpthread
58
59LOCAL_MODULE:= libmedia_jni
60
61include $(BUILD_SHARED_LIBRARY)
62
63# build libsoundpool.so
64# build libaudioeffect_jni.so
65include $(call all-makefiles-under,$(LOCAL_PATH))
66