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_HOST_OS := darwin linux windows 17 18include $(LLVM_HOST_BUILD_MK) 19include $(LLVM_GEN_ATTRIBUTES_MK) 20include $(LLVM_GEN_INTRINSICS_MK) 21include $(BUILD_HOST_STATIC_LIBRARY) 22 23# For the device 24# ===================================================== 25ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 26include $(CLEAR_VARS) 27 28LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 29LOCAL_MODULE:= libLLVMVectorize 30 31include $(LLVM_DEVICE_BUILD_MK) 32include $(LLVM_GEN_ATTRIBUTES_MK) 33include $(LLVM_GEN_INTRINSICS_MK) 34include $(BUILD_STATIC_LIBRARY) 35endif 36