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.

83 lines
1.5 KiB

cc_binary {
name: "sample_i2c_read",
vendor: true,
srcs: [
"sample_i2c_read.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
],
header_libs: [
"libuapi_i2c_headers",
"drv_generic_headers",
"drv_i2c_headers",
"drv_common_headers",
"libuapi_common_headers",
],
shared_libs: [
"liblog",
"libuapi_securec",
"libuapi_common",
"libuapi_i2c",
],
cflags: [
"-DLOG_TAG=\"libuapi_i2c\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
clang: true,
}
cc_binary {
name: "sample_i2c_write",
vendor: true,
srcs: [
"sample_i2c_write.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
],
header_libs: [
"libuapi_i2c_headers",
"drv_generic_headers",
"drv_i2c_headers",
"drv_common_headers",
"libuapi_common_headers",
],
shared_libs: [
"liblog",
"libuapi_securec",
"libuapi_common",
"libuapi_i2c",
],
cflags: [
"-DLOG_TAG=\"libuapi_i2c\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
clang: true,
}