blob: 404c116dd170bfa4d560563f006c28f75bcf5a14 [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
# =================================
# copy header
# =================================
include $(CLEAR_VARS)
LOCAL_MODULE := libcld80211_headers
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_VENDOR_MODULE := true
include $(BUILD_HEADER_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libcld80211
LOCAL_CLANG := true
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES += $(LOCAL_PATH) \
external/libnl/include
LOCAL_SHARED_LIBRARIES := libcutils libnl liblog
LOCAL_SRC_FILES := cld80211_lib.c
LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
LOCAL_HEADER_LIBRARIES := libcld80211_headers
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)