1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 5 6 #===---------------------------------------------------------------=== 7 # llvm-dwp command line tool 8 #===---------------------------------------------------------------=== 9 10 llvm_dwp_SRC_FILES := \ 11 llvm-dwp.cpp 12 13 llvm_dwp_STATIC_LIBRARIES := \ 14 libLLVMDebugInfoDWARF \ 15 libLLVMObject \ 16 libLLVMBitReader \ 17 libLLVMARMCodeGen \ 18 libLLVMARMAsmParser \ 19 libLLVMARMAsmPrinter \ 20 libLLVMARMInfo \ 21 libLLVMARMDesc \ 22 libLLVMARMDisassembler \ 23 libLLVMMipsCodeGen \ 24 libLLVMMipsInfo \ 25 libLLVMMipsDesc \ 26 libLLVMMipsAsmParser \ 27 libLLVMMipsAsmPrinter \ 28 libLLVMMipsDisassembler \ 29 libLLVMX86CodeGen \ 30 libLLVMX86Info \ 31 libLLVMX86Desc \ 32 libLLVMX86AsmParser \ 33 libLLVMX86AsmPrinter \ 34 libLLVMX86Utils \ 35 libLLVMX86Disassembler \ 36 libLLVMAArch64CodeGen \ 37 libLLVMAArch64Info \ 38 libLLVMAArch64Desc \ 39 libLLVMAArch64AsmParser \ 40 libLLVMAArch64AsmPrinter \ 41 libLLVMAArch64Utils \ 42 libLLVMAArch64Disassembler \ 43 libLLVMExecutionEngine \ 44 libLLVMRuntimeDyld \ 45 libLLVMMCJIT \ 46 libLLVMOrcJIT \ 47 libLLVMAsmPrinter \ 48 libLLVMSelectionDAG \ 49 libLLVMCodeGen \ 50 libLLVMObject \ 51 libLLVMScalarOpts \ 52 libLLVMInstCombine \ 53 libLLVMInstrumentation \ 54 libLLVMTransformObjCARC \ 55 libLLVMTransformUtils \ 56 libLLVMVectorize \ 57 libLLVMAnalysis \ 58 libLLVMTarget \ 59 libLLVMMCDisassembler \ 60 libLLVMMC \ 61 libLLVMMCParser \ 62 libLLVMCore \ 63 libLLVMAsmParser \ 64 libLLVMOption \ 65 libLLVMLTO \ 66 libLLVMSupport \ 67 libLLVMProfileData 68 69 include $(CLEAR_VARS) 70 71 LOCAL_MODULE := llvm-dwp 72 LOCAL_MODULE_TAGS := optional 73 LOCAL_MODULE_CLASS := EXECUTABLES 74 LOCAL_IS_HOST_MODULE := true 75 76 LOCAL_SRC_FILES := $(llvm_dwp_SRC_FILES) 77 78 LOCAL_STATIC_LIBRARIES := $(llvm_dwp_STATIC_LIBRARIES) 79 80 LOCAL_LDLIBS += -lpthread -lm -ldl 81 82 include $(LLVM_ROOT_PATH)/llvm.mk 83 include $(LLVM_HOST_BUILD_MK) 84 include $(LLVM_GEN_INTRINSICS_MK) 85 include $(BUILD_HOST_EXECUTABLE) 86