mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 03:25:45 +01:00
4febb34583
sed -i '' -E -e 's/Copyright (\(c\) )?([0-9-]+),? (Google|The Chromium Authors).*(\r)?$/Copyright \2 Google LLC\4/' -e '/^((\/\/|#| \*) )?All rights reserved\.?\r?$/d' -e 's/name of Google Inc\. nor the/name of Google LLC nor the/' -e 's/POSSIBILITY OF SUCH DAMAGE$/POSSIBILITY OF SUCH DAMAGE./' $(git grep -El 'Copyright (\(c\) )?([0-9-]+),? (Google|The Chromium Authors).*$') Plus manual fixes for src/processor/disassembler_x86.{cc,h}. Plus some conversions from CRLF to LF line endings in .cc and .h files. Bug: chromium:1098010 Change-Id: I8030e804eecd9f5a1ec9d66ae166efd8418c2a67 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3878302 Reviewed-by: Mike Frysinger <vapier@chromium.org> |
||
---|---|---|
.. | ||
jni | ||
README |
This is a sample Android executable that can be used to test the Google Breakpad client library on Android. Its purpose is simply to crash and generate a minidump under /data/local/tmp. Build instructions: cd android/sample_app $NDK/ndk-build Where $NDK points to a valid Android NDK installation. Usage instructions: After buildind the test program, send it to a device, then run it as the shell UID: adb push libs/armeabi/test_google_breakpad /data/local/tmp adb shell /data/local/tmp/test_google_breakpad This will simply crash after dumping the name of the generated minidump file. See jni/test_breakpad.cpp for details. Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version of the binary. Note: If you plan to use the library in a regular Android application, store the minidump files either to your app-specific directory, or to the SDCard (the latter requiring a specific permission).