• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library {
2    name: "libsysutils",
3    vendor_available: true,
4    vndk: {
5        enabled: true,
6    },
7
8    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",
26    ],
27
28    export_include_dirs: ["include"],
29}
30
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}
43