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.
82 lines
1.5 KiB
82 lines
1.5 KiB
cc_binary {
|
|
name: "sample_moto_pwm",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"sample_moto_pwm.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_pwm_headers",
|
|
"drv_generic_headers",
|
|
"drv_pwm_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_common",
|
|
"libuapi_pwm",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|
|
|
|
cc_binary {
|
|
name: "sample_pwm",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"sample_pwm.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_pwm_headers",
|
|
"drv_generic_headers",
|
|
"drv_pwm_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_common",
|
|
"libuapi_pwm",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|