eb13daf905
Now that the code has moved, delete the local implementation in favor of the common one. Test: builds Change-Id: Ic29d7c9bcd3d623204f3e4de3a3434483021cbac
68 lines
1.3 KiB
Text
68 lines
1.3 KiB
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libsysutils",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
|
|
srcs: [
|
|
"src/SocketListener.cpp",
|
|
"src/FrameworkListener.cpp",
|
|
"src/NetlinkListener.cpp",
|
|
"src/NetlinkEvent.cpp",
|
|
"src/FrameworkCommand.cpp",
|
|
"src/SocketClient.cpp",
|
|
"src/ServiceManager.cpp",
|
|
],
|
|
|
|
logtags: ["EventLogTags.logtags"],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
|
|
header_libs: [
|
|
"bpf_headers",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
tidy: true,
|
|
tidy_checks: [
|
|
"-*",
|
|
"cert-*",
|
|
"clang-analyzer-security*",
|
|
"android-*",
|
|
],
|
|
tidy_checks_as_errors: [
|
|
"cert-*",
|
|
"clang-analyzer-security*",
|
|
"android-*",
|
|
],
|
|
apex_available: [
|
|
"//apex_available:anyapex",
|
|
"//apex_available:platform",
|
|
],
|
|
min_sdk_version: "apex_inherit",
|
|
}
|
|
|
|
cc_test {
|
|
name: "libsysutils_tests",
|
|
test_suites: ["device-tests"],
|
|
srcs: [
|
|
"src/SocketListener_test.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"libsysutils",
|
|
],
|
|
}
|