platform_system_core/libsysutils/Android.bp
Bernie Innocenti 763ccaa104 libsysutils: add some rudimentary tests
Test: atest libsysutils_tests
Change-Id: I3aa44c5af821c3161cf598b86216480d2424d336
2018-08-28 05:52:48 +09:00

42 lines
793 B
Text

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