| Index: remoting/run_all_unittests.cc
|
| diff --git a/remoting/run_all_unittests.cc b/remoting/run_all_unittests.cc
|
| index 2571950304d1eef1344d11921f09c346f436e63e..16e4f74617241118208bab093e2160881282baf0 100644
|
| --- a/remoting/run_all_unittests.cc
|
| +++ b/remoting/run_all_unittests.cc
|
| @@ -2,8 +2,19 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/file_path.h"
|
| +#include "base/logging.h"
|
| +#include "base/path_service.h"
|
| #include "base/test/test_suite.h"
|
| +#include "media/base/media.h"
|
|
|
| int main(int argc, char** argv) {
|
| - return base::TestSuite(argc, argv).Run();
|
| + base::TestSuite test_suite(argc, argv);
|
| +
|
| + // Load the media library so we can use libvpx.
|
| + FilePath path;
|
| + PathService::Get(base::DIR_MODULE, &path);
|
| + CHECK(media::InitializeMediaLibrary(path))
|
| + << "Cannot load media library";
|
| + return test_suite.Run();
|
| }
|
|
|