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

Unified Diff: device/test/run_all_unittests.cc

Issue 1554443003: Stop linking in the old Mojo EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge and fix new flaky test Created 4 years, 11 months 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
« no previous file with comments | « device/test/DEPS ('k') | device/vibration/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/test/run_all_unittests.cc
diff --git a/device/test/run_all_unittests.cc b/device/test/run_all_unittests.cc
index 76a4996773977128fbada7a8c5c0f0ece03b6740..781ab64b7512ac65ef7b419857722ac5505aa6a3 100644
--- a/device/test/run_all_unittests.cc
+++ b/device/test/run_all_unittests.cc
@@ -4,9 +4,10 @@
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
+#include "base/test/test_io_thread.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
-#include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
+#include "mojo/edk/embedder/embedder.h"
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
@@ -22,7 +23,8 @@ int main(int argc, char** argv) {
base::TestSuite test_suite(argc, argv);
- mojo::embedder::Init();
+ base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
+ mojo::edk::Init(test_io_thread.task_runner());
return base::LaunchUnitTests(
argc,
argv,
« no previous file with comments | « device/test/DEPS ('k') | device/vibration/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698