[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / url / run_all_unittests.cc
1 // Copyright 2016 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <memory>
6
7 #include "base/functional/bind.h"
8 #include "base/test/launcher/unit_test_launcher.h"
9 #include "base/test/test_io_thread.h"
10 #include "base/test/test_suite.h"
11 #include "build/build_config.h"
12
13 #if !BUILDFLAG(IS_IOS)
14 #include "mojo/core/embedder/embedder.h"  // nogncheck
15 #endif
16
17 int main(int argc, char** argv) {
18   base::TestSuite test_suite(argc, argv);
19
20 #if !BUILDFLAG(IS_IOS)
21   mojo::core::Init();
22 #endif
23
24   return base::LaunchUnitTests(
25       argc, argv,
26       base::BindOnce(&base::TestSuite::Run, base::Unretained(&test_suite)));
27 }