diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-symbolizer/Android.mk | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tools/llvm-symbolizer/Android.mk b/tools/llvm-symbolizer/Android.mk new file mode 100644 index 0000000..6a2d1d0 --- /dev/null +++ b/tools/llvm-symbolizer/Android.mk @@ -0,0 +1,40 @@ +LOCAL_PATH := $(call my-dir) + +LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. +include $(LLVM_ROOT_PATH)/llvm.mk + +llvm_symbolizer_SRC_FILES := \ + LLVMSymbolize.cpp \ + llvm-symbolizer.cpp + +include $(CLEAR_VARS) + +LOCAL_MODULE := llvm-symbolizer +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(llvm_symbolizer_SRC_FILES) +LOCAL_LDLIBS += -lpthread -lm -ldl + +LOCAL_STATIC_LIBRARIES := \ + libLLVMDebugInfo \ + libLLVMObject \ + libLLVMBitReader \ + libLLVMMC \ + libLLVMMCParser \ + libLLVMCore \ + libLLVMSupport + +include $(LLVM_HOST_BUILD_MK) +include $(LLVM_GEN_INTRINSICS_MK) +include $(BUILD_HOST_EXECUTABLE) + +include $(CLEAR_VARS) + +LOCAL_MODULE := llvm-symbolizer +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_SRC_FILES := $(llvm_symbolizer_SRC_FILES) +LOCAL_SHARED_LIBRARIES := libLLVM + +include $(LLVM_DEVICE_BUILD_MK) +include $(BUILD_EXECUTABLE) + |