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_MODULE_TAGS := optional 22LOCAL_PRELINK_MODULE := false 23LOCAL_CLANG := true 24include $(BUILD_SHARED_LIBRARY) 25 26endif # $(TARGET_ARCH) 27endif 28endif 29