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_avcdec", 12 defaults: [ 13 "libcodec2_soft-defaults", 14 "libcodec2_soft_sanitize_signed-defaults", 15 "libcodec2_soft_sanitize_cfi-defaults", 16 ], 17 18 static_libs: ["libavcdec"], 19 20 srcs: ["C2SoftAvcDec.cpp"], 21 22 include_dirs: [ 23 "external/libavc/decoder", 24 "external/libavc/common", 25 ], 26} 27 28cc_library { 29 name: "libcodec2_soft_avcenc", 30 defaults: [ 31 "libcodec2_soft-defaults", 32 "libcodec2_soft_sanitize_signed-defaults", 33 "libcodec2_soft_sanitize_cfi-defaults", 34 ], 35 36 static_libs: ["libavcenc"], 37 38 srcs: ["C2SoftAvcEnc.cpp"], 39 40 include_dirs: [ 41 "external/libavc/encoder", 42 "external/libavc/common", 43 ], 44 45 cflags: [ 46 "-Wno-unused-variable", 47 ], 48} 49