Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 { | 4 { |
| 5 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 'target_defaults': { | 8 'target_defaults': { |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['use_aura==1', { | 10 ['use_aura==1', { |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 618 'views', | 618 'views', |
| 619 ], | 619 ], |
| 620 'include_dirs': [ | 620 'include_dirs': [ |
| 621 '..', | 621 '..', |
| 622 ], | 622 ], |
| 623 'sources': [ | 623 'sources': [ |
| 624 'test/webview_test_helper.cc', | 624 'test/webview_test_helper.cc', |
| 625 'test/webview_test_helper.h', | 625 'test/webview_test_helper.h', |
| 626 ], | 626 ], |
| 627 }, # target_name: views_with_content_test_support | 627 }, # target_name: views_with_content_test_support |
| 628 # Include this target for a main() function that instantiates and runs a | |
| 629 # base::TestSuite subclass with resource support for views unit tests. | |
| 630 { | |
| 631 'target_name': 'run_all_unittests', | |
|
Mark Mentovai
2013/03/14 20:48:29
Oh, this is a target here? OK, so the first thing
| |
| 632 'type': 'static_library', | |
|
Mark Mentovai
2013/03/14 20:48:29
You can’t put main() into a static library.
| |
| 633 'dependencies': [ | |
| 634 '../../base/base.gyp:test_support_base', | |
| 635 '../../skia/skia.gyp:skia', | |
| 636 '../../testing/gtest.gyp:gtest', | |
| 637 '../compositor/compositor.gyp:compositor', | |
| 638 '../compositor/compositor.gyp:compositor_test_support', | |
| 639 '../views/views.gyp:views', | |
| 640 ], | |
| 641 'sources': [ | |
| 642 'run_all_unittests.cc', | |
| 643 ], | |
| 644 }, | |
| 628 { | 645 { |
| 629 'target_name': 'views_unittests', | 646 'target_name': 'views_unittests', |
| 630 'type': 'executable', | 647 'type': 'executable', |
| 631 'dependencies': [ | 648 'dependencies': [ |
| 632 '../../base/base.gyp:base', | 649 '../../base/base.gyp:base', |
| 633 '../../base/base.gyp:base_i18n', | 650 '../../base/base.gyp:base_i18n', |
| 634 '../../base/base.gyp:test_support_base', | 651 '../../base/base.gyp:test_support_base', |
| 635 # TODO(jcivelli): ideally the resource needed by views would be | 652 # TODO(jcivelli): ideally the resource needed by views would be |
| 636 # factored out. (for some reason it pulls in a bunch | 653 # factored out. (for some reason it pulls in a bunch |
| 637 # unrelated things like v8, sqlite nss...). | 654 # unrelated things like v8, sqlite nss...). |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 984 'sources/': [ | 1001 'sources/': [ |
| 985 # This is needed because the aura rule strips it from the default | 1002 # This is needed because the aura rule strips it from the default |
| 986 # sources list. | 1003 # sources list. |
| 987 ['include', '^../../content/app/startup_helper_win.cc'], | 1004 ['include', '^../../content/app/startup_helper_win.cc'], |
| 988 ], | 1005 ], |
| 989 }], | 1006 }], |
| 990 ], | 1007 ], |
| 991 }, # target_name: views_examples_with_content_exe | 1008 }, # target_name: views_examples_with_content_exe |
| 992 ], | 1009 ], |
| 993 } | 1010 } |
| OLD | NEW |