summaryrefslogtreecommitdiffstats
path: root/media/base
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 22:10:12 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 22:10:12 +0000
commit116f3a823b65833ef8a5c56dcf8c2c33a69b914d (patch)
treec71b3ccdc0bad1bf28d3c0bd4d63d701870e29ee /media/base
parent2c56af1a6677c9b1141778173dcb1b3bdb63f14b (diff)
downloadchromium_src-116f3a823b65833ef8a5c56dcf8c2c33a69b914d.zip
chromium_src-116f3a823b65833ef8a5c56dcf8c2c33a69b914d.tar.gz
chromium_src-116f3a823b65833ef8a5c56dcf8c2c33a69b914d.tar.bz2
Checking in the media project files (layout based on net/base libraries).
Added a dummy media.cc file in order to produce media.lib so there are no linker errors when building media_unittests.exe. Currently chrome_dll does NOT depend on media so it will not be linked in, which is OK for now :) Review URL: http://codereview.chromium.org/10683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
-rw-r--r--media/base/media.cc11
-rw-r--r--media/base/run_all_unittests.cc11
2 files changed, 22 insertions, 0 deletions
diff --git a/media/base/media.cc b/media/base/media.cc
new file mode 100644
index 0000000..9b92a42
--- /dev/null
+++ b/media/base/media.cc
@@ -0,0 +1,11 @@
+// Copyright (c) 2006-2008 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.
+
+namespace media {
+
+// Dummy function to generate media.lib
+void DoNothing() {
+}
+
+} // namespace media
diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_unittests.cc
new file mode 100644
index 0000000..4ab019a
--- /dev/null
+++ b/media/base/run_all_unittests.cc
@@ -0,0 +1,11 @@
+// Copyright (c) 2006-2008 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/process_util.h"
+#include "base/test_suite.h"
+
+int main(int argc, char** argv) {
+ process_util::EnableTerminationOnHeapCorruption();
+ return TestSuite(argc, argv).Run();
+}