Convert libnetutils to Android.bp
See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: Ia11dffde6fc4d89be6ee651be06b48131c877dc0
This commit is contained in:
parent
4eda982a77
commit
cafe889aa8
|
@ -0,0 +1,19 @@
|
|||
cc_library_shared {
|
||||
name: "libnetutils",
|
||||
|
||||
srcs: [
|
||||
"dhcpclient.c",
|
||||
"dhcpmsg.c",
|
||||
"ifc_utils.c",
|
||||
"packet.c",
|
||||
],
|
||||
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"liblog",
|
||||
],
|
||||
|
||||
cflags: ["-Werror"],
|
||||
|
||||
export_include_dirs: ["include"],
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
dhcpclient.c \
|
||||
dhcpmsg.c \
|
||||
ifc_utils.c \
|
||||
packet.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
liblog
|
||||
|
||||
LOCAL_MODULE := libnetutils
|
||||
|
||||
LOCAL_CFLAGS := -Werror
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
Loading…
Reference in New Issue