Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 545107: Add browser_tests to coverage (note recent mac fixes).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/win/chrome_win.croc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables' : { 6 'variables' : {
7 'browser_tests_sources_views_specific': [ 7 'browser_tests_sources_views_specific': [
8 'browser/extensions/browser_action_test_util_views.cc', 8 'browser/extensions/browser_action_test_util_views.cc',
9 'browser/views/find_bar_host_browsertest.cc', 9 'browser/views/find_bar_host_browsertest.cc',
10 ], 10 ],
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 ], 1779 ],
1780 }, 1780 },
1781 'sources': [ 1781 'sources': [
1782 'test/chrome_plugin/test_chrome_plugin.cc', 1782 'test/chrome_plugin/test_chrome_plugin.cc',
1783 'test/chrome_plugin/test_chrome_plugin.def', 1783 'test/chrome_plugin/test_chrome_plugin.def',
1784 'test/chrome_plugin/test_chrome_plugin.h', 1784 'test/chrome_plugin/test_chrome_plugin.h',
1785 ], 1785 ],
1786 }, 1786 },
1787 ]}, # 'targets' 1787 ]}, # 'targets'
1788 ], # OS=="win" 1788 ], # OS=="win"
1789 # TODO(jrg): add in Windows code coverage targets.
1790 ['coverage!=0', 1789 ['coverage!=0',
1791 { 'targets': [ 1790 { 'targets': [
1792 { 1791 {
1793 'target_name': 'coverage', 1792 'target_name': 'coverage',
1794 # do NOT place this in the 'all' list; most won't want it. 1793 # do NOT place this in the 'all' list; most won't want it.
1795 # In gyp, booleans are 0/1 not True/False. 1794 # In gyp, booleans are 0/1 not True/False.
1796 'suppress_wildcard': 1, 1795 'suppress_wildcard': 1,
1797 'type': 'none', 1796 'type': 'none',
1798 # If you add new tests here you may need to update the croc configs. 1797 # Cross platform test bundles. If you add new tests you may
1799 # E.g. build/{linux|mac}/chrome_linux.croc 1798 # need to update the croc configs. For example, see the
1799 # first regexp in build/(linux|mac|win)/chrome_*.croc.
1800 'dependencies': [ 1800 'dependencies': [
1801 'automated_ui_tests', 1801 'automated_ui_tests',
1802 '../app/app.gyp:app_unittests', 1802 '../app/app.gyp:app_unittests',
1803 '../base/base.gyp:base_unittests', 1803 '../base/base.gyp:base_unittests',
1804 'browser_tests',
1804 '../ipc/ipc.gyp:ipc_tests', 1805 '../ipc/ipc.gyp:ipc_tests',
1805 '../media/media.gyp:media_unittests', 1806 '../media/media.gyp:media_unittests',
1806 '../net/net.gyp:net_unittests', 1807 '../net/net.gyp:net_unittests',
1807 '../printing/printing.gyp:printing_unittests', 1808 '../printing/printing.gyp:printing_unittests',
1808 # Mac coverage bot having trouble launching a profiled 1809 # ui_tests seem unhappy on both Mac and Win when run under
1809 # Chromium from within ui_tests; disabling for now. 1810 # coverage (all tests fail, often with a
1811 # "server_->WaitForInitialLoads()"). TODO(jrg):
1812 # investigate why.
1810 # 'ui_tests', 1813 # 'ui_tests',
1811 'unit_tests', 1814 'unit_tests',
1812 ], 1815 ],
1816 # Platform specific unit test bundles. Unless staging
1817 # a checkin, please add a comment describing why your test is
1818 # in here and is not cross-platform.
1819 'conditions': [
1820 ['OS=="win"', {
1821 'dependencies': [
1822 # Courgette has not been ported from Windows.
1823 # Note build/win/chrome_win.croc uniquely has the
1824 # courgette source directory in an include path.
1825 '../courgette/courgette.gyp:courgette_unittests',
1826 ],
1827 }],
1828 ['OS=="linux"', {
1829 'dependencies': [
1830 # Placeholder; empty for now.
1831 ],
1832 }],
1833 ['OS=="mac"', {
1834 'dependencies': [
1835 # Placeholder; empty for now.
1836 ],
1837 }],
1838 ],
1839
1813 'actions': [ 1840 'actions': [
1814 { 1841 {
1815 # 'message' for Linux/scons in particular. Scons 1842 # 'message' for Linux/scons in particular. Scons
1816 # requires the 'coverage' target be run from within 1843 # requires the 'coverage' target be run from within
1817 # src/chrome. 1844 # src/chrome.
1818 'message': 'Running coverage_posix.py to generate coverage numbers ', 1845 'message': 'Running coverage_posix.py to generate coverage numbers ',
1819 # MSVS must have an input file and an output file. 1846 # MSVS must have an input file and an output file.
1820 'inputs': [ '../tools/code_coverage/coverage_posix.py' ], 1847 'inputs': [ '../tools/code_coverage/coverage_posix.py' ],
1821 'outputs': [ '<(PRODUCT_DIR)/coverage.info' ], 1848 'outputs': [ '<(PRODUCT_DIR)/coverage.info' ],
1822 'action_name': 'coverage', 1849 'action_name': 'coverage',
(...skipping 14 matching lines...) Expand all
1837 ] 1864 ]
1838 }], # 'coverage!=0' 1865 }], # 'coverage!=0'
1839 ], # 'conditions' 1866 ], # 'conditions'
1840 } 1867 }
1841 1868
1842 # Local Variables: 1869 # Local Variables:
1843 # tab-width:2 1870 # tab-width:2
1844 # indent-tabs-mode:nil 1871 # indent-tabs-mode:nil
1845 # End: 1872 # End:
1846 # vim: set expandtab tabstop=2 shiftwidth=2: 1873 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/win/chrome_win.croc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698