Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: ipc/run_all_perftests.cc

Issue 2549363004: Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: Fixed tests Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // Copied from mojo/edk/test/run_all_perftests.cc. 5 // Copied from mojo/edk/test/run_all_perftests.cc.
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/test/perf_test_suite.h" 8 #include "base/test/perf_test_suite.h"
9 #include "mojo/edk/embedder/embedder.h" 9 #include "mojo/edk/embedder/embedder.h"
10 10
11 #if defined(OS_ANDROID)
12 #include "base/test/android/android_main_function_thunk.h"
13
14 int main(int argc, char** argv);
15 namespace {
16 // Needed for multiprocess tests to find the main function.
17 base::android::AndroidMainFunctionThunk main_thunk(&main);
18 }
19 #endif
20
11 int main(int argc, char** argv) { 21 int main(int argc, char** argv) {
12 base::PerfTestSuite test(argc, argv); 22 base::PerfTestSuite test(argc, argv);
13 23
14 mojo::edk::Init(); 24 mojo::edk::Init();
15 25
16 return test.Run(); 26 return test.Run();
17 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698