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" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 return g_context.Get().get(); | 176 return g_context.Get().get(); |
177 } | 177 } |
178 | 178 |
179 } // namespace runner | 179 } // namespace runner |
180 } // namespace mojo | 180 } // namespace mojo |
181 | 181 |
182 int main(int argc, char** argv) { | 182 int main(int argc, char** argv) { |
183 base::AtExitManager at_exit; | 183 base::AtExitManager at_exit; |
184 base::CommandLine::Init(argc, argv); | 184 base::CommandLine::Init(argc, argv); |
185 | 185 |
186 #if !defined(OFFICIAL_BUILD) | |
187 base::debug::EnableInProcessStackDumping(); | |
188 #endif | |
189 | |
190 mojo::runner::InitializeLogging(); | 186 mojo::runner::InitializeLogging(); |
191 return mojo::runner::ChildProcessMain(); | 187 return mojo::runner::ChildProcessMain(); |
192 } | 188 } |
OLD | NEW |