haikuwebkit/Source/WTF/config.h

35 lines
1.1 KiB
C
Raw Permalink Normal View History

WTF should have an Xcode project https://bugs.webkit.org/show_bug.cgi?id=71752 Patch by Mark Rowe <mrowe@apple.com> on 2011-11-19 Reviewed by Adam Barth. This adds an Xcode project that includes only Stub.cpp and Stub.h. They’re built in to a library at the appropriate path for each configuration (WebKitBuild/{Debug,Release}/libWTF.a and /usr/local/lib/libWTF.a) and headers are installed in to the appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf and /usr/local/include/wtf). I tested building WTF in this project and everything appears to build except for DateMath.cpp (due to bug 71747). I have not yet done any work on making JavaScriptCore and other projects use the built products of this new project. * Configurations: Added. * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig. * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig. * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig. * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig. * WTF.xcodeproj: Added. * WTF.xcodeproj/project.pbxproj: Added. * config.h: Copied from Source/JavaScriptCore/config.h. * icu: Added. * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE. * icu/README: Copied from Source/JavaScriptCore/icu/README. * icu/unicode: Added. * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h. * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h. * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h. * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h. * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h. * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h. * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h. * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h. * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h. * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h. * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h. * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h. * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h. * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h. * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h. * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h. * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h. * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h. * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h. * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h. * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h. * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h. * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h. Canonical link: https://commits.webkit.org/89339@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-11-19 08:09:22 +00:00
/*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
[GTK] Remove the autotools build https://bugs.webkit.org/show_bug.cgi?id=130717 Reviewed by Anders Carlsson. .: * .gitignore: Remove references to autotools files. * GNUmakefile.am: Removed. * Source/autotools/CheckSystemAndBasicDependencies.m4: Removed. * Source/autotools/CustomMacros.m4: Removed. * Source/autotools/FindDependencies.m4: Removed. * Source/autotools/PrintBuildConfiguration.m4: Removed. * Source/autotools/ReadCommandLineArguments.m4: Removed. * Source/autotools/SetupAutoconfHeader.m4: Removed. * Source/autotools/SetupAutomake.m4: Removed. * Source/autotools/SetupCompilerFlags.m4: Removed. * Source/autotools/SetupLibtool.m4: Removed. * Source/autotools/SetupWebKitFeatures.m4: Removed. * Source/autotools/Versions.m4: Removed. * Source/autotools/acinclude.m4: Removed. * Source/autotools/dolt.m4: Removed. * Source/autotools/gsettings.m4: Removed. * Source/cmake/OptionsGTK.cmake: * autogen.sh: Removed. * configure.ac: Removed. Source/JavaScriptCore: * GNUmakefile.am: Removed. * config.h: Remove references to the autotools configure file. Source/Platform: * GNUmakefile.am: Removed. Source/ThirdParty: * gtest/GNUmakefile.am: Removed. * leveldb/GNUmakefile.am: Removed. Source/ThirdParty/ANGLE: * GNUmakefile.am: Removed. Source/WebCore: * GNUmakefile.am: Removed. * bindings/gobject/GNUmakefile.am: Removed. * config.h: Removed references to autotools configure file. Source/WebCore/platform/gtk/po: * GNUmakefile.am: Removed. Source/WebInspectorUI: * GNUmakefile.am: Removed. Source/WebKit/gtk: * GNUmakefile.am: Removed. Source/WebKit2: * GNUmakefile.am: Removed. * WebKit2Prefix.h: Removed references to the autotools configure file. * config.h: Ditto. Source/WTF: * GNUmakefile.am: Removed. * config.h: Removed references to the autotools configure file. Tools: * DumpRenderTree/config.h: Remove references to the autotools configure file. * GNUmakefile.am: Removed. * GtkLauncher/GNUmakefile.am: Removed. * GtkLauncher/main.c: Remove references to the autotools configure file. * MiniBrowser/gtk/BrowserDownloadsBar.c: Ditto. * MiniBrowser/gtk/BrowserSearchBar.c: Ditto. * MiniBrowser/gtk/BrowserWindow.c: Ditto. * MiniBrowser/gtk/GNUmakefile.am: Removed. * MiniBrowser/gtk/main.c: Remove references to the autotools configure file. * Scripts/build-webkit: No longer handle autotools. * Scripts/run-gtk-tests: Ditto. (TestRunner._setup_testing_environment): * Scripts/run-launcher: Ditto. * Scripts/webkitdirs.pm: Ditto. * Scripts/webkitpy/common/config/contributionareas.py: Remove autotools as a contribution area. * Scripts/webkitpy/common/config/contributors.json: Ditto. * Scripts/webkitpy/port/gtk.py: No longer handle autotools. * Scripts/webkitpy/style/checker.py: * TestWebKitAPI/GNUmakefile.am: Removed. * TestWebKitAPI/config.h: Remove references to the autotools configure file. * WebKitTestRunner/GNUmakefile.am: Removed. * WebKitTestRunner/WebKitTestRunnerPrefix.h: Ditto. * gtk/GNUmakefile.am: Removed. * gtk/common.py: Remove checks for the autotools build. * gtk/symbols.filter: Renamed from Source/autotools/symbols.filter. Canonical link: https://commits.webkit.org/148761@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-25 17:45:52 +00:00
#if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H && defined(BUILDING_WITH_CMAKE)
WTF should have an Xcode project https://bugs.webkit.org/show_bug.cgi?id=71752 Patch by Mark Rowe <mrowe@apple.com> on 2011-11-19 Reviewed by Adam Barth. This adds an Xcode project that includes only Stub.cpp and Stub.h. They’re built in to a library at the appropriate path for each configuration (WebKitBuild/{Debug,Release}/libWTF.a and /usr/local/lib/libWTF.a) and headers are installed in to the appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf and /usr/local/include/wtf). I tested building WTF in this project and everything appears to build except for DateMath.cpp (due to bug 71747). I have not yet done any work on making JavaScriptCore and other projects use the built products of this new project. * Configurations: Added. * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig. * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig. * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig. * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig. * WTF.xcodeproj: Added. * WTF.xcodeproj/project.pbxproj: Added. * config.h: Copied from Source/JavaScriptCore/config.h. * icu: Added. * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE. * icu/README: Copied from Source/JavaScriptCore/icu/README. * icu/unicode: Added. * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h. * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h. * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h. * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h. * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h. * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h. * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h. * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h. * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h. * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h. * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h. * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h. * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h. * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h. * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h. * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h. * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h. * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h. * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h. * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h. * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h. * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h. * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h. Canonical link: https://commits.webkit.org/89339@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-11-19 08:09:22 +00:00
#include "cmakeconfig.h"
#endif
#include <wtf/ExportMacros.h>
#ifdef __cplusplus
#undef new
#undef delete
#include <wtf/FastMalloc.h>
#endif
#include <wtf/DisallowCType.h>