Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libmedia_jni", |
| 3 | |
| 4 | srcs: [ |
| 5 | "android_media_ImageWriter.cpp", |
| 6 | "android_media_ImageReader.cpp", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 7 | "android_media_JetPlayer.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 8 | "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 Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 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", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 21 | "android_media_MediaSync.cpp", |
| 22 | "android_media_ResampleInputStream.cpp", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 23 | "android_media_Streams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 24 | "android_media_SyncParams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 25 | "android_mtp_MtpDatabase.cpp", |
| 26 | "android_mtp_MtpDevice.cpp", |
| 27 | "android_mtp_MtpServer.cpp", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 28 | "JetPlayer.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 29 | ], |
| 30 | |
| 31 | shared_libs: [ |
| 32 | "libandroid_runtime", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 33 | "libaudioclient", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 34 | "libnativehelper", |
Mathias Agopian | 3e88ed8 | 2018-02-20 18:32:22 -0800 | [diff] [blame] | 35 | "libnativewindow", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 36 | "libutils", |
| 37 | "libbinder", |
| 38 | "libmedia", |
Dongwon Kang | cc73dda | 2019-09-23 17:42:00 -0700 | [diff] [blame] | 39 | "libmedia_codeclist", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 40 | "libmedia_jni_utils", |
Jae Shin | a0f51ba | 2017-10-30 14:50:52 +0900 | [diff] [blame] | 41 | "libmedia_omx", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 42 | "libmediametrics", |
| 43 | "libmediadrm", |
Derek Sollenberger | d938e5a | 2017-07-24 09:42:07 -0400 | [diff] [blame] | 44 | "libhwui", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 45 | "libui", |
| 46 | "liblog", |
| 47 | "libcutils", |
| 48 | "libgui", |
| 49 | "libstagefright", |
| 50 | "libstagefright_foundation", |
| 51 | "libcamera_client", |
| 52 | "libmtp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 53 | "libpiex", |
Suren Baghdasaryan | 3fc4af6 | 2018-12-14 10:32:22 -0800 | [diff] [blame] | 54 | "libprocessgroup", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 55 | "libandroidfw", |
Chong Zhang | f98fc1c | 2018-02-13 17:55:34 -0800 | [diff] [blame] | 56 | "libhidlallocatorutils", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 57 | "libhidlbase", |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 58 | "libsonivox", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 59 | "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 Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 63 | ], |
| 64 | |
Marco Nelissen | a2eedd5 | 2019-09-27 11:19:36 -0700 | [diff] [blame] | 65 | header_libs: [ |
| 66 | "libhardware_headers", |
| 67 | "libmediadrm_headers", |
| 68 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 69 | |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 70 | static_libs: [ |
| 71 | "libgrallocusage", |
| 72 | "libmedia_midiiowrapper", |
| 73 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 74 | |
| 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 Jia | 0a8a8f0 | 2017-12-05 17:05:29 -0800 | [diff] [blame] | 96 | cc_library_shared { |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 97 | name: "libmedia_jni_utils", |
| 98 | srcs: [ |
| 99 | "android_media_Utils.cpp", |
| 100 | ], |
| 101 | |
Marco Nelissen | e83368f | 2019-10-30 07:43:49 -0700 | [diff] [blame] | 102 | header_libs: [ |
| 103 | "libgui_headers", |
| 104 | ], |
| 105 | |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 106 | shared_libs: [ |
| 107 | "liblog", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 108 | "libui", |
| 109 | "libutils", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 110 | ], |
| 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 | |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 127 | cc_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", |
shubang | 964e613 | 2019-11-26 15:05:22 -0800 | [diff] [blame^] | 136 | "libcutils", |
| 137 | "libfmq", |
shubang | 7e849b0 | 2019-10-18 19:36:25 -0700 | [diff] [blame] | 138 | "libhidlbase", |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 139 | "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 Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 154 | subdirs = [ |
| 155 | "audioeffect", |
Colin Cross | 98c127f | 2017-05-16 13:08:19 -0700 | [diff] [blame] | 156 | "soundpool", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 157 | ] |