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_aom", 12 defaults: [ 13 "libcodec2_soft-defaults", 14 "libcodec2_soft_sanitize_all-defaults", 15 "libcodec2_soft_sanitize_cfi-defaults", 16 ], 17 18 // coordinated with frameworks/av/media/codec2/components/gav1/Android.bp 19 // so only 1 of them has the official c2.android.av1.decoder name 20 cflags: [ 21 "-DCODECNAME=\"c2.android.av1-aom.decoder\"", 22 ], 23 24 srcs: ["C2SoftAomDec.cpp"], 25 static_libs: ["libaom"], 26} 27 28cc_library { 29 name: "libcodec2_soft_av1enc", 30 defaults: [ 31 "libcodec2_soft-defaults", 32 "libcodec2_soft_sanitize_all-defaults", 33 "libcodec2_soft_sanitize_cfi-defaults", 34 ], 35 36 static_libs: ["libaom"], 37 38 srcs: ["C2SoftAomEnc.cpp"], 39 40 export_include_dirs: ["."], 41 42 apex_available: [ 43 "//apex_available:platform", 44 "com.android.media.swcodec", 45 ], 46 47} 48