1ifneq ($(filter msm8916 msm8909,$(TARGET_BOARD_PLATFORM)),) 2ifneq (,$(filter arm aarch64 arm64, $(TARGET_ARCH))) 3LOCAL_PATH := $(call my-dir) 4include $(CLEAR_VARS) 5LOCAL_MODULE := wcnss_service 6LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/common/inc/ 7LOCAL_SRC_FILES := wcnss_service.c 8ifeq ($(strip $(TARGET_USES_QCOM_WCNSS_QMI)),true) 9LOCAL_CFLAGS += -DWCNSS_QMI 10LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/inc 11LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/services 12LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/platform 13LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/src 14LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/core/lib/inc 15LOCAL_SRC_FILES += wcnss_qmi_client.c 16endif #TARGET_USES_QCOM_WCNSS_QMI 17LOCAL_SHARED_LIBRARIES := libc libcutils libutils liblog 18ifeq ($(strip $(TARGET_USES_QCOM_WCNSS_QMI)),true) 19LOCAL_SHARED_LIBRARIES += libqmiservices libqmi libqcci_legacy libqmi_client_qmux 20LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libmdmdetect/inc 21LOCAL_SHARED_LIBRARIES += libmdmdetect 22endif #TARGET_USES_QCOM_WCNSS_QMI 23LOCAL_MODULE_TAGS := optional 24LOCAL_CFLAGS += -Wall 25include $(BUILD_EXECUTABLE) 26endif 27endif # ifneq ($(filter msm8916 msm8909,$(TARGET_BOARD_PLATFORM)),) 28