2022-04-22 12:50:12 +02:00

62 lines
1.3 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_bt_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_bt_license"],
}
cc_library_static {
name: "liblc3",
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth"
],
defaults: ["fluoride_defaults"],
srcs: [
"src/*.c",
],
cflags: [
"-O3",
"-ffast-math",
"-Werror",
"-Wmissing-braces",
"-Wno-unused-parameter",
"-Wno-#warnings",
"-Wuninitialized",
"-Wno-self-assign",
"-Wno-implicit-fallthrough",
],
target: {
android: {
sanitize: {
misc_undefined:[
"unsigned-integer-overflow",
"signed-integer-overflow",
"bounds",
],
cfi: true,
},
},
},
export_include_dirs: [
"include",
],
}
cc_fuzz {
name: "liblc3_fuzzer",
srcs: [
"fuzzer/liblc3_fuzzer.cpp",
],
static_libs: [
"liblc3",
],
}