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.

57 lines
1.2 KiB

cc_binary {
name: "sample_vi",
vendor: true,
srcs: [
"sample_vi.c",
"vi_st_common.c",
],
compile_multilib: "32",
include_dirs: [
"vendor/platform/secure_c/include",
],
header_libs: [
"drv_generic_headers",
"drv_common_headers",
"libuapi_pdm_headers",
"libuapi_vo_headers",
"libuapi_video_headers",
"libuapi_panel_headers",
"libuapi_cec_headers",
"libuapi_hdmirx_headers",
"libuapi_pq_headers",
"libuapi_tvd_headers",
"libuapi_audio_headers",
"libuapi_media_headers",
"libuapi_vi_headers",
],
proprietary: true,
shared_libs: [
"libuapi_securec",
"libuapi_common",
"libcutils",
"libutils",
"liblog",
"libuapi_vo",
"libteec_vendor",
"libuapi_hdmirx",
"libuapi_pq",
"libuapi_tvd",
"libuapi_ao",
"libuapi_vi",
],
cflags: [
"-Werror",
"-fstack-protector-all",
"-fPIC",
"-D_FORTIFY_SOURCE=2",
"-O2",
],
}