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.
170 lines
4.2 KiB
170 lines
4.2 KiB
cc_library {
|
|
name: "libteec_system",
|
|
compile_multilib: "both",
|
|
|
|
srcs: [
|
|
"src/libteec_system/TeeClient.cpp",
|
|
"src/iteec_service/ITeecService.cpp",
|
|
"src/iteec_service/teec32for64.cpp",
|
|
"src/libteec_system/tee_client_storage_api.c"
|
|
],
|
|
|
|
include_dirs: [
|
|
"system/core/libcutils/include",
|
|
"vendor/platform/libteec_vendor/include",
|
|
"vendor/platform/libteec_system/source/src/inc",
|
|
"vendor/platform/libteec_system/source/src/iteec_service",
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libuapi_securec",
|
|
"liblog",
|
|
"libcutils",
|
|
"libutils",
|
|
"libbase",
|
|
"libbinder"
|
|
],
|
|
|
|
host_ldlibs: [
|
|
"-s"
|
|
],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wdate-time",
|
|
"-Wextra",
|
|
"-Wfloat-equal",
|
|
"-Wshadow",
|
|
"-Wformat=2",
|
|
"-fsigned-char",
|
|
"-fno-strict-aliasing",
|
|
"-pipe",
|
|
"-Wl,-Bsymbolic",
|
|
"-Wl,--no-undefined",
|
|
"-fno-common",
|
|
"-Weffc++",
|
|
"-DDEF_ENG"
|
|
],
|
|
product_variables: {
|
|
platform_sdk_version: {
|
|
cflags :["-DPLATFORM_SDK_VERSION=%d"],
|
|
},
|
|
},
|
|
}
|
|
cc_library {
|
|
name: "libtuidaemon",
|
|
compile_multilib: "both",
|
|
|
|
srcs: [
|
|
"tuidaemon/tui_daemon.cpp",
|
|
"tuidaemon/tui_daemon_api.cpp"
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libuapi_securec",
|
|
"liblog",
|
|
"libcutils",
|
|
"libutils",
|
|
"libbinder"
|
|
],
|
|
|
|
host_ldlibs: [
|
|
"-s"
|
|
],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wdate-time",
|
|
"-Wextra",
|
|
"-Wfloat-equal",
|
|
"-Wshadow",
|
|
"-Wformat=2",
|
|
"-fsigned-char",
|
|
"-fno-strict-aliasing",
|
|
"-pipe",
|
|
"-Wl,-Bsymbolic",
|
|
"-Wl,--no-undefined",
|
|
"-fno-common",
|
|
"-Weffc++"
|
|
],
|
|
}
|
|
cc_binary {
|
|
name: "tee_auth_daemon",
|
|
compile_multilib: "64",
|
|
init_rc: ["etc/init/init.teec_system.rc"],
|
|
|
|
srcs: [
|
|
"src/teec_service/MainTeecService.cpp",
|
|
"src/iteec_service/ITeecService.cpp",
|
|
"src/iteec_service/teec32for64.cpp",
|
|
"src/teec_service/TeecService.cpp",
|
|
"src/teec_service/tee_multi_user_daemon.cpp",
|
|
"src/teec_service/tee_tui_daemon.cpp",
|
|
"src/authentication/teec_app_auth.c",
|
|
"src/authentication/tee_auth_common.c",
|
|
"src/authentication/tee_get_app_cert.c",
|
|
"src/authentication/load_cert_service.cpp"
|
|
],
|
|
|
|
include_dirs: [
|
|
"system/core/libcutils/include",
|
|
"vendor/platform/libteec_vendor/include",
|
|
"vendor/platform/libteec_system/source/src/inc",
|
|
"vendor/platform/libteec_system/source/src/iteec_service",
|
|
"vendor/platform/libteec_system/source/src/authentication",
|
|
"vendor/platform/libteec_system/source/tuidaemon",
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
"libcrypto",
|
|
"libuapi_securec",
|
|
"libutils",
|
|
"libtinyxml2",
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhidlmemory",
|
|
"libhwbinder",
|
|
"libbinder",
|
|
"vendor.huanglong.hardware.libteec@3.0",
|
|
"libtuidaemon"
|
|
],
|
|
|
|
host_ldlibs: [
|
|
"-s"
|
|
],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wdate-time",
|
|
"-Wextra",
|
|
"-Wfloat-equal",
|
|
"-Wshadow",
|
|
"-Wformat=2",
|
|
"-fsigned-char",
|
|
"-fno-strict-aliasing",
|
|
"-pipe",
|
|
"-Wl,-Bsymbolic",
|
|
"-Wl,--no-undefined",
|
|
"-fno-common",
|
|
"-Weffc++",
|
|
],
|
|
product_variables: {
|
|
platform_sdk_version: {
|
|
cflags :["-DPLATFORM_SDK_VERSION=%d"],
|
|
},
|
|
},
|
|
}
|
|
|