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