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