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

Commit 2e61c0ee 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

Change-Id: I0072d540b707d217b28bc6f1ba0a6947bb812639
parents c23ff1d4 74a410ec
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)