blob: 3ba868835151db2d1f0843fa5dff12c5b5136767 [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",
Robert Shihd2e8b432019-11-21 20:27:56 -080061 "android.hardware.drm@1.3",
Chong Zhang2659c2f2017-04-27 13:18:20 -070062 "android.hidl.memory@1.0",
63 "android.hidl.token@1.0-utils",
Colin Cross76de4f62017-05-15 18:10:40 -070064 ],
65
Marco Nelissena2eedd52019-09-27 11:19:36 -070066 header_libs: [
67 "libhardware_headers",
68 "libmediadrm_headers",
69 ],
Colin Cross76de4f62017-05-15 18:10:40 -070070
Marco Nelissen5ff11732019-10-17 08:55:52 -070071 static_libs: [
72 "libgrallocusage",
73 "libmedia_midiiowrapper",
74 ],
Colin Cross76de4f62017-05-15 18:10:40 -070075
76 include_dirs: [
77 "frameworks/base/core/jni",
78 "frameworks/native/include/media/openmax",
79 "system/media/camera/include",
80 ],
81
82 export_include_dirs: ["."],
83
84 export_shared_lib_headers: [
85 "libpiex",
86 ],
87
88 cflags: [
89 "-Wall",
90 "-Werror",
91 "-Wno-error=deprecated-declarations",
92 "-Wunused",
93 "-Wunreachable-code",
94 ],
95}
96
Wei Jia0a8a8f02017-12-05 17:05:29 -080097cc_library_shared {
Jooyung Hancb1e8962019-02-21 14:18:11 +090098 name: "libmedia_jni_utils",
99 srcs: [
100 "android_media_Utils.cpp",
101 ],
102
Marco Nelissene83368f2019-10-30 07:43:49 -0700103 header_libs: [
104 "libgui_headers",
105 ],
106
Jooyung Hancb1e8962019-02-21 14:18:11 +0900107 shared_libs: [
108 "liblog",
Jooyung Hancb1e8962019-02-21 14:18:11 +0900109 "libui",
110 "libutils",
Jooyung Hancb1e8962019-02-21 14:18:11 +0900111 ],
112
113 include_dirs: [
114 "system/media/camera/include",
115 ],
116
117 export_include_dirs: ["."],
118
119 cflags: [
120 "-Wall",
121 "-Werror",
122 "-Wno-error=deprecated-declarations",
123 "-Wunused",
124 "-Wunreachable-code",
125 ],
126}
127
shubang8ab43b12019-10-18 15:55:55 -0700128cc_library_shared {
129 name: "libmedia_tv_tuner",
130 srcs: [
131 "android_media_tv_Tuner.cpp",
132 ],
133
134 shared_libs: [
135 "android.hardware.tv.tuner@1.0",
136 "libandroid_runtime",
shubang7e849b02019-10-18 19:36:25 -0700137 "libhidlbase",
shubang8ab43b12019-10-18 15:55:55 -0700138 "liblog",
139 "libutils",
140 ],
141
142 export_include_dirs: ["."],
143
144 cflags: [
145 "-Wall",
146 "-Werror",
147 "-Wno-error=deprecated-declarations",
148 "-Wunused",
149 "-Wunreachable-code",
150 ],
151}
152
Colin Cross76de4f62017-05-15 18:10:40 -0700153subdirs = [
154 "audioeffect",
Colin Cross98c127f2017-05-16 13:08:19 -0700155 "soundpool",
Colin Cross76de4f62017-05-15 18:10:40 -0700156]