1 LOCAL_PATH:= $(call my-dir) 2 3 debuginfo_symbolize_SRC_FILES := \ 4 DIPrinter.cpp \ 5 SymbolizableObjectFile.cpp \ 6 Symbolize.cpp \ 7 8 # For the host 9 # ===================================================== 10 include $(CLEAR_VARS) 11 12 LOCAL_SRC_FILES := $(debuginfo_symbolize_SRC_FILES) 13 14 LOCAL_MODULE:= libLLVMSymbolize 15 16 LOCAL_MODULE_HOST_OS := darwin linux windows 17 18 include $(LLVM_HOST_BUILD_MK) 19 include $(LLVM_GEN_INTRINSICS_MK) 20 include $(BUILD_HOST_STATIC_LIBRARY) 21 22 # For the device 23 # ===================================================== 24 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 25 include $(CLEAR_VARS) 26 27 LOCAL_SRC_FILES := $(debuginfo_symbolize_SRC_FILES) 28 29 LOCAL_MODULE:= libLLVMSymbolize 30 31 include $(LLVM_DEVICE_BUILD_MK) 32 include $(LLVM_GEN_INTRINSICS_MK) 33 include $(BUILD_STATIC_LIBRARY) 34 endif 35