From d303fc62a6b578533a85e8f736e7cd51adc0d15f Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 24 Apr 2017 17:15:31 -0700 Subject: [PATCH] libsysutils: Android.mk -> Android.bp Test: links Bug: 37567578 Change-Id: If1d034ecb880e8c41d58b14ebebcda5b72e88424 --- libsysutils/Android.bp | 25 +++++++++++++++++++++++++ libsysutils/Android.mk | 27 --------------------------- 2 files changed, 25 insertions(+), 27 deletions(-) create mode 100644 libsysutils/Android.bp delete mode 100644 libsysutils/Android.mk diff --git a/libsysutils/Android.bp b/libsysutils/Android.bp new file mode 100644 index 000000000..296bd26d5 --- /dev/null +++ b/libsysutils/Android.bp @@ -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"], +} diff --git a/libsysutils/Android.mk b/libsysutils/Android.mk deleted file mode 100644 index 584e5a290..000000000 --- a/libsysutils/Android.mk +++ /dev/null @@ -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)