toolkit/crashreporter/google-breakpad/android/sample_app/README

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 This is a sample Android executable that can be used to test the
michael@0 2 Google Breakpad client library on Android.
michael@0 3
michael@0 4 Its purpose is simply to crash and generate a minidump under /data/local/tmp.
michael@0 5
michael@0 6 Build instructions:
michael@0 7
michael@0 8 cd android/sample_app
michael@0 9 $NDK/ndk-build
michael@0 10
michael@0 11 Where $NDK points to a valid Android NDK installation.
michael@0 12
michael@0 13 Usage instructions:
michael@0 14
michael@0 15 After buildind the test program, send it to a device, then run it as
michael@0 16 the shell UID:
michael@0 17
michael@0 18 adb push libs/armeabi/test_google_breakpad /data/local/tmp
michael@0 19 adb shell /data/local/tmp/test_google_breakpad
michael@0 20
michael@0 21 This will simply crash after dumping the name of the generated minidump
michael@0 22 file.
michael@0 23
michael@0 24 See jni/test_breakpad.cpp for details.
michael@0 25
michael@0 26 Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version
michael@0 27 of the binary.
michael@0 28
michael@0 29 Note:
michael@0 30 If you plan to use the library in a regular Android application, store
michael@0 31 the minidump files either to your app-specific directory, or to the SDCard
michael@0 32 (the latter requiring a specific permission).

mercurial