blob: c9387dd0a50251dcde74394c50891a70cf33f0e7 [file] [log] [blame]
Richard Xief2932a02023-10-20 17:37:57 +00001package {
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
10cc_library {
11 name: "libcodec2_soft_av1dec_dav1d",
12 // TODO: b/277797541 - enable once ready
13 enabled: false,
14
15 defaults: [
16 "libcodec2_soft-defaults",
17 "libcodec2_soft_sanitize_all-defaults",
Harish Mahendrakar29351ea2023-08-24 17:18:56 +053018 "libcodec2_soft_sanitize_cfi-defaults",
Richard Xief2932a02023-10-20 17:37:57 +000019 ],
20
21 cflags: [
22 "-DCODECNAME=\"c2.android.dav1d-av1.decoder\"",
23 "-Wno-unused-variable",
24 ],
25
Suyog Pawar4602c372023-08-17 11:09:23 +053026 srcs: ["C2SoftDav1dDec.cpp", "C2SoftDav1dDump.cpp"],
Richard Xief2932a02023-10-20 17:37:57 +000027 static_libs: [
Richard Xief2932a02023-10-20 17:37:57 +000028 "libdav1d_8bit",
29 "libdav1d_16bit",
30 ],
31
32 apex_available: [
33 "//apex_available:platform",
34 "com.android.media.swcodec",
35 ],
36
37}