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_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
13    defaults: [
14        "libcodec2_soft-defaults",
15        "libcodec2_soft_sanitize_all-defaults",
16        "libcodec2_soft_sanitize_cfi-defaults",
17    ],
18
19    cflags: [
20        "-DCODECNAME=\"c2.android.av1-dav1d.decoder\"",
21        "-Wno-unused-variable",
22    ],
23
24    srcs: ["C2SoftDav1dDec.cpp", "C2SoftDav1dDump.cpp"],
25    static_libs: [
26        "libdav1d",
27    ],
28}
29