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