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

Unified Diff: remoting/run_all_unittests.cc

Issue 3005036: Implement VP8 encoder for chromoting (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: just uploading Created 10 years, 3 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 | « remoting/remoting.gyp ('k') | third_party/libvpx/libvpx.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « remoting/remoting.gyp ('k') | third_party/libvpx/libvpx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698