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