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

Commit f2f6961b authored by Alex Deymo's avatar Alex Deymo Committed by android-build-merger
Browse files

Compile native network functionis into libandroid_net. am: f3b74110 am: af657d14 am: 74a410ec

am: 2e61c0ee

Change-Id: I7a1d3c40bcf76a3e6eabb3eddff159a53af0c5c1
parents dfc152bd 2e61c0ee
Loading
Loading
Loading
Loading
+20 −1
Original line number Diff line number Diff line
BASE_PATH := $(call my-dir)
LOCAL_PATH:= $(call my-dir)

common_cflags := -Wall -Werror -Wunused -Wunreachable-code

include $(CLEAR_VARS)

# our source files
@@ -43,6 +45,23 @@ LOCAL_C_INCLUDES += \

LOCAL_MODULE := libandroid

LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
LOCAL_CFLAGS += $(common_cflags)

include $(BUILD_SHARED_LIBRARY)

# Network library.
include $(CLEAR_VARS)
LOCAL_MODULE := libandroid_net
LOCAL_CFLAGS := $(common_cflags)
LOCAL_SRC_FILES:= \
    net.c \

LOCAL_SHARED_LIBRARIES := \
    libnetd_client \

LOCAL_C_INCLUDES += \
    frameworks/base/native/include \
    bionic/libc/dns/include \
    system/netd/include \

include $(BUILD_SHARED_LIBRARY)