1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/file_path.h"
6 #include "base/logging.h"
7 #include "base/path_service.h"
8 #include "base/test/test_suite.h"
9 #include "media/base/media.h"
11 int main(int argc
, char** argv
) {
12 base::TestSuite
test_suite(argc
, argv
);
14 // Load the media library so we can use libvpx.
16 PathService::Get(base::DIR_MODULE
, &path
);
17 CHECK(media::InitializeMediaLibrary(path
))
18 << "Cannot load media library";
19 return test_suite
.Run();