1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 include $(LLVM_ROOT_PATH)/llvm.mk 5 6 llvm_pdbdump_SRC_FILES := \ 7 llvm-pdbdump.cpp \ 8 BuiltinDumper.cpp \ 9 ClassDefinitionDumper.cpp \ 10 CompilandDumper.cpp \ 11 EnumDumper.cpp \ 12 ExternalSymbolDumper.cpp \ 13 FunctionDumper.cpp \ 14 LinePrinter.cpp \ 15 TypedefDumper.cpp \ 16 TypeDumper.cpp \ 17 VariableDumper.cpp 18 19 llvm_pdbdump_STATIC_LIBRARIES := \ 20 libLLVMDebugInfoPDB \ 21 libLLVMSupport 22 23 include $(CLEAR_VARS) 24 25 LOCAL_MODULE := llvm-pdbdump 26 LOCAL_MODULE_TAGS := optional 27 LOCAL_MODULE_CLASS := EXECUTABLES 28 LOCAL_IS_HOST_MODULE := true 29 30 LOCAL_SRC_FILES := $(llvm_pdbdump_SRC_FILES) 31 32 LOCAL_STATIC_LIBRARIES := $(llvm_pdbdump_STATIC_LIBRARIES) 33 34 LOCAL_LDLIBS += -lpthread -lm -ldl 35 36 include $(LLVM_HOST_BUILD_MK) 37 include $(LLVM_GEN_INTRINSICS_MK) 38 include $(BUILD_HOST_EXECUTABLE) 39