1// Bluetooth SBC decoder static library for target 2// ======================================================== 3package { 4 // See: http://go/android-license-faq 5 // A large-scale-change added 'default_applicable_licenses' to import 6 // all of the 'license_kinds' from "system_bt_license" 7 // to get the below license kinds: 8 // SPDX-license-identifier-Apache-2.0 9 default_applicable_licenses: ["system_bt_license"], 10} 11 12cc_library_static { 13 name: "libbt-sbc-decoder", 14 defaults: ["fluoride_defaults"], 15 srcs: [ 16 "srce/alloc.c", 17 "srce/bitalloc.c", 18 "srce/bitalloc-sbc.c", 19 "srce/bitstream-decode.c", 20 "srce/decoder-oina.c", 21 "srce/decoder-private.c", 22 "srce/decoder-sbc.c", 23 "srce/dequant.c", 24 "srce/framing.c", 25 "srce/framing-sbc.c", 26 "srce/oi_codec_version.c", 27 "srce/synthesis-sbc.c", 28 "srce/synthesis-dct8.c", 29 "srce/synthesis-8-generated.c", 30 ], 31 local_include_dirs: [ 32 "include", 33 "srce", 34 ], 35 host_supported: true, 36} 37 38cc_fuzz { 39 name: "sbcdecoder_fuzzer", 40 srcs: [ 41 "sbcdecoder_fuzzer.c", 42 ], 43 static_libs: [ 44 "libbt-sbc-decoder", 45 ], 46 local_include_dirs: [ 47 "include", 48 ], 49 host_supported: false, 50} 51