Richard Xie | f2932a0 | 2023-10-20 17:37:57 +0000 | [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 | |
| 10 | cc_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", |
| 18 | ], |
| 19 | |
| 20 | cflags: [ |
| 21 | "-DCODECNAME=\"c2.android.dav1d-av1.decoder\"", |
| 22 | "-Wno-unused-variable", |
| 23 | ], |
| 24 | |
| 25 | srcs: ["C2SoftDav1dDec.cpp"], |
| 26 | static_libs: [ |
| 27 | "libyuv_static", |
| 28 | "libdav1d_8bit", |
| 29 | "libdav1d_16bit", |
| 30 | ], |
| 31 | |
| 32 | apex_available: [ |
| 33 | "//apex_available:platform", |
| 34 | "com.android.media.swcodec", |
| 35 | ], |
| 36 | |
| 37 | } |