mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-08 07:28:13 +01:00
Fix Android build.
This patch fixes the Android build, and updates the NDK test application to use the new Linux ExceptionHandler API. + Use string insted of std::string in minidump_descriptor.h Review URL: https://breakpad.appspot.com/433002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1016 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
5f57e963d0
commit
d270dcfa18
4 changed files with 16 additions and 6 deletions
|
|
@ -33,6 +33,8 @@
|
|||
#include <assert.h>
|
||||
#include <string>
|
||||
|
||||
#include "common/using_std_string.h"
|
||||
|
||||
// The MinidumpDescriptor describes how to access a minidump: it can contain
|
||||
// either a file descriptor or a path.
|
||||
// Note that when using files, it is created with the path to a directory.
|
||||
|
|
@ -71,9 +73,9 @@ class MinidumpDescriptor {
|
|||
const int fd_;
|
||||
|
||||
// The directory where the minidump should be generated.
|
||||
const std::string directory_;
|
||||
const string directory_;
|
||||
// The full path to the generated minidump.
|
||||
std::string path_;
|
||||
string path_;
|
||||
// The C string of |path_|. Precomputed so it can be access from a compromised
|
||||
// context.
|
||||
const char* c_path_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue