platform_system_core/libkeyutils/Android.bp
Victor Hsieh f0a242f73d Refactor mini-keyctl and split a static library
Test: mini-keyctl still works in command line
Bug: 112038744
Change-Id: I08006d8befa69e4bf416a2bed9e1813725877147
2019-09-26 10:45:38 -07:00

18 lines
430 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"],
}