Compile native network functionis into libandroid_net. am: f3b7411060 am: af657d14fc am: 74a410ec81
am: 2e61c0eea3
Change-Id: I7a1d3c40bcf76a3e6eabb3eddff159a53af0c5c1
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user