You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.1 KiB

cc_defaults {
name: "karaoke_defaults",
srcs: [
],
cflags: [
"-DLOG_TAG=\"sample_audio_karaoke\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
include_dirs: [
"vendor/platform/secure_c/include",
"external/tinyalsa/include"
],
header_libs: [
"drv_generic_headers",
"libuapi_audio_headers",
"libuapi_generic_headers",
"libuapi_media_headers",
"drv_audio_headers",
"drv_amp_headers",
"libuapi_adp_headers",
],
shared_libs: [
"libuapi_securec",
"libuapi_common",
"libcutils",
"libutils",
"libui",
"libdl",
"liblog",
"libuapi_avplay",
"libuapi_ao",
"libteec_vendor",
"libtinyalsa",
],
}
cc_binary {
name: "sample_karaoke",
proprietary: true,
srcs: [
"karaoke.c",
"tiny_capture.c",
],
defaults: ["karaoke_defaults"],
clang: true,
}