| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/runner/android/main.h" | 5 #include "mojo/runner/android/main.h" |
| 6 | 6 |
| 7 #include "base/android/fifo_utils.h" | 7 #include "base/android/fifo_utils.h" |
| 8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
| 9 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
| 10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| 11 #include "base/at_exit.h" | 11 #include "base/at_exit.h" |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/debug/stack_trace.h" | 14 #include "base/debug/stack_trace.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
| 17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
| 18 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "base/macros.h" | 19 #include "base/macros.h" |
| 20 #include "base/message_loop/message_loop.h" | 20 #include "base/message_loop/message_loop.h" |
| 21 #include "base/run_loop.h" | 21 #include "base/run_loop.h" |
| 22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 23 #include "components/view_manager/android_loader.h" | 23 #include "components/mus/android_loader.h" |
| 24 #include "jni/ShellMain_jni.h" | 24 #include "jni/ShellMain_jni.h" |
| 25 #include "mojo/message_pump/message_pump_mojo.h" | 25 #include "mojo/message_pump/message_pump_mojo.h" |
| 26 #include "mojo/runner/android/android_handler_loader.h" | 26 #include "mojo/runner/android/android_handler_loader.h" |
| 27 #include "mojo/runner/android/background_application_loader.h" | 27 #include "mojo/runner/android/background_application_loader.h" |
| 28 #include "mojo/runner/android/context_init.h" | 28 #include "mojo/runner/android/context_init.h" |
| 29 #include "mojo/runner/android/ui_application_loader_android.h" | 29 #include "mojo/runner/android/ui_application_loader_android.h" |
| 30 #include "mojo/runner/child_process.h" | 30 #include "mojo/runner/child_process.h" |
| 31 #include "mojo/runner/context.h" | 31 #include "mojo/runner/context.h" |
| 32 #include "mojo/runner/init.h" | 32 #include "mojo/runner/init.h" |
| 33 #include "mojo/shell/application_loader.h" | 33 #include "mojo/shell/application_loader.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 base::AtExitManager at_exit; | 187 base::AtExitManager at_exit; |
| 188 base::CommandLine::Init(argc, argv); | 188 base::CommandLine::Init(argc, argv); |
| 189 | 189 |
| 190 #if !defined(OFFICIAL_BUILD) | 190 #if !defined(OFFICIAL_BUILD) |
| 191 base::debug::EnableInProcessStackDumping(); | 191 base::debug::EnableInProcessStackDumping(); |
| 192 #endif | 192 #endif |
| 193 | 193 |
| 194 mojo::runner::InitializeLogging(); | 194 mojo::runner::InitializeLogging(); |
| 195 return mojo::runner::ChildProcessMain(); | 195 return mojo::runner::ChildProcessMain(); |
| 196 } | 196 } |
| OLD | NEW |