Re-land: Re-enable multi-process IPC tests on Android.
This is possible by using the alternate test child implementation.
This re-land is identical to the original CL.
[email protected]
Review-Url: https://codereview.chromium.org/1950143003
Cr-Commit-Position: refs/heads/master@{#391762}
diff --git a/ipc/run_all_unittests.cc b/ipc/run_all_unittests.cc
index 26a7395..5f9cc16 100644
--- a/ipc/run_all_unittests.cc
+++ b/ipc/run_all_unittests.cc
@@ -4,6 +4,7 @@
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
+#include "base/test/multiprocess_test.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
@@ -14,6 +15,8 @@
int main(int argc, char** argv) {
#if defined(OS_ANDROID)
+ base::InitAndroidMultiProcessTestHelper(main);
+
JNIEnv* env = base::android::AttachCurrentThread();
base::RegisterContentUriTestUtils(env);
#endif