platform_system_core/libsysutils/Android.bp
Mike Yu c987859c70 libsysutils can be linked statically
Let libsysutils able to be statically linked by libnetd_resolv to
minimize the dependence on system ABI.

Test: m libsysutils
Change-Id: Ideb322dbc8d594a8a37d64f8140bc37090a4e238
2018-12-06 12:32:49 +09:00

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