diff options
Diffstat (limited to 'media/omx/run_all_unittests.cc')
-rw-r--r-- | media/omx/run_all_unittests.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/media/omx/run_all_unittests.cc b/media/omx/run_all_unittests.cc index 841b353..dbc6ea8 100644 --- a/media/omx/run_all_unittests.cc +++ b/media/omx/run_all_unittests.cc @@ -1,9 +1,15 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/test_suite.h" +#include "media/base/media.h" int main(int argc, char** argv) { + // Load the OpenMAX library. + if (!media::InitializeOpenMaxLibrary(FilePath())) { + LOG(ERROR) << "Unable to initialize OpenMAX library."; + return -1; + } return TestSuite(argc, argv).Run(); } |