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

Commit 74a410ec 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

Change-Id: Ic8e457c36a35afd296ae97704e0703dbae781d40
parents 7196e935 af657d14
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
@@ -42,6 +44,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)