• 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    tidy: true,
31    tidy_checks: [
32        "-*",
33        "cert-*",
34        "clang-analyzer-security*",
35        "android-*",
36    ],
37    tidy_checks_as_errors: [
38        "cert-*",
39        "clang-analyzer-security*",
40        "android-*",
41    ],
42    apex_available: [
43        "//apex_available:anyapex",
44        "//apex_available:platform",
45    ],
46    min_sdk_version: "apex_inherit",
47}
48
49cc_test {
50    name: "libsysutils_tests",
51    test_suites: ["device-tests"],
52    srcs: [
53        "src/SocketListener_test.cpp",
54    ],
55    shared_libs: [
56        "libbase",
57        "libcutils",
58        "libsysutils",
59    ],
60}
61