Chromium Code Reviews| Index: ui/views/views.gyp |
| diff --git a/ui/views/views.gyp b/ui/views/views.gyp |
| index 032f8191acb0aabd76f7dc0c10973c607fea81cf..b00153f7196dfe614413b2afc5a1e6f26cd4b7bf 100644 |
| --- a/ui/views/views.gyp |
| +++ b/ui/views/views.gyp |
| @@ -625,6 +625,23 @@ |
| 'test/webview_test_helper.h', |
| ], |
| }, # target_name: views_with_content_test_support |
| + # Include this target for a main() function that instantiates and runs a |
| + # base::TestSuite subclass with resource support for views unit tests. |
| + { |
| + 'target_name': 'run_all_unittests', |
|
Mark Mentovai
2013/03/14 20:48:29
Oh, this is a target here? OK, so the first thing
|
| + 'type': 'static_library', |
|
Mark Mentovai
2013/03/14 20:48:29
You can’t put main() into a static library.
|
| + 'dependencies': [ |
| + '../../base/base.gyp:test_support_base', |
| + '../../skia/skia.gyp:skia', |
| + '../../testing/gtest.gyp:gtest', |
| + '../compositor/compositor.gyp:compositor', |
| + '../compositor/compositor.gyp:compositor_test_support', |
| + '../views/views.gyp:views', |
| + ], |
| + 'sources': [ |
| + 'run_all_unittests.cc', |
| + ], |
| + }, |
| { |
| 'target_name': 'views_unittests', |
| 'type': 'executable', |