summaryrefslogtreecommitdiffstats
path: root/remoting/run_all_unittests.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 22:19:48 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 22:19:48 +0000
commitdf10bf173f91818f1f03d409ec8d60265b44675f (patch)
tree27dc201712833ce527da84b15e0e4df73bdd56ec /remoting/run_all_unittests.cc
parentb045a7405237ec931bf137f2c555960fa64a9523 (diff)
downloadchromium_src-df10bf173f91818f1f03d409ec8d60265b44675f.zip
chromium_src-df10bf173f91818f1f03d409ec8d60265b44675f.tar.gz
chromium_src-df10bf173f91818f1f03d409ec8d60265b44675f.tar.bz2
Implement VP8 encoder for chromoting
Added EncoderVp8 with test for chromoting. TEST=remoting_unittests BUG=50235 Review URL: http://codereview.chromium.org/3005036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/run_all_unittests.cc')
-rw-r--r--remoting/run_all_unittests.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/remoting/run_all_unittests.cc b/remoting/run_all_unittests.cc
index 2571950..16e4f74 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();
}