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_media_libstagefright_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_av_media_libstagefright_license"], 8} 9 10cc_library_shared { 11 name: "libstagefright_soft_avcenc", 12 defaults: ["libstagefright_softomx-defaults"], 13 14 static_libs: ["libavcenc"], 15 srcs: ["SoftAVCEnc.cpp"], 16 17 sanitize: { 18 misc_undefined: [ 19 "signed-integer-overflow", 20 ], 21 cfi: true, 22 config: { 23 cfi_assembly_support: true, 24 }, 25 }, 26 27 cflags: [ 28 "-Wall", 29 "-Wno-unused-variable", 30 ], 31 ldflags: ["-Wl,-Bsymbolic"], 32 33 version_script: "exports.lds", 34} 35