Bob Badour | 56786ac | 2021-02-25 15:24:36 -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_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_license"], |
| 8 | } |
| 9 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 10 | cc_library { |
Ray Essick | c2cc437 | 2019-08-21 14:02:28 -0700 | [diff] [blame] | 11 | name: "libcodec2_soft_av1dec_gav1", |
Vignesh Venkatasubramanian | b6d383d | 2019-06-10 15:11:58 -0700 | [diff] [blame] | 12 | defaults: [ |
| 13 | "libcodec2_soft-defaults", |
| 14 | "libcodec2_soft_sanitize_all-defaults", |
| 15 | ], |
| 16 | |
Ray Essick | c2cc437 | 2019-08-21 14:02:28 -0700 | [diff] [blame] | 17 | // coordinated with frameworks/av/media/codec2/components/aom/Android.bp |
| 18 | // so only 1 of them has the official c2.android.av1.decoder name |
| 19 | cflags: [ |
| 20 | "-DCODECNAME=\"c2.android.av1.decoder\"", |
| 21 | ], |
| 22 | |
Vignesh Venkatasubramanian | b6d383d | 2019-06-10 15:11:58 -0700 | [diff] [blame] | 23 | srcs: ["C2SoftGav1Dec.cpp"], |
Vignesh Venkatasubramanian | 406ed31 | 2022-04-21 10:32:55 -0700 | [diff] [blame] | 24 | static_libs: [ |
| 25 | "libgav1", |
Ray Essick | 18070d4 | 2024-04-22 15:38:47 -0500 | [diff] [blame] | 26 | "libyuv", |
Vignesh Venkatasubramanian | 406ed31 | 2022-04-21 10:32:55 -0700 | [diff] [blame] | 27 | ], |
Ray Essick | ef519d7 | 2022-01-30 19:34:35 -0800 | [diff] [blame] | 28 | |
| 29 | apex_available: [ |
| 30 | "//apex_available:platform", |
| 31 | "com.android.media.swcodec", |
| 32 | ], |
| 33 | |
Vignesh Venkatasubramanian | b6d383d | 2019-06-10 15:11:58 -0700 | [diff] [blame] | 34 | } |