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) { |