blob: dea971e4cfbcc00901eab4e051d60a2d9b9ff807 [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 \
ztenghui68ccf102013-02-13 14:07:02 -080011 android_media_MediaMuxer.cpp \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070012 android_media_MediaPlayer.cpp \
13 android_media_MediaRecorder.cpp \
14 android_media_MediaScanner.cpp \
15 android_media_MediaMetadataRetriever.cpp \
James Dongc3711942010-01-19 17:45:38 -080016 android_media_ResampleInputStream.cpp \
James Dong49b6fba2010-06-17 16:03:22 -070017 android_media_MediaProfiles.cpp \
Mike Lockwood81ea83d2010-06-30 17:49:41 -040018 android_media_AmrInputStream.cpp \
James Dong79f407c2011-05-05 12:50:04 -070019 android_media_Utils.cpp \
Mike Lockwood0cd01362010-12-30 11:54:33 -050020 android_mtp_MtpDatabase.cpp \
Mike Lockwood8182e722010-12-30 15:38:45 -050021 android_mtp_MtpDevice.cpp \
Mike Lockwood0cd01362010-12-30 11:54:33 -050022 android_mtp_MtpServer.cpp \
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070023
24LOCAL_SHARED_LIBRARIES := \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070025 libandroid_runtime \
26 libnativehelper \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070027 libutils \
Mathias Agopian25ba5b62009-05-18 15:08:03 -070028 libbinder \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070029 libmedia \
Mike Reedb5af3252009-07-10 15:33:21 -040030 libskia \
Andreas Hubere4a83802010-01-08 10:57:34 -080031 libui \
Ying Wangd6858942013-04-09 21:54:12 -070032 liblog \
Mathias Agopian000479f2010-02-09 17:46:37 -080033 libcutils \
Mathias Agopian696257c2011-03-25 18:42:40 -070034 libgui \
Andreas Huber8d65dd22010-06-23 16:40:57 -070035 libstagefright \
Andreas Huber88572f72012-02-21 11:47:18 -080036 libstagefright_foundation \
Mike Lockwood81ea83d2010-06-30 17:49:41 -040037 libcamera_client \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050038 libmtp \
Mike Lockwoodc89f2222011-04-24 18:40:17 -070039 libusbhost \
Marco Nelissenaefa4272014-01-10 10:39:27 -080040 libexif \
Andreas Huber9dd295a2012-01-31 14:34:59 -080041 libstagefright_amrnb_common \
42
Keun young Parkbb52c492012-06-06 18:14:50 -070043LOCAL_REQUIRED_MODULES := \
Marco Nelissenc0786cc2013-12-19 14:21:19 -080044 libjhead_jni
Keun young Parkbb52c492012-06-06 18:14:50 -070045
Andreas Huber9dd295a2012-01-31 14:34:59 -080046LOCAL_STATIC_LIBRARIES := \
47 libstagefright_amrnbenc
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070048
49LOCAL_C_INCLUDES += \
Marco Nelissenaefa4272014-01-10 10:39:27 -080050 external/libexif/ \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070051 external/tremor/Tremor \
Nicolas Catania20cb94e2009-05-12 23:25:55 -070052 frameworks/base/core/jni \
James Dongba4d0432012-03-28 11:03:25 -070053 frameworks/av/media/libmedia \
54 frameworks/av/media/libstagefright \
55 frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
56 frameworks/av/media/libstagefright/codecs/amrnb/common \
57 frameworks/av/media/libstagefright/codecs/amrnb/common/include \
58 frameworks/av/media/mtp \
James Donge1dea482012-03-12 14:37:53 -070059 frameworks/native/include/media/openmax \
Zhijun He534046d2013-07-01 11:03:41 -070060 $(call include-path-for, libhardware)/hardware \
61 system/media/camera/include \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070062 $(PV_INCLUDES) \
63 $(JNI_H_INCLUDE) \
64 $(call include-path-for, corecg graphics)
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070065
66LOCAL_CFLAGS +=
67
68LOCAL_LDLIBS := -lpthread
69
70LOCAL_MODULE:= libmedia_jni
71
72include $(BUILD_SHARED_LIBRARY)
The Android Open Source Projectf013e1a2008-12-17 18:05:43 -080073
74# build libsoundpool.so
Eric Laurent948235c2010-06-09 00:17:29 -070075# build libaudioeffect_jni.so
76include $(call all-makefiles-under,$(LOCAL_PATH))