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 enabled: true, 12 name: "libcodec2_soft_apvenc", 13 defaults: [ 14 "libcodec2_soft-defaults", 15 "libcodec2_soft_sanitize_cfi-defaults", 16 "libcodec2_soft_sanitize_signed-defaults", 17 ], 18 19 static_libs: [ 20 "android.media.swcodec.flags-aconfig-cc", 21 "libopenapv", 22 ], 23 24 srcs: [ 25 "C2SoftApvEnc.cpp", 26 "isAtLeastRelease.cpp", 27 ], 28 29 cflags: [ 30 "-DOAPV_STATIC_DEFINE", 31 "-Wno-reorder-ctor", 32 "-Wno-unused-function", 33 "-Wno-unused-parameter", 34 "-Wno-unused-variable", 35 ], 36} 37 38cc_library { 39 enabled: true, 40 name: "libcodec2_soft_apvdec", 41 defaults: [ 42 "libcodec2_soft-defaults", 43 "libcodec2_soft_sanitize_cfi-defaults", 44 "libcodec2_soft_sanitize_signed-defaults", 45 ], 46 47 static_libs: [ 48 "android.media.swcodec.flags-aconfig-cc", 49 "libopenapv", 50 ], 51 52 srcs: [ 53 "C2SoftApvDec.cpp", 54 "isAtLeastRelease.cpp", 55 ], 56 57 cflags: [ 58 "-DOAPV_STATIC_DEFINE", 59 "-Wno-reorder-ctor", 60 "-Wno-unused-function", 61 "-Wno-unused-parameter", 62 "-Wno-unused-variable", 63 ], 64} 65