summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross2017-04-19 18:46:46 -0500
committerColin Cross2017-04-20 12:36:43 -0500
commitcafe889aa8ba4d77caec15620e9fbc1dbc995e58 (patch)
tree86bb02f27751b1ef4f37802de395873deb68305e /libnetutils
parent4eda982a77a7a812fcd6b97ebb858d4c0a4cf802 (diff)
downloadplatform-system-core-cafe889aa8ba4d77caec15620e9fbc1dbc995e58.tar.gz
platform-system-core-cafe889aa8ba4d77caec15620e9fbc1dbc995e58.tar.xz
platform-system-core-cafe889aa8ba4d77caec15620e9fbc1dbc995e58.zip
Convert libnetutils to Android.bp
See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: Ia11dffde6fc4d89be6ee651be06b48131c877dc0
Diffstat (limited to 'libnetutils')
-rw-r--r--libnetutils/Android.bp19
-rw-r--r--libnetutils/Android.mk21
2 files changed, 19 insertions, 21 deletions
diff --git a/libnetutils/Android.bp b/libnetutils/Android.bp
new file mode 100644
index 000000000..f710ba29e
--- /dev/null
+++ b/libnetutils/Android.bp
@@ -0,0 +1,19 @@
1cc_library_shared {
2 name: "libnetutils",
3
4 srcs: [
5 "dhcpclient.c",
6 "dhcpmsg.c",
7 "ifc_utils.c",
8 "packet.c",
9 ],
10
11 shared_libs: [
12 "libcutils",
13 "liblog",
14 ],
15
16 cflags: ["-Werror"],
17
18 export_include_dirs: ["include"],
19}
diff --git a/libnetutils/Android.mk b/libnetutils/Android.mk
deleted file mode 100644
index 215027988..000000000
--- a/libnetutils/Android.mk
+++ /dev/null
@@ -1,21 +0,0 @@
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES := \
5 dhcpclient.c \
6 dhcpmsg.c \
7 ifc_utils.c \
8 packet.c
9
10LOCAL_SHARED_LIBRARIES := \
11 libcutils \
12 liblog
13
14LOCAL_MODULE := libnetutils
15
16LOCAL_CFLAGS := -Werror
17
18LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
19LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
20
21include $(BUILD_SHARED_LIBRARY)