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 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 22 include $(CLEAR_VARS) 23 24 LOCAL_SRC_FILES := $(linker_SRC_FILES) 25 26 LOCAL_MODULE:= libLLVMLinker 27 LOCAL_MODULE_TAGS := optional 28 29 include $(LLVM_DEVICE_BUILD_MK) 30 include $(LLVM_GEN_INTRINSICS_MK) 31 include $(BUILD_STATIC_LIBRARY) 32 endif 33