blob: 19e6add657400b032fb8b9de8c483fdf9431b00a [file] [log] [blame]
Colin Cross76de4f62017-05-15 18:10:40 -07001cc_library_shared {
2 name: "libmedia_jni",
3
4 srcs: [
5 "android_media_ImageWriter.cpp",
6 "android_media_ImageReader.cpp",
Marco Nelissen5ff11732019-10-17 08:55:52 -07007 "android_media_JetPlayer.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -07008 "android_media_MediaCrypto.cpp",
9 "android_media_MediaCodec.cpp",
10 "android_media_MediaCodecList.cpp",
11 "android_media_MediaDataSource.cpp",
12 "android_media_MediaDescrambler.cpp",
13 "android_media_MediaDrm.cpp",
14 "android_media_MediaExtractor.cpp",
15 "android_media_MediaHTTPConnection.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070016 "android_media_MediaMetadataRetriever.cpp",
17 "android_media_MediaMuxer.cpp",
18 "android_media_MediaPlayer.cpp",
19 "android_media_MediaProfiles.cpp",
20 "android_media_MediaRecorder.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070021 "android_media_MediaSync.cpp",
22 "android_media_ResampleInputStream.cpp",
Jooyung Hancb1e8962019-02-21 14:18:11 +090023 "android_media_Streams.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070024 "android_media_SyncParams.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070025 "android_mtp_MtpDatabase.cpp",
26 "android_mtp_MtpDevice.cpp",
27 "android_mtp_MtpServer.cpp",
Marco Nelissen5ff11732019-10-17 08:55:52 -070028 "JetPlayer.cpp",
Colin Cross76de4f62017-05-15 18:10:40 -070029 ],
30
31 shared_libs: [
32 "libandroid_runtime",
Marco Nelissen5ff11732019-10-17 08:55:52 -070033 "libaudioclient",
Colin Cross76de4f62017-05-15 18:10:40 -070034 "libnativehelper",
Mathias Agopian3e88ed82018-02-20 18:32:22 -080035 "libnativewindow",
Colin Cross76de4f62017-05-15 18:10:40 -070036 "libutils",
37 "libbinder",
38 "libmedia",
Dongwon Kangcc73dda2019-09-23 17:42:00 -070039 "libmedia_codeclist",
Jooyung Hancb1e8962019-02-21 14:18:11 +090040 "libmedia_jni_utils",
Jae Shina0f51ba2017-10-30 14:50:52 +090041 "libmedia_omx",
Colin Cross76de4f62017-05-15 18:10:40 -070042 "libmediametrics",
43 "libmediadrm",
Derek Sollenbergerd938e5a2017-07-24 09:42:07 -040044 "libhwui",
Colin Cross76de4f62017-05-15 18:10:40 -070045 "libui",
46 "liblog",
47 "libcutils",
48 "libgui",
49 "libstagefright",
50 "libstagefright_foundation",
51 "libcamera_client",
52 "libmtp",
Colin Cross76de4f62017-05-15 18:10:40 -070053 "libpiex",
Suren Baghdasaryan3fc4af62018-12-14 10:32:22 -080054 "libprocessgroup",
Colin Cross76de4f62017-05-15 18:10:40 -070055 "libandroidfw",
Chong Zhangf98fc1c2018-02-13 17:55:34 -080056 "libhidlallocatorutils",
Chong Zhang2659c2f2017-04-27 13:18:20 -070057 "libhidlbase",
Marco Nelissen5ff11732019-10-17 08:55:52 -070058 "libsonivox",
Chong Zhang2659c2f2017-04-27 13:18:20 -070059 "android.hardware.cas@1.0",
60 "android.hardware.cas.native@1.0",
61 "android.hidl.memory@1.0",
62 "android.hidl.token@1.0-utils",
Colin Cross76de4f62017-05-15 18:10:40 -070063 ],
64
Marco Nelissena2eedd52019-09-27 11:19:36 -070065 header_libs: [
66 "libhardware_headers",
67 "libmediadrm_headers",
68 ],
Colin Cross76de4f62017-05-15 18:10:40 -070069
Marco Nelissen5ff11732019-10-17 08:55:52 -070070 static_libs: [
71 "libgrallocusage",
72 "libmedia_midiiowrapper",
73 ],
Colin Cross76de4f62017-05-15 18:10:40 -070074
75 include_dirs: [
76 "frameworks/base/core/jni",
77 "frameworks/native/include/media/openmax",
78 "system/media/camera/include",
79 ],
80
81 export_include_dirs: ["."],
82
83 export_shared_lib_headers: [
84 "libpiex",
85 ],
86
87 cflags: [
88 "-Wall",
89 "-Werror",
90 "-Wno-error=deprecated-declarations",
91 "-Wunused",
92 "-Wunreachable-code",
93 ],
94}
95
Wei Jia0a8a8f02017-12-05 17:05:29 -080096cc_library_shared {
Jooyung Hancb1e8962019-02-21 14:18:11 +090097 name: "libmedia_jni_utils",
98 srcs: [
99 "android_media_Utils.cpp",
100 ],
101
Marco Nelissene83368f2019-10-30 07:43:49 -0700102 header_libs: [
103 "libgui_headers",
104 ],
105
Jooyung Hancb1e8962019-02-21 14:18:11 +0900106 shared_libs: [
107 "liblog",
Jooyung Hancb1e8962019-02-21 14:18:11 +0900108 "libui",
109 "libutils",
Jooyung Hancb1e8962019-02-21 14:18:11 +0900110 ],
111
112 include_dirs: [
113 "system/media/camera/include",
114 ],
115
116 export_include_dirs: ["."],
117
118 cflags: [
119 "-Wall",
120 "-Werror",
121 "-Wno-error=deprecated-declarations",
122 "-Wunused",
123 "-Wunreachable-code",
124 ],
125}
126
shubang8ab43b12019-10-18 15:55:55 -0700127cc_library_shared {
128 name: "libmedia_tv_tuner",
129 srcs: [
130 "android_media_tv_Tuner.cpp",
131 ],
132
133 shared_libs: [
134 "android.hardware.tv.tuner@1.0",
135 "libandroid_runtime",
shubang964e6132019-11-26 15:05:22 -0800136 "libcutils",
137 "libfmq",
shubang7e849b02019-10-18 19:36:25 -0700138 "libhidlbase",
shubang8ab43b12019-10-18 15:55:55 -0700139 "liblog",
140 "libutils",
141 ],
142
143 export_include_dirs: ["."],
144
145 cflags: [
146 "-Wall",
147 "-Werror",
148 "-Wno-error=deprecated-declarations",
149 "-Wunused",
150 "-Wunreachable-code",
151 ],
152}
153
Colin Cross76de4f62017-05-15 18:10:40 -0700154subdirs = [
155 "audioeffect",
Colin Cross98c127f2017-05-16 13:08:19 -0700156 "soundpool",
Colin Cross76de4f62017-05-15 18:10:40 -0700157]