blob: 597336bc5fae8807c7477f82fad72d0e00d81a98 [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",
7 "android_media_MediaCrypto.cpp",
8 "android_media_MediaCodec.cpp",
9 "android_media_MediaCodecList.cpp",
10 "android_media_MediaDataSource.cpp",
11 "android_media_MediaDescrambler.cpp",
12 "android_media_MediaDrm.cpp",
13 "android_media_MediaExtractor.cpp",
14 "android_media_MediaHTTPConnection.cpp",
15 "android_media_MediaMetricsJNI.cpp",
16 "android_media_MediaMetadataRetriever.cpp",
17 "android_media_MediaMuxer.cpp",
18 "android_media_MediaPlayer.cpp",
19 "android_media_MediaProfiles.cpp",
20 "android_media_MediaRecorder.cpp",
21 "android_media_MediaScanner.cpp",
22 "android_media_MediaSync.cpp",
23 "android_media_ResampleInputStream.cpp",
24 "android_media_SyncParams.cpp",
25 "android_media_Utils.cpp",
26 "android_mtp_MtpDatabase.cpp",
27 "android_mtp_MtpDevice.cpp",
28 "android_mtp_MtpServer.cpp",
29 "midi/android_media_midi_MidiDevice.cpp",
30 ],
31
32 shared_libs: [
33 "libandroid_runtime",
34 "libnativehelper",
35 "libutils",
36 "libbinder",
37 "libmedia",
Jae Shina0f51ba2017-10-30 14:50:52 +090038 "libmedia_omx",
Colin Cross76de4f62017-05-15 18:10:40 -070039 "libmediametrics",
40 "libmediadrm",
41 "libmidi",
Derek Sollenbergerd938e5a2017-07-24 09:42:07 -040042 "libhwui",
Colin Cross76de4f62017-05-15 18:10:40 -070043 "libui",
44 "liblog",
45 "libcutils",
46 "libgui",
47 "libstagefright",
48 "libstagefright_foundation",
49 "libcamera_client",
50 "libmtp",
51 "libexif",
52 "libpiex",
53 "libandroidfw",
Chong Zhang2659c2f2017-04-27 13:18:20 -070054 "libhidlbase",
55 "libhidltransport",
56 "android.hardware.cas@1.0",
57 "android.hardware.cas.native@1.0",
58 "android.hidl.memory@1.0",
59 "android.hidl.token@1.0-utils",
Colin Cross76de4f62017-05-15 18:10:40 -070060 ],
61
62 header_libs: ["libhardware_headers"],
63
64 static_libs: ["libgrallocusage"],
65
66 include_dirs: [
67 "frameworks/base/core/jni",
68 "frameworks/native/include/media/openmax",
69 "system/media/camera/include",
70 ],
71
72 export_include_dirs: ["."],
73
74 export_shared_lib_headers: [
75 "libpiex",
76 ],
77
78 cflags: [
79 "-Wall",
80 "-Werror",
81 "-Wno-error=deprecated-declarations",
82 "-Wunused",
83 "-Wunreachable-code",
84 ],
85}
86
87subdirs = [
88 "audioeffect",
Colin Cross98c127f2017-05-16 13:08:19 -070089 "soundpool",
Colin Cross76de4f62017-05-15 18:10:40 -070090]