blob: 29d23c8323fefe6e551b7b062b2f75cd3a7fa249 [file] [log] [blame]
Steven Morelandd0d759d2017-04-24 17:15:31 -07001cc_library_shared {
2 name: "libsysutils",
Jayant Chowdharya1bdd242017-05-16 14:53:23 -07003 vendor_available: true,
Justin Yun6a7e8822017-07-24 15:19:45 +09004 vndk: {
5 enabled: true,
6 },
Jayant Chowdharya1bdd242017-05-16 14:53:23 -07007
Steven Morelandd0d759d2017-04-24 17:15:31 -07008 srcs: [
9 "src/SocketListener.cpp",
10 "src/FrameworkListener.cpp",
11 "src/NetlinkListener.cpp",
12 "src/NetlinkEvent.cpp",
13 "src/FrameworkCommand.cpp",
14 "src/SocketClient.cpp",
15 "src/ServiceManager.cpp",
16 ],
17
18 logtags: ["EventLogTags.logtags"],
19
20 cflags: ["-Werror"],
21
22 shared_libs: [
23 "libbase",
24 "libcutils",
25 "liblog",
Steven Morelandd0d759d2017-04-24 17:15:31 -070026 ],
27
28 export_include_dirs: ["include"],
29}
Bernie Innocenti763ccaa2018-06-05 22:32:34 +090030
31cc_test {
32 name: "libsysutils_tests",
33 test_suites: ["device-tests"],
34 srcs: [
35 "src/SocketListener_test.cpp",
36 ],
37 shared_libs: [
38 "libbase",
39 "libcutils",
40 "libsysutils",
41 ],
42}