blob: 02667ca070a4393f590eb32e13377d7b1472a1b5 [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",
38 "libmediametrics",
39 "libmediadrm",
40 "libmidi",
41 "libskia",
42 "libui",
43 "liblog",
44 "libcutils",
45 "libgui",
46 "libstagefright",
47 "libstagefright_foundation",
48 "libcamera_client",
49 "libmtp",
50 "libexif",
51 "libpiex",
52 "libandroidfw",
Chong Zhang2659c2f2017-04-27 13:18:20 -070053 "libhidlbase",
54 "libhidltransport",
55 "android.hardware.cas@1.0",
56 "android.hardware.cas.native@1.0",
57 "android.hidl.memory@1.0",
58 "android.hidl.token@1.0-utils",
Colin Cross76de4f62017-05-15 18:10:40 -070059 ],
60
61 header_libs: ["libhardware_headers"],
62
63 static_libs: ["libgrallocusage"],
64
65 include_dirs: [
66 "frameworks/base/core/jni",
67 "frameworks/native/include/media/openmax",
68 "system/media/camera/include",
69 ],
70
71 export_include_dirs: ["."],
72
73 export_shared_lib_headers: [
74 "libpiex",
75 ],
76
77 cflags: [
78 "-Wall",
79 "-Werror",
80 "-Wno-error=deprecated-declarations",
81 "-Wunused",
82 "-Wunreachable-code",
83 ],
84}
85
86subdirs = [
87 "audioeffect",
Colin Cross98c127f2017-05-16 13:08:19 -070088 "soundpool",
Colin Cross76de4f62017-05-15 18:10:40 -070089]