The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Dima Zavin | db5cb14 | 2011-04-19 22:20:55 -0700 | [diff] [blame] | 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
Chong Zhang | 6d332d2 | 2016-09-07 12:06:50 -0700 | [diff] [blame] | 5 | LOCAL_AIDL_INCLUDES := \ |
| 6 | frameworks/av/media/libmedia/aidl |
| 7 | |
Dima Zavin | db5cb14 | 2011-04-19 22:20:55 -0700 | [diff] [blame] | 8 | LOCAL_SRC_FILES:= \ |
Chong Zhang | 6d332d2 | 2016-09-07 12:06:50 -0700 | [diff] [blame] | 9 | aidl/android/IGraphicBufferSource.aidl \ |
| 10 | aidl/android/IOMXBufferSource.aidl |
| 11 | |
| 12 | LOCAL_SRC_FILES += \ |
Chris Watkins | 99f3160 | 2015-03-20 13:06:33 -0700 | [diff] [blame] | 13 | IDataSource.cpp \ |
Andreas Huber | 1b19c9d | 2012-08-29 11:34:22 -0700 | [diff] [blame] | 14 | IHDCP.cpp \ |
Wei Jia | d399e7e | 2016-10-26 15:49:11 -0700 | [diff] [blame] | 15 | BufferingSettings.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 16 | mediaplayer.cpp \ |
Lajos Molnar | 60b1c0e | 2014-08-06 16:55:46 -0700 | [diff] [blame] | 17 | IMediaCodecList.cpp \ |
Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 18 | IMediaCodecService.cpp \ |
Andreas Huber | 1b86fe0 | 2014-01-29 11:13:26 -0800 | [diff] [blame] | 19 | IMediaHTTPConnection.cpp \ |
| 20 | IMediaHTTPService.cpp \ |
Marco Nelissen | b2487f0 | 2015-09-01 13:23:23 -0700 | [diff] [blame] | 21 | IMediaExtractor.cpp \ |
| 22 | IMediaExtractorService.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 23 | IMediaPlayerService.cpp \ |
| 24 | IMediaPlayerClient.cpp \ |
| 25 | IMediaRecorderClient.cpp \ |
| 26 | IMediaPlayer.cpp \ |
| 27 | IMediaRecorder.cpp \ |
Marco Nelissen | b2487f0 | 2015-09-01 13:23:23 -0700 | [diff] [blame] | 28 | IMediaSource.cpp \ |
Jeff Brown | e104596 | 2012-09-04 21:38:42 -0700 | [diff] [blame] | 29 | IRemoteDisplay.cpp \ |
| 30 | IRemoteDisplayClient.cpp \ |
Ronghua Wu | 231c3d1 | 2015-03-11 15:10:32 -0700 | [diff] [blame] | 31 | IResourceManagerClient.cpp \ |
| 32 | IResourceManagerService.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 33 | IStreamSource.cpp \ |
Wonsik Kim | 7e34bf5 | 2016-08-23 00:09:18 +0900 | [diff] [blame] | 34 | MediaCodecBuffer.cpp \ |
Lajos Molnar | 60b1c0e | 2014-08-06 16:55:46 -0700 | [diff] [blame] | 35 | MediaCodecInfo.cpp \ |
Wonsik Kim | ce4df5e | 2016-03-04 18:22:15 +0900 | [diff] [blame] | 36 | MediaDefs.cpp \ |
Marco Nelissen | c57fe21 | 2016-05-31 09:45:43 -0700 | [diff] [blame] | 37 | MediaUtils.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 38 | Metadata.cpp \ |
| 39 | mediarecorder.cpp \ |
| 40 | IMediaMetadataRetriever.cpp \ |
| 41 | mediametadataretriever.cpp \ |
Mikhail Naganov | f28256f | 2016-09-01 17:09:26 -0700 | [diff] [blame] | 42 | MidiDeviceInfo.cpp \ |
Marco Nelissen | 08b9e2d | 2014-12-16 12:46:34 -0800 | [diff] [blame] | 43 | MidiIoWrapper.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 44 | JetPlayer.cpp \ |
| 45 | IOMX.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 46 | MediaScanner.cpp \ |
| 47 | MediaScannerClient.cpp \ |
Marco Nelissen | 544ad2b | 2013-11-13 14:18:21 -0800 | [diff] [blame] | 48 | CharacterEncodingDetector.cpp \ |
James Dong | 1d7491b | 2010-01-19 17:45:38 -0800 | [diff] [blame] | 49 | IMediaDeathNotifier.cpp \ |
Eric Laurent | d71a1be | 2010-05-21 07:47:50 -0700 | [diff] [blame] | 50 | MediaProfiles.cpp \ |
Ronghua Wu | 231c3d1 | 2015-03-11 15:10:32 -0700 | [diff] [blame] | 51 | MediaResource.cpp \ |
| 52 | MediaResourcePolicy.cpp \ |
Chong Zhang | 3fd200f | 2016-10-07 17:25:58 -0700 | [diff] [blame] | 53 | OMXBuffer.cpp \ |
Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 54 | Visualizer.cpp \ |
Brian Carlstrom | 88d74d2 | 2015-01-27 13:22:59 -0800 | [diff] [blame] | 55 | StringArray.cpp \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 56 | omx/1.0/WGraphicBufferSource.cpp \ |
| 57 | omx/1.0/WOmx.cpp \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 58 | omx/1.0/WOmxBufferSource.cpp \ |
| 59 | omx/1.0/WOmxNode.cpp \ |
| 60 | omx/1.0/WOmxObserver.cpp \ |
Andreas Huber | 413f523 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 61 | |
The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 62 | LOCAL_SHARED_LIBRARIES := \ |
Pawin Vongmasa | f62ea80 | 2016-12-20 04:24:47 +0700 | [diff] [blame] | 63 | libui liblog libcutils libutils libbinder libsonivox libicuuc libicui18n libexpat \ |
Mathias Agopian | 5f7fcf2 | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 64 | libcamera_client libstagefright_foundation \ |
Jaekyun Seok | 08dab5a | 2016-12-07 15:08:17 +0900 | [diff] [blame] | 65 | libgui libdl libaudioutils libaudioclient \ |
Chong Zhang | 9dbe9a5 | 2017-01-03 11:35:15 -0800 | [diff] [blame] | 66 | libmedia_helper libmediadrm \ |
Ray Essick | 0f0c9b5 | 2017-04-05 14:00:23 -0700 | [diff] [blame] | 67 | libmediametrics \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 68 | libbase \ |
Pawin Vongmasa | f62ea80 | 2016-12-20 04:24:47 +0700 | [diff] [blame] | 69 | libhidlbase \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 70 | libhidltransport \ |
| 71 | libhwbinder \ |
| 72 | libhidlmemory \ |
| 73 | android.hidl.base@1.0 \ |
| 74 | android.hidl.memory@1.0 \ |
Pawin Vongmasa | 04563aa | 2017-03-09 07:02:01 -0800 | [diff] [blame] | 75 | android.hidl.token@1.0-utils \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 76 | android.hardware.graphics.common@1.0 \ |
Pawin Vongmasa | 04563aa | 2017-03-09 07:02:01 -0800 | [diff] [blame] | 77 | android.hardware.graphics.bufferqueue@1.0 \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 78 | android.hardware.media@1.0 \ |
| 79 | android.hardware.media.omx@1.0 \ |
The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 80 | |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 81 | LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := \ |
| 82 | libbinder \ |
| 83 | libsonivox \ |
| 84 | libmediadrm \ |
Pawin Vongmasa | 04563aa | 2017-03-09 07:02:01 -0800 | [diff] [blame] | 85 | android.hidl.token@1.0-utils \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 86 | android.hardware.media.omx@1.0 \ |
| 87 | android.hidl.memory@1.0 \ |
Christopher Wiley | e7b096a | 2016-04-11 15:11:08 -0700 | [diff] [blame] | 88 | |
Steven Moreland | 8253f44 | 2017-04-17 15:55:59 -0700 | [diff] [blame] | 89 | LOCAL_HEADER_LIBRARIES := libmedia_headers |
| 90 | |
Andy Hung | 07b745e | 2016-05-23 16:21:07 -0700 | [diff] [blame] | 91 | # for memory heap analysis |
| 92 | LOCAL_STATIC_LIBRARIES := libc_malloc_debug_backtrace libc_logging |
| 93 | |
The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 94 | LOCAL_MODULE:= libmedia |
| 95 | |
Ian Rogers | 2be7786 | 2014-11-06 13:27:43 -0800 | [diff] [blame] | 96 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 97 | |
The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 98 | LOCAL_C_INCLUDES := \ |
Pawin Vongmasa | f62ea80 | 2016-12-20 04:24:47 +0700 | [diff] [blame] | 99 | $(TOP)/system/libhidl/base/include \ |
James Dong | 6c6b4d0 | 2012-03-12 14:37:53 -0700 | [diff] [blame] | 100 | $(TOP)/frameworks/native/include/media/openmax \ |
Marco Nelissen | 34581f4 | 2014-08-29 16:00:28 -0700 | [diff] [blame] | 101 | $(TOP)/frameworks/av/include/media/ \ |
Chong Zhang | addf2cb | 2016-09-28 17:53:01 -0700 | [diff] [blame] | 102 | $(TOP)/frameworks/av/media/libmedia/aidl \ |
Pawin Vongmasa | ac7d412 | 2017-03-01 05:48:42 -0800 | [diff] [blame] | 103 | $(TOP)/frameworks/av/include \ |
| 104 | $(TOP)/frameworks/native/include \ |
Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 105 | $(call include-path-for, audio-utils) |
Marco Nelissen | 10dbb8e | 2009-09-20 10:42:13 -0700 | [diff] [blame] | 106 | |
Chong Zhang | addf2cb | 2016-09-28 17:53:01 -0700 | [diff] [blame] | 107 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 108 | frameworks/av/include/media \ |
Pawin Vongmasa | 04563aa | 2017-03-09 07:02:01 -0800 | [diff] [blame] | 109 | frameworks/av/media/libmedia/aidl \ |
Chong Zhang | addf2cb | 2016-09-28 17:53:01 -0700 | [diff] [blame] | 110 | |
Glenn Kasten | f6b3e7d | 2015-05-18 12:28:13 -0700 | [diff] [blame] | 111 | LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall |
Vishwath Mohan | a4a6d63 | 2016-12-21 14:18:34 -0800 | [diff] [blame] | 112 | LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow cfi |
| 113 | LOCAL_SANITIZE_DIAG := cfi |
Lajos Molnar | f1063e2 | 2015-04-17 15:19:42 -0700 | [diff] [blame] | 114 | |
The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 115 | include $(BUILD_SHARED_LIBRARY) |