1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 include $(LLVM_ROOT_PATH)/llvm.mk 5 6 llvm_symbolizer_SRC_FILES := \ 7 LLVMSymbolize.cpp \ 8 llvm-symbolizer.cpp 9 10 include $(CLEAR_VARS) 11 12 LOCAL_MODULE := llvm-symbolizer 13 LOCAL_MODULE_CLASS := EXECUTABLES 14 LOCAL_MODULE_TAGS := optional 15 LOCAL_SRC_FILES := $(llvm_symbolizer_SRC_FILES) 16 LOCAL_LDLIBS += -lpthread -lm -ldl 17 18 LOCAL_STATIC_LIBRARIES := \ 19 libLLVMDebugInfoDWARF \ 20 libLLVMDebugInfoPDB \ 21 libLLVMObject \ 22 libLLVMBitReader \ 23 libLLVMMC \ 24 libLLVMMCParser \ 25 libLLVMCore \ 26 libLLVMSupport 27 28 include $(LLVM_HOST_BUILD_MK) 29 include $(LLVM_GEN_INTRINSICS_MK) 30 include $(BUILD_HOST_EXECUTABLE) 31 32 include $(CLEAR_VARS) 33 34 LOCAL_MODULE := llvm-symbolizer 35 LOCAL_MODULE_CLASS := EXECUTABLES 36 LOCAL_SRC_FILES := $(llvm_symbolizer_SRC_FILES) 37 LOCAL_SHARED_LIBRARIES := libLLVM 38 39 include $(LLVM_DEVICE_BUILD_MK) 40 include $(BUILD_EXECUTABLE) 41 42