Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd53ea40 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge changes Ia11dffde,I76f24890

* changes:
  Convert libnetutils to Android.bp
  Don't export libutils_headers from libbase
parents f890ca9a cafe889a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -26,9 +26,6 @@ cc_library_headers {
    host_supported: true,
    export_include_dirs: ["include"],

    header_libs: ["libutils_headers"],
    export_header_lib_headers: ["libutils_headers"],

    target: {
        linux_bionic: {
            enabled: true,
@@ -54,7 +51,10 @@ cc_library {
        "test_utils.cpp",
    ],

    header_libs: ["libbase_headers"],
    header_libs: [
        "libbase_headers",
        "libutils_headers",
    ],
    export_header_lib_headers: ["libbase_headers"],

    cppflags: libbase_cppflags,

libnetutils/Android.bp

0 → 100644
+19 −0
Original line number Diff line number Diff line
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"],
}

libnetutils/Android.mk

deleted100644 → 0
+0 −21
Original line number Diff line number Diff line
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)