1LOCAL_PATH:= $(call my-dir) 2 3transforms_vectorize_SRC_FILES := \ 4 BBVectorize.cpp \ 5 LoopVectorize.cpp \ 6 SLPVectorizer.cpp \ 7 Vectorize.cpp 8 9# For the host 10# ===================================================== 11include $(CLEAR_VARS) 12 13LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 14LOCAL_MODULE:= libLLVMVectorize 15 16LOCAL_MODULE_TAGS := optional 17 18include $(LLVM_HOST_BUILD_MK) 19include $(LLVM_GEN_INTRINSICS_MK) 20include $(BUILD_HOST_STATIC_LIBRARY) 21 22# For the device 23# ===================================================== 24ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 25include $(CLEAR_VARS) 26 27LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 28LOCAL_MODULE:= libLLVMVectorize 29 30LOCAL_MODULE_TAGS := optional 31 32include $(LLVM_DEVICE_BUILD_MK) 33include $(LLVM_GEN_INTRINSICS_MK) 34include $(BUILD_STATIC_LIBRARY) 35endif 36