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" | |
6 #include "base/logging.h" | |
7 #include "base/test/test_suite.h" | 5 #include "base/test/test_suite.h" |
8 #include "media/base/media.h" | 6 #include "media/base/media.h" |
9 | 7 |
10 int main(int argc, char** argv) { | 8 int main(int argc, char** argv) { |
11 // Load the OpenMAX library. | 9 // Load the OpenMAX library. |
12 if (!media::InitializeOpenMaxLibrary(FilePath())) { | 10 if (!media::InitializeOpenMaxLibrary(FilePath())) { |
13 LOG(ERROR) << "Unable to initialize OpenMAX library."; | 11 LOG(ERROR) << "Unable to initialize OpenMAX library."; |
14 return -1; | 12 return -1; |
15 } | 13 } |
16 return base::TestSuite(argc, argv).Run(); | 14 return TestSuite(argc, argv).Run(); |
17 } | 15 } |
OLD | NEW |