blob: c2ed8cf15c1aba5b965bc6deeea70b2fcecde694 [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 Hef6a09e52015-02-24 18:12:23 -08005 android_media_ImageWriter.cpp \
Zhijun He212e78d2013-06-07 11:36:23 -07006 android_media_ImageReader.cpp \
Andreas Huber07ea4262012-04-11 12:21:20 -07007 android_media_MediaCrypto.cpp \
Andreas Huber88572f72012-02-21 11:47:18 -08008 android_media_MediaCodec.cpp \
Andreas Huber5a04bf32012-03-29 16:41:38 -07009 android_media_MediaCodecList.cpp \
Chris Watkins4eaa2932015-03-20 10:31:42 -070010 android_media_MediaDataSource.cpp \
Chong Zhangd5927ae2017-01-03 11:07:18 -080011 android_media_MediaDescrambler.cpp \
Jeff Tinker8a0c80f2013-02-08 10:20:44 -080012 android_media_MediaDrm.cpp \
Andreas Huber88572f72012-02-21 11:47:18 -080013 android_media_MediaExtractor.cpp \
Andreas Huberd2506a52014-01-29 10:32:46 -080014 android_media_MediaHTTPConnection.cpp \
Ray Essick0e0fee12017-01-25 18:01:56 -080015 android_media_MediaMetricsJNI.cpp \
Wei Jia071a8b72015-03-09 16:38:25 -070016 android_media_MediaMetadataRetriever.cpp \
ztenghui68ccf102013-02-13 14:07:02 -080017 android_media_MediaMuxer.cpp \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070018 android_media_MediaPlayer.cpp \
Lajos Molnarc98f58e2015-04-22 19:28:53 -070019 android_media_MediaProfiles.cpp \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070020 android_media_MediaRecorder.cpp \
21 android_media_MediaScanner.cpp \
Wei Jia071a8b72015-03-09 16:38:25 -070022 android_media_MediaSync.cpp \
James Dongc3711942010-01-19 17:45:38 -080023 android_media_ResampleInputStream.cpp \
Wei Jia2d61e2b2015-05-08 15:23:28 -070024 android_media_SyncParams.cpp \
James Dong79f407c2011-05-05 12:50:04 -070025 android_media_Utils.cpp \
Mike Lockwood0cd01362010-12-30 11:54:33 -050026 android_mtp_MtpDatabase.cpp \
Mike Lockwood8182e722010-12-30 15:38:45 -050027 android_mtp_MtpDevice.cpp \
Mike Lockwood0cd01362010-12-30 11:54:33 -050028 android_mtp_MtpServer.cpp \
Mikhail Naganovc276c592016-08-31 18:08:10 -070029 midi/android_media_midi_MidiDevice.cpp \
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070030
31LOCAL_SHARED_LIBRARIES := \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070032 libandroid_runtime \
33 libnativehelper \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070034 libutils \
Mathias Agopian25ba5b62009-05-18 15:08:03 -070035 libbinder \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070036 libmedia \
Ray Essicked5b0282017-04-05 14:01:00 -070037 libmediametrics \
Marco Nelissen2a6aae02016-11-07 16:37:06 -080038 libmediadrm \
Mikhail Naganovc276c592016-08-31 18:08:10 -070039 libmidi \
Mike Reedb5af3252009-07-10 15:33:21 -040040 libskia \
Andreas Hubere4a83802010-01-08 10:57:34 -080041 libui \
Ying Wangd6858942013-04-09 21:54:12 -070042 liblog \
Mathias Agopian000479f2010-02-09 17:46:37 -080043 libcutils \
Mathias Agopian696257c2011-03-25 18:42:40 -070044 libgui \
Andreas Huber8d65dd22010-06-23 16:40:57 -070045 libstagefright \
Andreas Huber88572f72012-02-21 11:47:18 -080046 libstagefright_foundation \
Mike Lockwood81ea83d2010-06-30 17:49:41 -040047 libcamera_client \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050048 libmtp \
Marco Nelissenfaab8b22014-03-06 22:19:02 -080049 libexif \
John Reckf6113af2016-11-03 16:16:47 -070050 libpiex \
51 libandroidfw
Andreas Huber9dd295a2012-01-31 14:34:59 -080052
53LOCAL_STATIC_LIBRARIES := \
Zhijun He916d8ac2017-03-22 17:33:47 -070054 libgrallocusage \
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070055
56LOCAL_C_INCLUDES += \
Marco Nelissen3cd393c2014-01-10 10:39:27 -080057 external/libexif/ \
Jaesung Chungfe968df2016-01-15 14:21:11 +090058 external/piex/ \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070059 external/tremor/Tremor \
Nicolas Catania20cb94e2009-05-12 23:25:55 -070060 frameworks/base/core/jni \
John Reckc1b33d62015-04-22 09:04:45 -070061 frameworks/base/libs/hwui \
Mikhail Naganovc276c592016-08-31 18:08:10 -070062 frameworks/base/media/native \
James Dongba4d0432012-03-28 11:03:25 -070063 frameworks/av/media/libmedia \
64 frameworks/av/media/libstagefright \
James Dongba4d0432012-03-28 11:03:25 -070065 frameworks/av/media/mtp \
James Donge1dea482012-03-12 14:37:53 -070066 frameworks/native/include/media/openmax \
Zhijun He534046d2013-07-01 11:03:41 -070067 $(call include-path-for, libhardware)/hardware \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070068 $(PV_INCLUDES) \
Derek Sollenbergereece0dd2014-02-27 14:31:29 -050069 $(JNI_H_INCLUDE)
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070070
Glenn Kasten85d99542015-05-18 12:27:57 -070071LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070072
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070073LOCAL_MODULE:= libmedia_jni
74
75include $(BUILD_SHARED_LIBRARY)
The Android Open Source Projectf013e1a2008-12-17 18:05:43 -080076
77# build libsoundpool.so
Eric Laurent948235c2010-06-09 00:17:29 -070078# build libaudioeffect_jni.so
79include $(call all-makefiles-under,$(LOCAL_PATH))