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 := $(linker_SRC_FILES) 12 13LOCAL_MODULE:= libLLVMLinker 14LOCAL_MODULE_TAGS := optional 15 16include $(LLVM_HOST_BUILD_MK) 17include $(BUILD_HOST_STATIC_LIBRARY) 18 19# For the device 20# ===================================================== 21ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 22include $(CLEAR_VARS) 23 24LOCAL_SRC_FILES := $(linker_SRC_FILES) 25 26LOCAL_MODULE:= libLLVMLinker 27LOCAL_MODULE_TAGS := optional 28 29include $(LLVM_DEVICE_BUILD_MK) 30include $(LLVM_GEN_INTRINSICS_MK) 31include $(BUILD_STATIC_LIBRARY) 32endif 33