blob: dda491a08f7fab317b00a0a30a1ab2597eeca42f [file] [log] [blame]
Elliott Hughes1eeee962017-05-09 17:09:06 -07001cc_library {
2 name: "libkeyutils",
3 cflags: ["-Werror"],
4 defaults: ["linux_bionic_supported"],
Jiyong Parka0e75042018-05-24 14:11:00 +09005 recovery_available: true,
Elliott Hughes1eeee962017-05-09 17:09:06 -07006 export_include_dirs: ["include/"],
7 local_include_dirs: ["include/"],
8 srcs: ["keyutils.cpp"],
9 stl: "none",
10}
11
12cc_test {
13 name: "libkeyutils-tests",
14 cflags: ["-Werror"],
15 shared_libs: ["libkeyutils"],
16 srcs: ["keyutils_test.cpp"],
Elliott Hughes40fdf3f2018-04-27 16:12:06 -070017 test_suites: ["device-tests"],
Elliott Hughes1eeee962017-05-09 17:09:06 -070018}
Xiaoyong Zhou4a5c3522019-01-29 15:53:21 -080019
20cc_binary {
21 name: "mini-keyctl",
Xiaoyong Zhoub29b27e2019-03-08 09:59:42 -080022 srcs: [
23 "mini_keyctl.cpp",
24 "mini_keyctl_utils.cpp"
25 ],
Xiaoyong Zhou4a5c3522019-01-29 15:53:21 -080026 shared_libs: [
27 "libbase",
28 "libkeyutils",
29 "liblog",
30 ],
Xiaoyong Zhoub29b27e2019-03-08 09:59:42 -080031 cflags: ["-Werror", "-Wall", "-Wextra", "-fexceptions"],
Xiaoyong Zhou4a5c3522019-01-29 15:53:21 -080032}