blob: 90fe6950335d796d1349c7fe4d74e07ab2038c99 [file] [log] [blame]
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Zhijun He212e78d2013-06-07 11:36:23 -07005 android_media_ImageReader.cpp \
Andreas Huber07ea4262012-04-11 12:21:20 -07006 android_media_MediaCrypto.cpp \
Andreas Huber88572f72012-02-21 11:47:18 -08007 android_media_MediaCodec.cpp \
Andreas Huber5a04bf32012-03-29 16:41:38 -07008 android_media_MediaCodecList.cpp \
Jeff Tinker8a0c80f2013-02-08 10:20:44 -08009 android_media_MediaDrm.cpp \
Andreas Huber88572f72012-02-21 11:47:18 -080010 android_media_MediaExtractor.cpp \
Andreas Huberd2506a52014-01-29 10:32:46 -080011 android_media_MediaHTTPConnection.cpp \
ztenghui68ccf102013-02-13 14:07:02 -080012 android_media_MediaMuxer.cpp \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070013 android_media_MediaPlayer.cpp \
14 android_media_MediaRecorder.cpp \
15 android_media_MediaScanner.cpp \
16 android_media_MediaMetadataRetriever.cpp \
James Dongc3711942010-01-19 17:45:38 -080017 android_media_ResampleInputStream.cpp \
James Dong49b6fba2010-06-17 16:03:22 -070018 android_media_MediaProfiles.cpp \
Mike Lockwood81ea83d2010-06-30 17:49:41 -040019 android_media_AmrInputStream.cpp \
James Dong79f407c2011-05-05 12:50:04 -070020 android_media_Utils.cpp \
Mike Lockwood0cd01362010-12-30 11:54:33 -050021 android_mtp_MtpDatabase.cpp \
Mike Lockwood8182e722010-12-30 15:38:45 -050022 android_mtp_MtpDevice.cpp \
Mike Lockwood0cd01362010-12-30 11:54:33 -050023 android_mtp_MtpServer.cpp \
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070024
25LOCAL_SHARED_LIBRARIES := \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070026 libandroid_runtime \
27 libnativehelper \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070028 libutils \
Mathias Agopian25ba5b62009-05-18 15:08:03 -070029 libbinder \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070030 libmedia \
Mike Reedb5af3252009-07-10 15:33:21 -040031 libskia \
Andreas Hubere4a83802010-01-08 10:57:34 -080032 libui \
Ying Wangd6858942013-04-09 21:54:12 -070033 liblog \
Mathias Agopian000479f2010-02-09 17:46:37 -080034 libcutils \
Mathias Agopian696257c2011-03-25 18:42:40 -070035 libgui \
Andreas Huber8d65dd22010-06-23 16:40:57 -070036 libstagefright \
Andreas Huber88572f72012-02-21 11:47:18 -080037 libstagefright_foundation \
Mike Lockwood81ea83d2010-06-30 17:49:41 -040038 libcamera_client \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050039 libmtp \
Mike Lockwoodc89f2222011-04-24 18:40:17 -070040 libusbhost \
Marco Nelissenc0786cc2013-12-19 14:21:19 -080041 libjhead \
Marco Nelissenfaab8b22014-03-06 22:19:02 -080042 libexif \
Andreas Huber9dd295a2012-01-31 14:34:59 -080043 libstagefright_amrnb_common \
44
Marco Nelissen92351c52014-01-13 10:19:17 -080045LOCAL_REQUIRED_MODULES := \
46 libjhead_jni
47
Andreas Huber9dd295a2012-01-31 14:34:59 -080048LOCAL_STATIC_LIBRARIES := \
49 libstagefright_amrnbenc
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070050
51LOCAL_C_INCLUDES += \
Marco Nelissen3cd393c2014-01-10 10:39:27 -080052 external/libexif/ \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070053 external/tremor/Tremor \
Nicolas Catania20cb94e2009-05-12 23:25:55 -070054 frameworks/base/core/jni \
James Dongba4d0432012-03-28 11:03:25 -070055 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 \
James Donge1dea482012-03-12 14:37:53 -070061 frameworks/native/include/media/openmax \
Zhijun He534046d2013-07-01 11:03:41 -070062 $(call include-path-for, libhardware)/hardware \
63 system/media/camera/include \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070064 $(PV_INCLUDES) \
Derek Sollenbergereece0dd2014-02-27 14:31:29 -050065 $(JNI_H_INCLUDE)
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070066
67LOCAL_CFLAGS +=
68
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070069LOCAL_MODULE:= libmedia_jni
70
71include $(BUILD_SHARED_LIBRARY)
The Android Open Source Projectf013e1a2008-12-17 18:05:43 -080072
73# build libsoundpool.so
Eric Laurent948235c2010-06-09 00:17:29 -070074# build libaudioeffect_jni.so
75include $(call all-makefiles-under,$(LOCAL_PATH))