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 8LOCAL_PROPRIETARY_MODULE := true 9ifeq ($(strip $(TARGET_USES_QCOM_WCNSS_QMI)),true) 10LOCAL_CFLAGS += -DWCNSS_QMI 11LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/inc 12LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/services 13LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/platform 14LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/src 15LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qmi/core/lib/inc 16LOCAL_SRC_FILES += wcnss_qmi_client.c 17endif #TARGET_USES_QCOM_WCNSS_QMI 18LOCAL_SHARED_LIBRARIES := libc libcutils libutils liblog 19ifeq ($(strip $(TARGET_USES_QCOM_WCNSS_QMI)),true) 20LOCAL_SHARED_LIBRARIES += libqmiservices libqmi libqcci_legacy libqmi_client_qmux 21LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libmdmdetect/inc 22LOCAL_SHARED_LIBRARIES += libmdmdetect 23endif #TARGET_USES_QCOM_WCNSS_QMI 24LOCAL_MODULE_TAGS := optional 25LOCAL_CFLAGS += -Wall -Wno-error 26include $(BUILD_EXECUTABLE) 27endif 28endif # ifneq ($(filter msm8916 msm8909,$(TARGET_BOARD_PLATFORM)),) 29