4a5c352e6d
This CL adds a binary to load keys to a keyring. Bug: 112038861 Test: mini-keyctl -k .fsverity -c PATH_CONTAINER_CERTS Test: cat /proc/keys and find the newly added keys Change-Id: Iead68618ea194e9412616c5c6cff885e3cf78520
31 lines
634 B
Text
31 lines
634 B
Text
cc_library {
|
|
name: "libkeyutils",
|
|
cflags: ["-Werror"],
|
|
defaults: ["linux_bionic_supported"],
|
|
recovery_available: true,
|
|
export_include_dirs: ["include/"],
|
|
local_include_dirs: ["include/"],
|
|
srcs: ["keyutils.cpp"],
|
|
stl: "none",
|
|
}
|
|
|
|
cc_test {
|
|
name: "libkeyutils-tests",
|
|
cflags: ["-Werror"],
|
|
shared_libs: ["libkeyutils"],
|
|
srcs: ["keyutils_test.cpp"],
|
|
test_suites: ["device-tests"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "mini-keyctl",
|
|
srcs: ["mini_keyctl.cpp"],
|
|
|
|
shared_libs: [
|
|
"libbase",
|
|
"libkeyutils",
|
|
"liblog",
|
|
],
|
|
|
|
cflags: ["-Werror", "-Wall", "-Wextra"],
|
|
}
|