Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libmedia_jni", |
| 3 | |
Wonsik Kim | ccb7ac6 | 2019-12-27 17:12:40 -0800 | [diff] [blame] | 4 | defaults: ["libcodec2-internal-defaults"], |
| 5 | |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 6 | srcs: [ |
| 7 | "android_media_ImageWriter.cpp", |
| 8 | "android_media_ImageReader.cpp", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 9 | "android_media_JetPlayer.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 10 | "android_media_MediaCrypto.cpp", |
| 11 | "android_media_MediaCodec.cpp", |
| 12 | "android_media_MediaCodecList.cpp", |
| 13 | "android_media_MediaDataSource.cpp", |
| 14 | "android_media_MediaDescrambler.cpp", |
| 15 | "android_media_MediaDrm.cpp", |
| 16 | "android_media_MediaExtractor.cpp", |
| 17 | "android_media_MediaHTTPConnection.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 18 | "android_media_MediaMetadataRetriever.cpp", |
| 19 | "android_media_MediaMuxer.cpp", |
| 20 | "android_media_MediaPlayer.cpp", |
| 21 | "android_media_MediaProfiles.cpp", |
| 22 | "android_media_MediaRecorder.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 23 | "android_media_MediaSync.cpp", |
Linus Nilsson | 5a1184d | 2019-12-19 11:11:21 -0800 | [diff] [blame] | 24 | "android_media_MediaTranscodeManager.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 25 | "android_media_ResampleInputStream.cpp", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 26 | "android_media_Streams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 27 | "android_media_SyncParams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 28 | "android_mtp_MtpDatabase.cpp", |
| 29 | "android_mtp_MtpDevice.cpp", |
| 30 | "android_mtp_MtpServer.cpp", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 31 | "JetPlayer.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 32 | ], |
| 33 | |
| 34 | shared_libs: [ |
| 35 | "libandroid_runtime", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 36 | "libaudioclient", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 37 | "libnativehelper", |
Mathias Agopian | 3e88ed8 | 2018-02-20 18:32:22 -0800 | [diff] [blame] | 38 | "libnativewindow", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 39 | "libutils", |
| 40 | "libbinder", |
| 41 | "libmedia", |
Dongwon Kang | cc73dda | 2019-09-23 17:42:00 -0700 | [diff] [blame] | 42 | "libmedia_codeclist", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 43 | "libmedia_jni_utils", |
Jae Shin | a0f51ba | 2017-10-30 14:50:52 +0900 | [diff] [blame] | 44 | "libmedia_omx", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 45 | "libmediametrics", |
| 46 | "libmediadrm", |
Robert Shih | ba6777e | 2019-11-12 13:04:59 -0800 | [diff] [blame] | 47 | "libmediadrmmetrics_consumer", |
Derek Sollenberger | d938e5a | 2017-07-24 09:42:07 -0400 | [diff] [blame] | 48 | "libhwui", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 49 | "libui", |
| 50 | "liblog", |
| 51 | "libcutils", |
| 52 | "libgui", |
| 53 | "libstagefright", |
| 54 | "libstagefright_foundation", |
| 55 | "libcamera_client", |
| 56 | "libmtp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 57 | "libpiex", |
Suren Baghdasaryan | 3fc4af6 | 2018-12-14 10:32:22 -0800 | [diff] [blame] | 58 | "libprocessgroup", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 59 | "libandroidfw", |
Chong Zhang | f98fc1c | 2018-02-13 17:55:34 -0800 | [diff] [blame] | 60 | "libhidlallocatorutils", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 61 | "libhidlbase", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 62 | "libsonivox", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 63 | "android.hardware.cas@1.0", |
| 64 | "android.hardware.cas.native@1.0", |
Robert Shih | d2e8b43 | 2019-11-21 20:27:56 -0800 | [diff] [blame] | 65 | "android.hardware.drm@1.3", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 66 | "android.hidl.memory@1.0", |
| 67 | "android.hidl.token@1.0-utils", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 68 | ], |
| 69 | |
Marco Nelissen | a2eedd5 | 2019-09-27 11:19:36 -0700 | [diff] [blame] | 70 | header_libs: [ |
| 71 | "libhardware_headers", |
| 72 | "libmediadrm_headers", |
| 73 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 74 | |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 75 | static_libs: [ |
| 76 | "libgrallocusage", |
| 77 | "libmedia_midiiowrapper", |
| 78 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 79 | |
| 80 | include_dirs: [ |
| 81 | "frameworks/base/core/jni", |
| 82 | "frameworks/native/include/media/openmax", |
| 83 | "system/media/camera/include", |
| 84 | ], |
| 85 | |
| 86 | export_include_dirs: ["."], |
| 87 | |
| 88 | export_shared_lib_headers: [ |
| 89 | "libpiex", |
| 90 | ], |
| 91 | |
| 92 | cflags: [ |
| 93 | "-Wall", |
| 94 | "-Werror", |
| 95 | "-Wno-error=deprecated-declarations", |
| 96 | "-Wunused", |
| 97 | "-Wunreachable-code", |
| 98 | ], |
| 99 | } |
| 100 | |
Wei Jia | 0a8a8f0 | 2017-12-05 17:05:29 -0800 | [diff] [blame] | 101 | cc_library_shared { |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 102 | name: "libmedia_jni_utils", |
| 103 | srcs: [ |
| 104 | "android_media_Utils.cpp", |
| 105 | ], |
| 106 | |
Marco Nelissen | e83368f | 2019-10-30 07:43:49 -0700 | [diff] [blame] | 107 | header_libs: [ |
| 108 | "libgui_headers", |
| 109 | ], |
| 110 | |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 111 | shared_libs: [ |
| 112 | "liblog", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 113 | "libui", |
| 114 | "libutils", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 115 | ], |
| 116 | |
| 117 | include_dirs: [ |
| 118 | "system/media/camera/include", |
| 119 | ], |
| 120 | |
| 121 | export_include_dirs: ["."], |
| 122 | |
| 123 | cflags: [ |
| 124 | "-Wall", |
| 125 | "-Werror", |
| 126 | "-Wno-error=deprecated-declarations", |
| 127 | "-Wunused", |
| 128 | "-Wunreachable-code", |
| 129 | ], |
| 130 | } |
| 131 | |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 132 | cc_library_shared { |
| 133 | name: "libmedia_tv_tuner", |
| 134 | srcs: [ |
| 135 | "android_media_tv_Tuner.cpp", |
| 136 | ], |
| 137 | |
| 138 | shared_libs: [ |
| 139 | "android.hardware.tv.tuner@1.0", |
| 140 | "libandroid_runtime", |
shubang | 964e613 | 2019-11-26 15:05:22 -0800 | [diff] [blame] | 141 | "libcutils", |
| 142 | "libfmq", |
shubang | 7e849b0 | 2019-10-18 19:36:25 -0700 | [diff] [blame] | 143 | "libhidlbase", |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 144 | "liblog", |
shubang | ba21a7f | 2019-12-05 16:58:55 -0800 | [diff] [blame] | 145 | "libnativehelper", |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 146 | "libutils", |
| 147 | ], |
| 148 | |
Marco Nelissen | c539153 | 2020-01-08 12:14:31 -0800 | [diff] [blame] | 149 | header_libs: [ |
| 150 | "libstagefright_foundation_headers", |
| 151 | ], |
| 152 | |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 153 | export_include_dirs: ["."], |
| 154 | |
| 155 | cflags: [ |
| 156 | "-Wall", |
| 157 | "-Werror", |
| 158 | "-Wno-error=deprecated-declarations", |
| 159 | "-Wunused", |
| 160 | "-Wunreachable-code", |
| 161 | ], |
| 162 | } |
| 163 | |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 164 | subdirs = [ |
| 165 | "audioeffect", |
Colin Cross | 98c127f | 2017-05-16 13:08:19 -0700 | [diff] [blame] | 166 | "soundpool", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 167 | ] |