1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 include $(LLVM_ROOT_PATH)/llvm.mk 5 6 llvm_dsymutil_SRC_FILES := \ 7 BinaryHolder.cpp \ 8 DebugMap.cpp \ 9 dsymutil.cpp \ 10 DwarfLinker.cpp \ 11 MachODebugMapParser.cpp \ 12 MachOUtils.cpp \ 13 14 llvm_dsymutil_STATIC_LIBRARIES := \ 15 libLLVMARMCodeGen \ 16 libLLVMARMAsmParser \ 17 libLLVMARMInfo \ 18 libLLVMARMDesc \ 19 libLLVMARMAsmPrinter \ 20 libLLVMARMDisassembler \ 21 libLLVMAArch64CodeGen \ 22 libLLVMAArch64Info \ 23 libLLVMAArch64AsmParser \ 24 libLLVMAArch64Desc \ 25 libLLVMAArch64AsmPrinter \ 26 libLLVMAArch64Utils \ 27 libLLVMAArch64Disassembler \ 28 libLLVMMipsCodeGen \ 29 libLLVMMipsInfo \ 30 libLLVMMipsAsmParser \ 31 libLLVMMipsDesc \ 32 libLLVMMipsAsmPrinter \ 33 libLLVMMipsDisassembler \ 34 libLLVMX86CodeGen \ 35 libLLVMX86Info \ 36 libLLVMX86Desc \ 37 libLLVMX86AsmParser \ 38 libLLVMX86AsmPrinter \ 39 libLLVMX86Utils \ 40 libLLVMX86Disassembler \ 41 libLLVMX86CodeGen \ 42 libLLVMAsmPrinter \ 43 libLLVMSelectionDAG \ 44 libLLVMCodeGen \ 45 libLLVMDebugInfoDWARF \ 46 libLLVMInstrumentation \ 47 libLLVMMCParser \ 48 libLLVMMCDisassembler \ 49 libLLVMObject \ 50 libLLVMBitReader \ 51 libLLVMScalarOpts \ 52 libLLVMTransformUtils \ 53 libLLVMAnalysis \ 54 libLLVMTarget \ 55 libLLVMCore \ 56 libLLVMMC \ 57 libLLVMSupport \ 58 59 include $(CLEAR_VARS) 60 61 LOCAL_MODULE := llvm-dsymutil 62 LOCAL_MODULE_CLASS := EXECUTABLES 63 LOCAL_MODULE_TAGS := optional 64 LOCAL_SRC_FILES := $(llvm_dsymutil_SRC_FILES) 65 LOCAL_LDLIBS += -lpthread -lm -ldl 66 67 LOCAL_STATIC_LIBRARIES := $(llvm_dsymutil_STATIC_LIBRARIES) 68 69 include $(LLVM_HOST_BUILD_MK) 70 include $(LLVM_GEN_INTRINSICS_MK) 71 include $(BUILD_HOST_EXECUTABLE) 72