1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_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 25 LOCAL_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 libjhead \ 42 libexif \ 43 libstagefright_amrnb_common \ 44 45 LOCAL_REQUIRED_MODULES := \ 46 libjhead_jni 47 48 LOCAL_STATIC_LIBRARIES := \ 49 libstagefright_amrnbenc 50 51 LOCAL_C_INCLUDES += \ 52 external/libexif/ \ 53 external/tremor/Tremor \ 54 frameworks/base/core/jni \ 55 frameworks/av/media/libmedia \ 56 frameworks/av/media/libstagefright \ 57 frameworks/av/media/libstagefright/codecs/amrnb/enc/src \ 58 frameworks/av/media/libstagefright/codecs/amrnb/common \ 59 frameworks/av/media/libstagefright/codecs/amrnb/common/include \ 60 frameworks/av/media/mtp \ 61 frameworks/native/include/media/openmax \ 62 $(call include-path-for, libhardware)/hardware \ 63 system/media/camera/include \ 64 $(PV_INCLUDES) \ 65 $(JNI_H_INCLUDE) 66 67 LOCAL_CFLAGS += 68 69 LOCAL_MODULE:= libmedia_jni 70 71 include $(BUILD_SHARED_LIBRARY) 72 73 # build libsoundpool.so 74 # build libaudioeffect_jni.so 75 include $(call all-makefiles-under,$(LOCAL_PATH)) 76