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", |
Robert Shih | d2e8b43 | 2019-11-21 20:27:56 -0800 | [diff] [blame^] | 61 | "android.hardware.drm@1.3", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 62 | "android.hidl.memory@1.0", |
| 63 | "android.hidl.token@1.0-utils", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 64 | ], |
| 65 | |
Marco Nelissen | a2eedd5 | 2019-09-27 11:19:36 -0700 | [diff] [blame] | 66 | header_libs: [ |
| 67 | "libhardware_headers", |
| 68 | "libmediadrm_headers", |
| 69 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 70 | |
Marco Nelissen | 5ff1173 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 71 | static_libs: [ |
| 72 | "libgrallocusage", |
| 73 | "libmedia_midiiowrapper", |
| 74 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 75 | |
| 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 Jia | 0a8a8f0 | 2017-12-05 17:05:29 -0800 | [diff] [blame] | 97 | cc_library_shared { |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 98 | name: "libmedia_jni_utils", |
| 99 | srcs: [ |
| 100 | "android_media_Utils.cpp", |
| 101 | ], |
| 102 | |
Marco Nelissen | e83368f | 2019-10-30 07:43:49 -0700 | [diff] [blame] | 103 | header_libs: [ |
| 104 | "libgui_headers", |
| 105 | ], |
| 106 | |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 107 | shared_libs: [ |
| 108 | "liblog", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 109 | "libui", |
| 110 | "libutils", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 111 | ], |
| 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 | |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 128 | cc_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", |
shubang | 7e849b0 | 2019-10-18 19:36:25 -0700 | [diff] [blame] | 137 | "libhidlbase", |
shubang | 8ab43b1 | 2019-10-18 15:55:55 -0700 | [diff] [blame] | 138 | "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 Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 153 | subdirs = [ |
| 154 | "audioeffect", |
Colin Cross | 98c127f | 2017-05-16 13:08:19 -0700 | [diff] [blame] | 155 | "soundpool", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 156 | ] |