blob: f22490d84ce6d4509f36b621c4c4c1b4f9003e1a [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
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 Prasadee173172020-11-23 12:17:14 +053010cc_library {
Ray Essickc2cc4372019-08-21 14:02:28 -070011 name: "libcodec2_soft_av1dec_gav1",
Vignesh Venkatasubramanianb6d383d2019-06-10 15:11:58 -070012 defaults: [
13 "libcodec2_soft-defaults",
14 "libcodec2_soft_sanitize_all-defaults",
15 ],
16
Ray Essickc2cc4372019-08-21 14:02:28 -070017 // 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 Venkatasubramanianb6d383d2019-06-10 15:11:58 -070023 srcs: ["C2SoftGav1Dec.cpp"],
Vignesh Venkatasubramanian406ed312022-04-21 10:32:55 -070024 static_libs: [
25 "libgav1",
Ray Essick18070d42024-04-22 15:38:47 -050026 "libyuv",
Vignesh Venkatasubramanian406ed312022-04-21 10:32:55 -070027 ],
Ray Essickef519d72022-01-30 19:34:35 -080028
29 apex_available: [
30 "//apex_available:platform",
31 "com.android.media.swcodec",
32 ],
33
Vignesh Venkatasubramanianb6d383d2019-06-10 15:11:58 -070034}