summaryrefslogtreecommitdiffstats
path: root/base/base.gyp
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 15:25:53 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 15:25:53 +0000
commit19d536f25ffa4e876c7af79b201c7330841b31ea (patch)
tree2f64619a8812920692bd3c7e69103727021e9d53 /base/base.gyp
parent6c4e6631acb0893ba00f035792e80942e2b00bd3 (diff)
downloadchromium_src-19d536f25ffa4e876c7af79b201c7330841b31ea.zip
chromium_src-19d536f25ffa4e876c7af79b201c7330841b31ea.tar.gz
chromium_src-19d536f25ffa4e876c7af79b201c7330841b31ea.tar.bz2
Cleanup in base. This moves the implementation (and a bunch of header file
dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r--base/base.gyp11
1 files changed, 9 insertions, 2 deletions
diff --git a/base/base.gyp b/base/base.gyp
index 213b5f3..06cd124 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -55,9 +55,7 @@
'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC',
'sources': [
# Infrastructure files.
- 'multiprocess_test.h',
'test/run_all_unittests.cc',
- 'test/test_suite.h',
# Tests.
'at_exit_unittest.cc',
@@ -169,6 +167,7 @@
'dependencies': [
'base',
'base_i18n',
+ 'test_support_base',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
],
@@ -225,13 +224,21 @@
'type': '<(library)',
'dependencies': [
'base',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
],
'sources': [
+ 'test/multiprocess_test.cc',
+ 'test/multiprocess_test.h',
+ 'test/perf_test_suite.cc',
+ 'test/perf_test_suite.h',
'test/test_file_util.h',
'test/test_file_util_linux.cc',
'test/test_file_util_mac.cc',
'test/test_file_util_posix.cc',
'test/test_file_util_win.cc',
+ 'test/test_suite.cc',
+ 'test/test_suite.h',
],
},
{