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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ipc/run_all_perftests.cc
diff --git a/ipc/run_all_perftests.cc b/ipc/run_all_perftests.cc
index a942b8b57496f6401f833bbea96b52168ceb8138..48c990e77512731efd117e4563929adbb8cfc658 100644
--- a/ipc/run_all_perftests.cc
+++ b/ipc/run_all_perftests.cc
@@ -8,6 +8,16 @@
#include "base/test/perf_test_suite.h"
#include "mojo/edk/embedder/embedder.h"
+#if defined(OS_ANDROID)
+#include "base/test/android/android_main_function_thunk.h"
+
+int main(int argc, char** argv);
+namespace {
+// Needed for multiprocess tests to find the main function.
+base::android::AndroidMainFunctionThunk main_thunk(&main);
+}
+#endif
+
int main(int argc, char** argv) {
base::PerfTestSuite test(argc, argv);

Powered by Google App Engine
This is Rietveld 408576698