blob: 17b9919a1dc39dc8ecfbfc8503a1029e74fc00cf [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_adhd_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
// SPDX-license-identifier-LGPL
default_applicable_licenses: ["external_adhd_license"],
}
cc_library_static {
name: "libcras",
srcs: [
"common/cras_audio_format.c",
"common/cras_config.c",
"common/cras_file_wait.c",
"common/cras_shm.c",
"common/cras_util.c",
"common/edid_utils.c",
"libcras/cras_client.c",
"libcras/cras_helpers.c",
],
shared_libs: [
"libcutils",
"libtinyalsa",
],
export_include_dirs: [
"common",
"libcras",
],
cflags: [
"-DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\"",
"-Wall",
"-Werror",
"-Wno-error=missing-field-initializers",
"-Wno-sign-compare",
"-Wno-unused-function",
"-Wno-unused-parameter",
],
}