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", |
| 15 | "android_media_MediaMetricsJNI.cpp", |
| 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", |
| 24 | "android_media_SyncParams.cpp", |
| 25 | "android_media_Utils.cpp", |
| 26 | "android_mtp_MtpDatabase.cpp", |
| 27 | "android_mtp_MtpDevice.cpp", |
| 28 | "android_mtp_MtpServer.cpp", |
| 29 | "midi/android_media_midi_MidiDevice.cpp", |
| 30 | ], |
| 31 | |
| 32 | shared_libs: [ |
| 33 | "libandroid_runtime", |
| 34 | "libnativehelper", |
| 35 | "libutils", |
| 36 | "libbinder", |
| 37 | "libmedia", |
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", |
| 41 | "libmidi", |
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", |
| 51 | "libexif", |
| 52 | "libpiex", |
| 53 | "libandroidfw", |
Chong Zhang | 2659c2f | 2017-04-27 13:18:20 -0700 | [diff] [blame] | 54 | "libhidlbase", |
| 55 | "libhidltransport", |
| 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 | |
| 87 | subdirs = [ |
| 88 | "audioeffect", |
Colin Cross | 98c127f | 2017-05-16 13:08:19 -0700 | [diff] [blame] | 89 | "soundpool", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 90 | ] |