| Index: mojo/runner/android/main.cc
|
| diff --git a/mojo/runner/android/main.cc b/mojo/runner/android/main.cc
|
| index fcd3749b703626fa80e758a31af12df9c9c15d70..8f4db82ffc2cbebbd69aacef3cf8e7ac380b22d0 100644
|
| --- a/mojo/runner/android/main.cc
|
| +++ b/mojo/runner/android/main.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/at_exit.h"
|
| #include "base/bind.h"
|
| #include "base/command_line.h"
|
| +#include "base/debug/stack_trace.h"
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| #include "base/lazy_instance.h"
|
| @@ -18,6 +19,7 @@
|
| #include "base/macros.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/run_loop.h"
|
| +#include "build/build_config.h"
|
| #include "components/view_manager/android_loader.h"
|
| #include "jni/ShellMain_jni.h"
|
| #include "mojo/message_pump/message_pump_mojo.h"
|
| @@ -184,6 +186,10 @@ int main(int argc, char** argv) {
|
| base::AtExitManager at_exit;
|
| base::CommandLine::Init(argc, argv);
|
|
|
| +#if !defined(OFFICIAL_BUILD)
|
| + base::debug::EnableInProcessStackDumping();
|
| +#endif
|
| +
|
| mojo::runner::InitializeLogging();
|
| return mojo::runner::ChildProcessMain();
|
| }
|
|
|