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 | f0ef856 | 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", |
| 21 | "android_media_MediaScanner.cpp", |
| 22 | "android_media_MediaSync.cpp", |
| 23 | "android_media_ResampleInputStream.cpp", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 24 | "android_media_Streams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 25 | "android_media_SyncParams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 26 | "android_mtp_MtpDatabase.cpp", |
| 27 | "android_mtp_MtpDevice.cpp", |
| 28 | "android_mtp_MtpServer.cpp", |
Marco Nelissen | f0ef856 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 29 | "JetPlayer.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 30 | ], |
| 31 | |
| 32 | shared_libs: [ |
| 33 | "libandroid_runtime", |
Marco Nelissen | f0ef856 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 34 | "libaudioclient", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 35 | "libnativehelper", |
Mathias Agopian | 3e88ed8 | 2018-02-20 18:32:22 -0800 | [diff] [blame] | 36 | "libnativewindow", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 37 | "libutils", |
| 38 | "libbinder", |
| 39 | "libmedia", |
Dongwon Kang | 097fc5f | 2019-09-23 17:42:00 -0700 | [diff] [blame] | 40 | "libmedia_codeclist", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 41 | "libmedia_jni_utils", |
Jae Shin | a0f51ba | 2017-10-30 14:50:52 +0900 | [diff] [blame] | 42 | "libmedia_omx", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 43 | "libmediametrics", |
| 44 | "libmediadrm", |
Derek Sollenberger | d938e5a | 2017-07-24 09:42:07 -0400 | [diff] [blame] | 45 | "libhwui", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 46 | "libui", |
| 47 | "liblog", |
| 48 | "libcutils", |
| 49 | "libgui", |
| 50 | "libstagefright", |
| 51 | "libstagefright_foundation", |
| 52 | "libcamera_client", |
| 53 | "libmtp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 54 | "libpiex", |
Suren Baghdasaryan | 3fc4af6 | 2018-12-14 10:32:22 -0800 | [diff] [blame] | 55 | "libprocessgroup", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 56 | "libandroidfw", |
Chong Zhang | f98fc1c | 2018-02-13 17:55:34 -0800 | [diff] [blame] | 57 | "libhidlallocatorutils", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 58 | "libhidlbase", |
Marco Nelissen | f0ef856 | 2019-10-17 08:55:52 -0700 | [diff] [blame] | 59 | "libsonivox", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 60 | "android.hardware.cas@1.0", |
| 61 | "android.hardware.cas.native@1.0", |
| 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 | 3495d4f | 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 | f0ef856 | 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 | |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 128 | subdirs = [ |
| 129 | "audioeffect", |
Colin Cross | 98c127f | 2017-05-16 13:08:19 -0700 | [diff] [blame] | 130 | "soundpool", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 131 | ] |