blob: c17b1b773bd52d4a7bfce916801c1df45801d2ac [file] [log] [blame]
Colin Cross76de4f62017-05-15 18:10:40 -07001cc_library_shared {
2 name: "libmedia_jni",
3
Wonsik Kimccb7ac62019-12-27 17:12:40 -08004 defaults: ["libcodec2-internal-defaults"],
5
Colin Cross76de4f62017-05-15 18:10:40 -07006 srcs: [
7 "android_media_ImageWriter.cpp",
8 "android_media_ImageReader.cpp",
Marco Nelissen5ff11732019-10-17 08:55:52 -07009 "android_media_JetPlayer.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070010 "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 Cross76de4f62017-05-15 18:10:40 -070018 "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 Cross76de4f62017-05-15 18:10:40 -070023 "android_media_MediaSync.cpp",
Linus Nilsson5a1184d2019-12-19 11:11:21 -080024 "android_media_MediaTranscodeManager.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070025 "android_media_ResampleInputStream.cpp",
Jooyung Hancb1e8962019-02-21 14:18:11 +090026 "android_media_Streams.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070027 "android_media_SyncParams.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070028 "android_mtp_MtpDatabase.cpp",
29 "android_mtp_MtpDevice.cpp",
30 "android_mtp_MtpServer.cpp",
Marco Nelissen5ff11732019-10-17 08:55:52 -070031 "JetPlayer.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070032 ],
33
34 shared_libs: [
35 "libandroid_runtime",
Marco Nelissen5ff11732019-10-17 08:55:52 -070036 "libaudioclient",
Colin Cross76de4f62017-05-15 18:10:40 -070037 "libnativehelper",
Mathias Agopian3e88ed82018-02-20 18:32:22 -080038 "libnativewindow",
Colin Cross76de4f62017-05-15 18:10:40 -070039 "libutils",
40 "libbinder",
41 "libmedia",
Dongwon Kangcc73dda2019-09-23 17:42:00 -070042 "libmedia_codeclist",
Jooyung Hancb1e8962019-02-21 14:18:11 +090043 "libmedia_jni_utils",
Jae Shina0f51ba2017-10-30 14:50:52 +090044 "libmedia_omx",
Colin Cross76de4f62017-05-15 18:10:40 -070045 "libmediametrics",
46 "libmediadrm",
Robert Shihba6777e2019-11-12 13:04:59 -080047 "libmediadrmmetrics_consumer",
Derek Sollenbergerd938e5a2017-07-24 09:42:07 -040048 "libhwui",
Colin Cross76de4f62017-05-15 18:10:40 -070049 "libui",
50 "liblog",
51 "libcutils",
52 "libgui",
53 "libstagefright",
54 "libstagefright_foundation",
55 "libcamera_client",
56 "libmtp",
Colin Cross76de4f62017-05-15 18:10:40 -070057 "libpiex",
Suren Baghdasaryan3fc4af62018-12-14 10:32:22 -080058 "libprocessgroup",
Colin Cross76de4f62017-05-15 18:10:40 -070059 "libandroidfw",
Chong Zhangf98fc1c2018-02-13 17:55:34 -080060 "libhidlallocatorutils",
Chong Zhang2659c2f2017-04-27 13:18:20 -070061 "libhidlbase",
Marco Nelissen5ff11732019-10-17 08:55:52 -070062 "libsonivox",
Chong Zhang2659c2f2017-04-27 13:18:20 -070063 "android.hardware.cas@1.0",
64 "android.hardware.cas.native@1.0",
Robert Shihd2e8b432019-11-21 20:27:56 -080065 "android.hardware.drm@1.3",
Chong Zhang2659c2f2017-04-27 13:18:20 -070066 "android.hidl.memory@1.0",
67 "android.hidl.token@1.0-utils",
Colin Cross76de4f62017-05-15 18:10:40 -070068 ],
69
Marco Nelissena2eedd52019-09-27 11:19:36 -070070 header_libs: [
71 "libhardware_headers",
72 "libmediadrm_headers",
73 ],
Colin Cross76de4f62017-05-15 18:10:40 -070074
Marco Nelissen5ff11732019-10-17 08:55:52 -070075 static_libs: [
76 "libgrallocusage",
77 "libmedia_midiiowrapper",
78 ],
Colin Cross76de4f62017-05-15 18:10:40 -070079
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 Jia0a8a8f02017-12-05 17:05:29 -0800101cc_library_shared {
Jooyung Hancb1e8962019-02-21 14:18:11 +0900102 name: "libmedia_jni_utils",
103 srcs: [
104 "android_media_Utils.cpp",
105 ],
106
Marco Nelissene83368f2019-10-30 07:43:49 -0700107 header_libs: [
108 "libgui_headers",
109 ],
110
Jooyung Hancb1e8962019-02-21 14:18:11 +0900111 shared_libs: [
112 "liblog",
Jooyung Hancb1e8962019-02-21 14:18:11 +0900113 "libui",
114 "libutils",
Jooyung Hancb1e8962019-02-21 14:18:11 +0900115 ],
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
shubang8ab43b12019-10-18 15:55:55 -0700132cc_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",
shubang964e6132019-11-26 15:05:22 -0800141 "libcutils",
142 "libfmq",
shubang7e849b02019-10-18 19:36:25 -0700143 "libhidlbase",
shubang8ab43b12019-10-18 15:55:55 -0700144 "liblog",
shubangba21a7f2019-12-05 16:58:55 -0800145 "libnativehelper",
shubang8ab43b12019-10-18 15:55:55 -0700146 "libutils",
147 ],
148
Marco Nelissenc5391532020-01-08 12:14:31 -0800149 header_libs: [
150 "libstagefright_foundation_headers",
151 ],
152
shubang8ab43b12019-10-18 15:55:55 -0700153 export_include_dirs: ["."],
154
155 cflags: [
156 "-Wall",
157 "-Werror",
158 "-Wno-error=deprecated-declarations",
159 "-Wunused",
160 "-Wunreachable-code",
161 ],
162}
163
Colin Cross76de4f62017-05-15 18:10:40 -0700164subdirs = [
165 "audioeffect",
Colin Cross98c127f2017-05-16 13:08:19 -0700166 "soundpool",
Colin Cross76de4f62017-05-15 18:10:40 -0700167]