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