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