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