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.

54 lines
1.1 KiB

cc_library_shared {
name: "libuapi_cipher",
proprietary: true,
compile_multilib: "both",
srcs: [
"*.c",
"crypto_osal_user/*.c",
":cipher_mbedtls",
":cipher_common",
],
include_dirs: [
"vendor/platform/secure_c/include",
"vendor/open_source/mbedtls/include",
"vendor/open_source/mbedtls/library",
"vendor/open_source/mbedtls",
],
local_include_dirs: [
"crypto_osal_user",
],
header_libs: [
"drv_cipher_headers",
"drv_generic_headers",
"libuapi_cipher_headers",
"libuapi_common_headers",
"libcipher_common_headers",
],
export_header_lib_headers: [
"libuapi_cipher_headers",
],
shared_libs: [
"libuapi_securec",
"libuapi_common",
"libuapi_memory",
],
cflags: [
"-DLOG_TAG=\"libuapi_cipher\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-DCONFIG_CRYPTO_CHIP_HDCP_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
clang: true,
}