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

Unified Diff: base/test/run_all_base_unittests.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: base/test/run_all_base_unittests.cc
diff --git a/base/test/run_all_base_unittests.cc b/base/test/run_all_base_unittests.cc
index 30ea8c46f017d6680a810536190facc243684211..16cc838fb90980f90a0e190384ac8f7337be62aa 100644
--- a/base/test/run_all_base_unittests.cc
+++ b/base/test/run_all_base_unittests.cc
@@ -9,7 +9,13 @@
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
+#include "base/test/android/android_main_function_thunk.h"
#include "base/test/android/test_system_message_handler_link_android.h"
+
+int main(int argc, char** argv);
+namespace {
+base::android::AndroidMainFunctionThunk main_thunk(&main);
+}
#endif // defined(OS_ANDROID)
int main(int argc, char** argv) {

Powered by Google App Engine
This is Rietveld 408576698