gtest shouldn't link in gtest_main.cc, as that provides its own main().

Split gtest into two libraries, where the latter provides main().
This is consistent with the way gtest works within Google and with its
automake files.

Fix binaries that require gtest's main() to depend on gtest.gyp:main.

Review URL: http://codereview.chromium.org/99132

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15440 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed