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