1LOCAL_PATH:= $(call my-dir) 2 3linker_SRC_FILES := \ 4 LinkModules.cpp 5 6# For the host 7# ===================================================== 8include $(CLEAR_VARS) 9include $(CLEAR_TBLGEN_VARS) 10 11LOCAL_SRC_FILES := \ 12 $(linker_SRC_FILES)\ 13 LinkArchives.cpp \ 14 Linker.cpp \ 15 LinkItems.cpp 16 17LOCAL_MODULE:= libLLVMLinker 18LOCAL_MODULE_TAGS := optional 19 20include $(LLVM_HOST_BUILD_MK) 21include $(BUILD_HOST_STATIC_LIBRARY) 22 23# For the device 24# ===================================================== 25include $(CLEAR_VARS) 26 27LOCAL_SRC_FILES := $(linker_SRC_FILES) 28 29LOCAL_MODULE:= libLLVMLinker 30LOCAL_MODULE_TAGS := optional 31 32include $(LLVM_DEVICE_BUILD_MK) 33include $(LLVM_GEN_INTRINSICS_MK) 34include $(BUILD_STATIC_LIBRARY) 35