error: frameworks/av/apex/Android.bp:209:1: module "com.android.media.swcodec" variant "android_common_cfi_com.android.media.swcodec_image": "libcodec2_hidl@1.2" requires "android.hardware.media.c2@1.2" that doesn't list the APEX under 'apex_available'.

Dependency path:
           via tag apex.dependencyTag: { name:sharedLib payload:true sourceOnly:false}
    -> libcodec2_hidl@1.2{os:android,image:,arch:arm64_armv8-a,sdk:,link:shared,version:,cfi:cfi,apex:com.android.media.swcodec}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:true explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false}
    -> android.hardware.media.c2@1.2{os:android,image:,arch:arm64_armv8-a,sdk:,link:shared,version:,fuzzer:,apex:apex29}

Consider adding "com.android.media.swcodec" to 'apex_available' property of "android.hardware.media.c2@1.2"
error: frameworks/av/apex/Android.bp:209:1: module "com.android.media.swcodec" variant "android_common_cfi_com.android.media.swcodec_image": "android.hardware.media.c2@1.2" requires "android.hardware.media.c2@1.2" that doesn't list the APEX under 'apex_available'.

Dependency path:
           via tag apex.dependencyTag: { name:sharedLib payload:true sourceOnly:false}
    -> libcodec2_hidl@1.2{os:android,image:,arch:arm64_armv8-a,sdk:,link:shared,version:,cfi:cfi,apex:com.android.media.swcodec}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:true explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false}
    -> android.hardware.media.c2@1.2{os:android,image:,arch:arm64_armv8-a,sdk:,link:shared,version:,fuzzer:,apex:apex29}
           via tag cc.dependencyTag: { name:reuse objects}
    -> android.hardware.media.c2@1.2{os:android,image:,arch:arm64_armv8-a,sdk:,link:static,asan:,fuzzer:,cfi:,scs:,apex:apex29}

Consider adding "com.android.media.swcodec" to 'apex_available' property of "android.hardware.media.c2@1.2"
error: frameworks/av/apex/Android.bp:209:1: module "com.android.media.swcodec" variant "android_common_cfi_com.android.media.swcodec_image": "libmedia_codecserviceregistrant" requires "android.hardware.media.c2@1.2" that doesn't list the APEX under 'apex_available'.

Dependency path:
           via tag apex.dependencyTag: { name:executable payload:true sourceOnly:false}
    -> mediaswcodec{os:android,image:,arch:arm64_armv8-a,sdk:,cfi:cfi,apex:com.android.media.swcodec}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false}
    -> libmedia_codecserviceregistrant{os:android,image:,arch:arm64_armv8-a,sdk:,link:shared,version:,cfi:cfi,apex:com.android.media.swcodec}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false}
    -> android.hardware.media.c2@1.2{os:android,image:,arch:arm64_armv8-a,sdk:,link:shared,version:,fuzzer:,apex:apex29}

Consider adding "com.android.media.swcodec" to 'apex_available' property of "android.hardware.media.c2@1.2"
16:07:42 soong bootstrap failed with: exit status 1

#### failed to build some targets (49 seconds) ####