694beec5d7
Weaver is used to harden the user authentication flow by securely storing secrets which can only be read by presenting the associated key secret. The key secret is derived from the user's credential. Bug: 35628284 Test: Implement HAL, boot and call from system_server Change-Id: Ia72fd537670c08d27320c944a0fe91243137bf6c
63 lines
1.9 KiB
Text
63 lines
1.9 KiB
Text
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
filegroup {
|
|
name: "android.hardware.weaver@1.0_hal",
|
|
srcs: [
|
|
"types.hal",
|
|
"IWeaver.hal",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.weaver@1.0_genc++",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.weaver@1.0",
|
|
srcs: [
|
|
":android.hardware.weaver@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/weaver/1.0/types.cpp",
|
|
"android/hardware/weaver/1.0/WeaverAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.weaver@1.0_genc++_headers",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.weaver@1.0",
|
|
srcs: [
|
|
":android.hardware.weaver@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/weaver/1.0/types.h",
|
|
"android/hardware/weaver/1.0/hwtypes.h",
|
|
"android/hardware/weaver/1.0/IWeaver.h",
|
|
"android/hardware/weaver/1.0/IHwWeaver.h",
|
|
"android/hardware/weaver/1.0/BnHwWeaver.h",
|
|
"android/hardware/weaver/1.0/BpHwWeaver.h",
|
|
"android/hardware/weaver/1.0/BsWeaver.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.weaver@1.0",
|
|
generated_sources: ["android.hardware.weaver@1.0_genc++"],
|
|
generated_headers: ["android.hardware.weaver@1.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.weaver@1.0_genc++_headers"],
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
"android.hidl.base@1.0",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"android.hidl.base@1.0",
|
|
],
|
|
}
|