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.
37 lines
889 B
37 lines
889 B
4 months ago
|
cc_binary {
|
||
|
name: "sample_uart",
|
||
|
vendor: true,
|
||
|
srcs: [
|
||
|
"sample_uart.c",
|
||
|
],
|
||
|
|
||
|
include_dirs: [
|
||
|
"vendor/platform/secure_c/include",
|
||
|
],
|
||
|
|
||
|
header_libs: [
|
||
|
"libuapi_uart_headers",
|
||
|
"libuapi_common_headers",
|
||
|
"drv_generic_headers",
|
||
|
],
|
||
|
|
||
|
shared_libs: [
|
||
|
"libuapi_securec",
|
||
|
"libuapi_uart",
|
||
|
"libuapi_common",
|
||
|
],
|
||
|
|
||
|
cflags: [
|
||
|
"-DLOG_TAG=\"libuapi_uart\"",
|
||
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
||
|
"-Wformat",
|
||
|
"-Wlong-long",
|
||
|
"-Wpointer-arith",
|
||
|
"-fstack-protector-all",
|
||
|
"-fPIC",
|
||
|
"-Werror",
|
||
|
"-Wall",
|
||
|
],
|
||
|
clang: true,
|
||
|
}
|