summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:11:43 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:11:43 +0000
commit41f054c72c8261a45c743ad72b3d010575f3d08f (patch)
treecf89ebbe370d46eb0b0beb5907e1a91bdec24075 /content
parent0d76f6a10d67eceb1b333825363a3425e0da6cbf (diff)
downloadchromium_src-41f054c72c8261a45c743ad72b3d010575f3d08f.zip
chromium_src-41f054c72c8261a45c743ad72b3d010575f3d08f.tar.gz
chromium_src-41f054c72c8261a45c743ad72b3d010575f3d08f.tar.bz2
Add a stub content_unittests target so we can point buildbot to it.
BUG=90443 Review URL: http://codereview.chromium.org/7467036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/content.gyp1
-rw-r--r--content/content_tests.gypi21
-rw-r--r--content/test/run_all_unittests.cc9
3 files changed, 31 insertions, 0 deletions
diff --git a/content/content.gyp b/content/content.gyp
index 2d68520..172a790 100644
--- a/content/content.gyp
+++ b/content/content.gyp
@@ -13,6 +13,7 @@
'content_plugin.gypi',
'content_ppapi_plugin.gypi',
'content_renderer.gypi',
+ 'content_tests.gypi',
'content_utility.gypi',
'content_worker.gypi',
],
diff --git a/content/content_tests.gypi b/content/content_tests.gypi
new file mode 100644
index 0000000..5920993
--- /dev/null
+++ b/content/content_tests.gypi
@@ -0,0 +1,21 @@
+# Copyright (c) 2011 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'content_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:test_support_base',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'test/run_all_unittests.cc',
+ ],
+ },
+ ],
+}
diff --git a/content/test/run_all_unittests.cc b/content/test/run_all_unittests.cc
new file mode 100644
index 0000000..7fd6ef2
--- /dev/null
+++ b/content/test/run_all_unittests.cc
@@ -0,0 +1,9 @@
+// Copyright (c) 2011 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"
+
+int main(int argc, char** argv) {
+ return base::TestSuite(argc, argv).Run();
+}