Index: media/base/media_stub.cc |
diff --git a/media/base/media_stub.cc b/media/base/media_stub.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3e02e40d60f9a9d2dacf5d012cb2889907dc2b7 |
--- /dev/null |
+++ b/media/base/media_stub.cc |
@@ -0,0 +1,19 @@ |
+// Copyright 2012 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 "media/base/media.h" |
+ |
+#include "base/files/file_path.h" |
+ |
+// This file is intended for platforms that don't need to load any media |
+// libraries (e.g., Android). |
+namespace media { |
+namespace internal { |
+ |
+bool InitializeMediaLibraryInternal(const base::FilePath& module_dir) { |
+ return true; |
+} |
+ |
+} // namespace internal |
+} // namespace media |