platform_system_core/mini_keyctl/Android.bp
Jeff Vander Stoep 3bada5cbcd Make libmini_keyctl_static available in recovery
So libfsverity_init can be used in init to load fsverity keys in
early boot.

Bug: 199914227
Test: build
Change-Id: I514ab602ef03f4528cb013bd268fa6dfcb7eb5b2
2021-11-22 21:35:04 +01:00

32 lines
611 B
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_static {
name: "libmini_keyctl_static",
srcs: [
"mini_keyctl_utils.cpp"
],
shared_libs: [
"libbase",
"libkeyutils",
],
cflags: ["-Werror", "-Wall", "-Wextra"],
export_include_dirs: ["."],
recovery_available: true,
}
cc_binary {
name: "mini-keyctl",
srcs: [
"mini_keyctl.cpp",
],
static_libs: [
"libmini_keyctl_static",
],
shared_libs: [
"libbase",
"libkeyutils",
],
cflags: ["-Werror", "-Wall", "-Wextra"],
}