1BOARD_PLATFORM_LIST := msm8916 2BOARD_PLATFORM_LIST += msm8909 3BOARD_PLATFORM_LIST += msmnile 4ifneq ($(call is-board-platform-in-list,$(BOARD_PLATFORM_LIST)),true) 5ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM))) 6ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH))) 7 8LOCAL_PATH := $(call my-dir) 9 10include $(CLEAR_VARS) 11 12LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc 13LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 14LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 15 16LOCAL_SRC_FILES := ipa_nat_drv.c \ 17 ipa_nat_drvi.c 18 19LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../inc 20LOCAL_VENDOR_MODULE := true 21LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 22LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 23LOCAL_CFLAGS := -DDEBUG -Wall -Werror 24LOCAL_CFLAGS += -DFEATURE_IPA_ANDROID 25LOCAL_MODULE := libipanat 26LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 27LOCAL_LICENSE_CONDITIONS := notice 28LOCAL_MODULE_TAGS := optional 29LOCAL_PRELINK_MODULE := false 30LOCAL_CLANG := true 31include $(BUILD_SHARED_LIBRARY) 32 33endif # $(TARGET_ARCH) 34endif 35endif 36