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", |
| 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", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 15 | "android_media_MediaMetadataRetriever.cpp", |
| 16 | "android_media_MediaMuxer.cpp", |
| 17 | "android_media_MediaPlayer.cpp", |
| 18 | "android_media_MediaProfiles.cpp", |
| 19 | "android_media_MediaRecorder.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 20 | "android_media_MediaSync.cpp", |
| 21 | "android_media_ResampleInputStream.cpp", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 22 | "android_media_Streams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 23 | "android_media_SyncParams.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 24 | "android_mtp_MtpDatabase.cpp", |
| 25 | "android_mtp_MtpDevice.cpp", |
| 26 | "android_mtp_MtpServer.cpp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 27 | ], |
| 28 | |
| 29 | shared_libs: [ |
| 30 | "libandroid_runtime", |
| 31 | "libnativehelper", |
Mathias Agopian | 3e88ed8 | 2018-02-20 18:32:22 -0800 | [diff] [blame] | 32 | "libnativewindow", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 33 | "libutils", |
| 34 | "libbinder", |
| 35 | "libmedia", |
Dongwon Kang | cc73dda | 2019-09-23 17:42:00 -0700 | [diff] [blame] | 36 | "libmedia_codeclist", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 37 | "libmedia_jni_utils", |
Jae Shin | a0f51ba | 2017-10-30 14:50:52 +0900 | [diff] [blame] | 38 | "libmedia_omx", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 39 | "libmediametrics", |
| 40 | "libmediadrm", |
Derek Sollenberger | d938e5a | 2017-07-24 09:42:07 -0400 | [diff] [blame] | 41 | "libhwui", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 42 | "libui", |
| 43 | "liblog", |
| 44 | "libcutils", |
| 45 | "libgui", |
| 46 | "libstagefright", |
| 47 | "libstagefright_foundation", |
| 48 | "libcamera_client", |
| 49 | "libmtp", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 50 | "libpiex", |
Suren Baghdasaryan | 3fc4af6 | 2018-12-14 10:32:22 -0800 | [diff] [blame] | 51 | "libprocessgroup", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 52 | "libandroidfw", |
Chong Zhang | f98fc1c | 2018-02-13 17:55:34 -0800 | [diff] [blame] | 53 | "libhidlallocatorutils", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 54 | "libhidlbase", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 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 Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 59 | ], |
| 60 | |
Marco Nelissen | a2eedd5d | 2019-09-27 11:19:36 -0700 | [diff] [blame] | 61 | header_libs: [ |
| 62 | "libhardware_headers", |
| 63 | "libmediadrm_headers", |
| 64 | ], |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 65 | |
| 66 | static_libs: ["libgrallocusage"], |
| 67 | |
| 68 | include_dirs: [ |
| 69 | "frameworks/base/core/jni", |
| 70 | "frameworks/native/include/media/openmax", |
| 71 | "system/media/camera/include", |
| 72 | ], |
| 73 | |
| 74 | export_include_dirs: ["."], |
| 75 | |
| 76 | export_shared_lib_headers: [ |
| 77 | "libpiex", |
| 78 | ], |
| 79 | |
| 80 | cflags: [ |
| 81 | "-Wall", |
| 82 | "-Werror", |
| 83 | "-Wno-error=deprecated-declarations", |
| 84 | "-Wunused", |
| 85 | "-Wunreachable-code", |
| 86 | ], |
| 87 | } |
| 88 | |
Wei Jia | 0a8a8f0 | 2017-12-05 17:05:29 -0800 | [diff] [blame] | 89 | cc_library_shared { |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 90 | name: "libmedia_jni_utils", |
| 91 | srcs: [ |
| 92 | "android_media_Utils.cpp", |
| 93 | ], |
| 94 | |
| 95 | shared_libs: [ |
| 96 | "liblog", |
Chong Zhang | 12a24cd | 2019-03-21 12:33:27 -0700 | [diff] [blame] | 97 | "libgui", |
Jooyung Han | cb1e896 | 2019-02-21 14:18:11 +0900 | [diff] [blame] | 98 | "libnativewindow", |
| 99 | "libui", |
| 100 | "libutils", |
| 101 | "android.hidl.token@1.0-utils", |
| 102 | ], |
| 103 | |
| 104 | include_dirs: [ |
| 105 | "system/media/camera/include", |
| 106 | ], |
| 107 | |
| 108 | export_include_dirs: ["."], |
| 109 | |
| 110 | cflags: [ |
| 111 | "-Wall", |
| 112 | "-Werror", |
| 113 | "-Wno-error=deprecated-declarations", |
| 114 | "-Wunused", |
| 115 | "-Wunreachable-code", |
| 116 | ], |
| 117 | } |
| 118 | |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 119 | subdirs = [ |
| 120 | "audioeffect", |
Colin Cross | 98c127f | 2017-05-16 13:08:19 -0700 | [diff] [blame] | 121 | "soundpool", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 122 | ] |