From 4b0f9635f09dd8db54d6e4e699c7bc20c4aaebee Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Wed, 6 May 2009 19:13:06 +0000 Subject: 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 --- printing/printing.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'printing') diff --git a/printing/printing.gyp b/printing/printing.gyp index 51768fd..1980417 100644 --- a/printing/printing.gyp +++ b/printing/printing.gyp @@ -46,6 +46,7 @@ 'dependencies': [ 'printing', '../testing/gtest.gyp:gtest', + '../testing/gtest.gyp:gtestmain', ], 'sources': [ 'units_unittest.cc', -- cgit v1.1