1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_av_services_mediacodec_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7} 8 9cc_defaults { 10 name: "libcodec2-runtime-libs", 11 // Codecs 12 runtime_libs: [ 13 "libcodec2_soft_avcdec", 14 "libcodec2_soft_avcenc", 15 "libcodec2_soft_aacdec", 16 "libcodec2_soft_aacenc", 17 "libcodec2_soft_amrnbdec", 18 "libcodec2_soft_amrnbenc", 19 "libcodec2_soft_amrwbdec", 20 "libcodec2_soft_amrwbenc", 21 "libcodec2_soft_hevcdec", 22 "libcodec2_soft_hevcenc", 23 "libcodec2_soft_g711alawdec", 24 "libcodec2_soft_g711mlawdec", 25 "libcodec2_soft_mpeg2dec", 26 "libcodec2_soft_h263dec", 27 "libcodec2_soft_h263enc", 28 "libcodec2_soft_mpeg4dec", 29 "libcodec2_soft_mpeg4enc", 30 "libcodec2_soft_mp3dec", 31 "libcodec2_soft_vorbisdec", 32 "libcodec2_soft_opusdec", 33 "libcodec2_soft_opusenc", 34 "libcodec2_soft_vp8dec", 35 "libcodec2_soft_vp9dec", 36 // "libcodec2_soft_av1dec_aom", // replaced by the gav1 implementation 37 "libcodec2_soft_av1dec_gav1", 38 "libcodec2_soft_av1dec_dav1d", 39 "libcodec2_soft_av1enc", 40 "libcodec2_soft_vp8enc", 41 "libcodec2_soft_vp9enc", 42 "libcodec2_soft_rawdec", 43 "libcodec2_soft_flacdec", 44 "libcodec2_soft_flacenc", 45 "libcodec2_soft_gsmdec", 46 ], 47} 48 49cc_library { 50 name: "libmedia_codecserviceregistrant", 51 vendor_available: true, 52 min_sdk_version: "29", 53 apex_available: [ 54 "//apex_available:platform", 55 "com.android.media.swcodec", 56 ], 57 58 srcs: [ 59 "CodecServiceRegistrant.cpp", 60 ], 61 62 header_libs: [ 63 "libmedia_headers", 64 ], 65 66 defaults: [ 67 "libcodec2-aidl-defaults", 68 "libcodec2-hidl-defaults", 69 "libcodec2-runtime-libs", 70 ], 71 shared_libs: [ 72 "libbase", 73 "libcodec2_hidl@1.0", 74 "libcodec2_vndk", 75 "libhidlbase", 76 "libutils", 77 ], 78 79} 80