2017-05-10 02:09:06 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libkeyutils",
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
defaults: ["linux_bionic_supported"],
|
2018-05-24 07:11:00 +02:00
|
|
|
recovery_available: true,
|
2017-05-10 02:09:06 +02:00
|
|
|
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"],
|
2018-04-28 01:12:06 +02:00
|
|
|
test_suites: ["device-tests"],
|
2017-05-10 02:09:06 +02:00
|
|
|
}
|
2019-01-30 00:53:21 +01:00
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
name: "mini-keyctl",
|
2019-03-08 18:59:42 +01:00
|
|
|
srcs: [
|
|
|
|
"mini_keyctl.cpp",
|
|
|
|
"mini_keyctl_utils.cpp"
|
|
|
|
],
|
2019-01-30 00:53:21 +01:00
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libkeyutils",
|
|
|
|
"liblog",
|
|
|
|
],
|
2019-03-08 18:59:42 +01:00
|
|
|
cflags: ["-Werror", "-Wall", "-Wextra", "-fexceptions"],
|
2019-01-30 00:53:21 +01:00
|
|
|
}
|