Merge "libsysutils: Android.mk -> Android.bp" am: d0013343e9
am: 01ff125c20
Change-Id: I191ed9297797e9ab014d00cb96a8c319184e487e
This commit is contained in:
commit
adec9f59cd
2 changed files with 25 additions and 27 deletions
25
libsysutils/Android.bp
Normal file
25
libsysutils/Android.bp
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
cc_library_shared {
|
||||||
|
name: "libsysutils",
|
||||||
|
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",
|
||||||
|
"libnl",
|
||||||
|
],
|
||||||
|
|
||||||
|
export_include_dirs: ["include"],
|
||||||
|
}
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
LOCAL_PATH:= $(call my-dir)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
|
|
||||||
LOCAL_SRC_FILES:= \
|
|
||||||
src/SocketListener.cpp \
|
|
||||||
src/FrameworkListener.cpp \
|
|
||||||
src/NetlinkListener.cpp \
|
|
||||||
src/NetlinkEvent.cpp \
|
|
||||||
src/FrameworkCommand.cpp \
|
|
||||||
src/SocketClient.cpp \
|
|
||||||
src/ServiceManager.cpp \
|
|
||||||
EventLogTags.logtags
|
|
||||||
|
|
||||||
LOCAL_MODULE:= libsysutils
|
|
||||||
|
|
||||||
LOCAL_CFLAGS := -Werror
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
|
||||||
libbase \
|
|
||||||
libcutils \
|
|
||||||
liblog \
|
|
||||||
libnl
|
|
||||||
|
|
||||||
LOCAL_EXPORT_C_INCLUDE_DIRS := system/core/libsysutils/include
|
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
|
||||||
Loading…
Add table
Reference in a new issue