libsysutils: Android.mk -> Android.bp
Test: links Change-Id: If1d034ecb880e8c41d58b14ebebcda5b72e88424
This commit is contained in:
parent
bd53ea4063
commit
d0d759dc09
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…
Reference in a new issue