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.

77 lines
1.4 KiB

cc_binary {
name: "sample_pmoc",
vendor: true,
srcs: ["sample_pmoc.c"],
compile_multilib: "32",
include_dirs: [
"vendor/platform/secure_c/include",
],
header_libs: [
"libuapi_pmoc_headers",
"drv_generic_headers",
"libuapi_gpio_headers",
"libuapi_ir_headers",
"libuapi_pdm_headers",
"libuapi_vo_headers",
"libuapi_video_headers",
"libuapi_panel_headers",
"libuapi_cec_headers",
],
proprietary: true,
shared_libs: [
"liblog",
"libuapi_securec",
"libuapi_pmoc",
"libuapi_pdm",
],
cflags: [
"-Werror",
"-fstack-protector-all",
"-fPIC",
"-D_FORTIFY_SOURCE=2",
"-O2",
],
}
cc_binary {
name: "sample_active_standby",
compile_multilib: "32",
srcs: [
"sample_active_standby.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
],
header_libs: [
"libuapi_pmoc_headers",
"drv_generic_headers",
"libuapi_gpio_headers",
"libuapi_ir_headers",
],
proprietary: true,
shared_libs: [
"libuapi_pmoc",
],
cflags: [
"-Werror",
"-fstack-protector-all",
"-fPIC",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
}