1*4882a593Smuzhiyunconfig BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS 2*4882a593Smuzhiyun bool 3*4882a593Smuzhiyun default y if BR2_i386 || BR2_x86_64 || BR2_arm || BR2_aarch64 || \ 4*4882a593Smuzhiyun BR2_mips || BR2_mipsel 5*4882a593Smuzhiyun 6*4882a593Smuzhiyunconfig BR2_PACKAGE_GOOGLE_BREAKPAD 7*4882a593Smuzhiyun bool "google-breakpad" 8*4882a593Smuzhiyun depends on BR2_INSTALL_LIBSTDCPP 9*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 10*4882a593Smuzhiyun depends on BR2_USE_WCHAR 11*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS 12*4882a593Smuzhiyun depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) 13*4882a593Smuzhiyun depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS 14*4882a593Smuzhiyun depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS 15*4882a593Smuzhiyun select BR2_PACKAGE_LINUX_SYSCALL_SUPPORT 16*4882a593Smuzhiyun help 17*4882a593Smuzhiyun Google-Breakpad is a library and tool suite that allows you 18*4882a593Smuzhiyun to distribute an application to users with compiler-provided 19*4882a593Smuzhiyun debugging information removed, record crashes in compact 20*4882a593Smuzhiyun "minidump" files, send them back to your server, and produce 21*4882a593Smuzhiyun C and C++ stack traces from these minidumps. Breakpad can 22*4882a593Smuzhiyun also write minidumps on request for programs that have not 23*4882a593Smuzhiyun crashed. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun You may want to set BR2_ENABLE_DEBUG, in order to get useful 26*4882a593Smuzhiyun results. 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun This target package installs a static library named 29*4882a593Smuzhiyun libbreakpad_client.a which should be linked into programs 30*4882a593Smuzhiyun willing to use Google Breakpad. A host variant of this 31*4882a593Smuzhiyun package is also available, and provides the different tools 32*4882a593Smuzhiyun needed to extract the debugging symbols from target 33*4882a593Smuzhiyun binaries. 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun https://chromium.googlesource.com/breakpad/breakpad 36*4882a593Smuzhiyun 37*4882a593Smuzhiyuncomment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread, C++, gcc >= 4.8" 38*4882a593Smuzhiyun depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS 39*4882a593Smuzhiyun depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS 40*4882a593Smuzhiyun depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ 41*4882a593Smuzhiyun !BR2_TOOLCHAIN_HAS_THREADS || \ 42*4882a593Smuzhiyun !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \ 43*4882a593Smuzhiyun !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 44