diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/content.gyp | 1 | ||||
-rw-r--r-- | content/content_tests.gypi | 21 | ||||
-rw-r--r-- | content/test/run_all_unittests.cc | 9 |
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(); +} |