TestWebKitAPI has issues due to FastMalloc incompatibility
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2012 00:15:09 +0000 (00:15 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2012 00:15:09 +0000 (00:15 +0000)
commitd7f5162cdd5b3b125e44a3e4d41718ba98260e76
treee134b2d37a8373abc4e4487670962b3ceee3a0a9
parent4c15e497804d5e8b145c44b86730d671f33a05ff
TestWebKitAPI has issues due to FastMalloc incompatibility
<http://webkit.org/b/66521>
<rdar://problem/10607911>

Reviewed by David Levin.

Original patch by Dmitry Lomov <dslomov@google.com>.

This patch ensures that gtest uses the FastMalloc new and delete
operators that are defined in JavaScriptCore.

* gtest/README.WebKit: Update with project changes.
* gtest/include/gtest/internal/gtest-port.h: Import necessary
headers to use FastMalloc in gtest.
* gtest/msvc/gtest-md.vcproj: Add include directories to find
WTF headers.
* gtest/xcode/Config/DebugProject.xcconfig: Define
WEBCORE_PRIVATE_HEADERS_DIR for Debug builds.
* gtest/xcode/Config/General.xcconfig: Define
HEADER_SEARCH_PATHS in terms of WEBCORE_PRIVATE_HEADERS_DIR.
* gtest/xcode/Config/ProductionProject.xcconfig: Define
WEBCORE_PRIVATE_HEADERS_DIR for Production builds.  This
overrides the value in ReleaseProject.xcconfig.
* gtest/xcode/Config/ReleaseProject.xcconfig: Define
WEBCORE_PRIVATE_HEADERS_DIR for Release builds.
* gtest/xcode/gtest.xcodeproj/project.pbxproj:
- Remove local HEADER_SEARCH_PATHS definitions.
- Link to JavaScriptCore.framework when building
  gtest.framework.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/ThirdParty/ChangeLog
Source/ThirdParty/gtest/README.WebKit
Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h
Source/ThirdParty/gtest/msvc/gtest-md.vcproj
Source/ThirdParty/gtest/xcode/Config/DebugProject.xcconfig
Source/ThirdParty/gtest/xcode/Config/General.xcconfig
Source/ThirdParty/gtest/xcode/Config/ProductionProject.xcconfig
Source/ThirdParty/gtest/xcode/Config/ReleaseProject.xcconfig
Source/ThirdParty/gtest/xcode/gtest.xcodeproj/project.pbxproj