From c77043fc18d43d6e858ec0920a5801438eae566f Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 20 Aug 2009 22:37:59 +0000 Subject: Move NSAutoreleasePool management into the PlatformTest constructor and destructor. The pool operations are moving from SetUp and TearDown, which are scoped slightly too narrowly for our needs. Using the constructor and destructor ensures that the pools properly bracket tests. Review URL: http://codereview.chromium.org/174171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23897 0039d316-1c4b-4281-b951-d872f2087c98 --- testing/gtest.gyp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testing/gtest.gyp') diff --git a/testing/gtest.gyp b/testing/gtest.gyp index 581d37a..6d45e9a 100644 --- a/testing/gtest.gyp +++ b/testing/gtest.gyp @@ -56,6 +56,11 @@ 'sources': [ 'platform_test_mac.mm' ], + 'link_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', + ], + }, }], ['OS == "mac" or OS == "linux"', { 'defines': [ -- cgit v1.1