Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 1 | package { |
| 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 |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 7 | } |
| 8 | |
Devin Moore | 88cc0d4 | 2023-10-16 22:26:56 +0000 | [diff] [blame] | 9 | cc_defaults { |
| 10 | name: "libcodec2-runtime-libs", |
Pawin Vongmasa | e55ed3f | 2018-11-28 03:39:57 -0800 | [diff] [blame] | 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", |
Roma Kaul | dfe650a | 2018-08-02 17:48:51 +0530 | [diff] [blame] | 22 | "libcodec2_soft_hevcenc", |
Pawin Vongmasa | e55ed3f | 2018-11-28 03:39:57 -0800 | [diff] [blame] | 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", |
Manisha Jajoo | c237cbc | 2018-11-16 18:56:20 +0530 | [diff] [blame] | 33 | "libcodec2_soft_opusenc", |
Pawin Vongmasa | e55ed3f | 2018-11-28 03:39:57 -0800 | [diff] [blame] | 34 | "libcodec2_soft_vp8dec", |
| 35 | "libcodec2_soft_vp9dec", |
Ray Essick | c2cc437 | 2019-08-21 14:02:28 -0700 | [diff] [blame] | 36 | // "libcodec2_soft_av1dec_aom", // replaced by the gav1 implementation |
| 37 | "libcodec2_soft_av1dec_gav1", |
Harish Mahendrakar | f3b4d44 | 2023-10-24 17:47:04 +0000 | [diff] [blame] | 38 | "libcodec2_soft_av1dec_dav1d", |
Fyodor Kyslov | e21a4b7 | 2022-09-20 23:25:06 +0000 | [diff] [blame] | 39 | "libcodec2_soft_av1enc", |
Pawin Vongmasa | e55ed3f | 2018-11-28 03:39:57 -0800 | [diff] [blame] | 40 | "libcodec2_soft_vp8enc", |
| 41 | "libcodec2_soft_vp9enc", |
| 42 | "libcodec2_soft_rawdec", |
| 43 | "libcodec2_soft_flacdec", |
| 44 | "libcodec2_soft_flacenc", |
| 45 | "libcodec2_soft_gsmdec", |
Fyodor Kyslov | dd7d599 | 2024-11-05 21:40:16 +0000 | [diff] [blame] | 46 | "libcodec2_soft_apvenc", |
| 47 | "libcodec2_soft_apvdec", |
Pawin Vongmasa | e55ed3f | 2018-11-28 03:39:57 -0800 | [diff] [blame] | 48 | ], |
Pawin Vongmasa | e55ed3f | 2018-11-28 03:39:57 -0800 | [diff] [blame] | 49 | } |
Devin Moore | 88cc0d4 | 2023-10-16 22:26:56 +0000 | [diff] [blame] | 50 | |
| 51 | cc_library { |
| 52 | name: "libmedia_codecserviceregistrant", |
| 53 | vendor_available: true, |
| 54 | min_sdk_version: "29", |
| 55 | apex_available: [ |
| 56 | "//apex_available:platform", |
| 57 | "com.android.media.swcodec", |
| 58 | ], |
| 59 | |
Aashutosh Murthy | baf7e05 | 2024-04-24 12:30:30 +0530 | [diff] [blame] | 60 | export_include_dirs: ["include"], |
| 61 | |
Devin Moore | 88cc0d4 | 2023-10-16 22:26:56 +0000 | [diff] [blame] | 62 | srcs: [ |
| 63 | "CodecServiceRegistrant.cpp", |
| 64 | ], |
| 65 | |
| 66 | header_libs: [ |
| 67 | "libmedia_headers", |
| 68 | ], |
| 69 | |
| 70 | defaults: [ |
Wonsik Kim | 138db0d | 2023-11-02 16:02:01 -0700 | [diff] [blame] | 71 | "libcodec2-aidl-defaults", |
Devin Moore | 88cc0d4 | 2023-10-16 22:26:56 +0000 | [diff] [blame] | 72 | "libcodec2-hidl-defaults", |
| 73 | "libcodec2-runtime-libs", |
| 74 | ], |
| 75 | shared_libs: [ |
| 76 | "libbase", |
| 77 | "libcodec2_hidl@1.0", |
| 78 | "libcodec2_vndk", |
| 79 | "libhidlbase", |
| 80 | "libutils", |
| 81 | ], |
| 82 | |
| 83 | } |