platform_system_core/libsysutils/Android.bp
Jeffrey Huang 0c0b774a64 Allow apexes to link against more libs
Bug: 145923087
Test: m -j
Change-Id: I45e002ffbd16f13b71f32c80e8a2f826bfa9ec2e
2020-02-14 10:41:15 -08:00

59 lines
1.1 KiB
Text

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",
],
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",
],
}
cc_test {
name: "libsysutils_tests",
test_suites: ["device-tests"],
srcs: [
"src/SocketListener_test.cpp",
],
shared_libs: [
"libbase",
"libcutils",
"libsysutils",
],
}