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_hevcdec", 12 defaults: ["libstagefright_softomx-defaults"], 13 14 static_libs: ["libhevcdec"], 15 srcs: ["SoftHEVC.cpp"], 16 17 cflags: [ 18 "-Wall", 19 "-Wno-unused-variable", 20 ], 21 22 version_script: "exports.lds", 23 24 sanitize: { 25 misc_undefined: [ 26 "signed-integer-overflow", 27 ], 28 cfi: true, 29 config: { 30 cfi_assembly_support: true, 31 }, 32 }, 33 34 // We need this because the current asm generates the following link error: 35 // requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC 36 // Bug: 16853291 37 ldflags: ["-Wl,-Bsymbolic"], 38} 39