File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
src/untrusted/minidump_generator Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ scons --mode=nacl saigo=1 platform=x86-64 irt_core_raw [optional saigo_newlib_di
2929This builds both components and runs some tests.
3030```
3131scons --mode=opt-host,nacl saigo=1 platform=x86-64 --keep-going small_tests medium_tests
32+
33+ To enable crash dump tests, add the option `breakpad_tools_dir=<path to breakpad>`. The
34+ repository can be found at `daemon/libs/breakpad`. You need to have built the Breakpad
35+ tools in-source.
3236```
3337---
3438
Original file line number Diff line number Diff line change 2525
2626#include < algorithm>
2727
28- #include " breakpad/src/ google_breakpad/common/minidump_format.h"
28+ #include " google_breakpad/common/minidump_format.h"
2929#if !DYNAMIC_LOADING_SUPPORT
3030# include " native_client/src/include/elf_constants.h"
3131#endif
Original file line number Diff line number Diff line change 55
66Import ('env' )
77
8+ # DAEMON: use the same dir as Breakpad tools for Breakpad includes
89# Allow Breakpad headers to #include other Breakpad headers.
9- env .Append (CPPPATH = ['${SOURCE_ROOT}/breakpad /src' ])
10+ env .Append (CPPPATH = ['${BREAKPAD_TOOLS_DIR} /src' ])
1011# Breakpad's headers do not compile with "-pedantic".
1112env .FilterOut (CCFLAGS = ['-pedantic' ])
1213
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ Import('env')
1010if not env .SetNonStableBitcodeIfAllowed ():
1111 Return ()
1212
13+ if env .get ('BREAKPAD_TOOLS_DIR' ) is None :
14+ Return () # DAEMON: avoid building minidump_generator
15+
1316if env .Bit ('bitcode' ):
1417 # With the PNaCl toolchain, special flags are required to get a build ID.
1518 env .Append (LINKFLAGS = ['--pnacl-allow-nexe-build-id' ])
You can’t perform that action at this time.
0 commit comments