[Qt] Add a configure step to the Qt build system
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Sep 2012 13:06:39 +0000 (13:06 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Sep 2012 13:06:39 +0000 (13:06 +0000)
commit60e37318e6daaa92ebac0109693c5b83f5b2c179
tree3def8201282481b91355383a9ff1de5fe5c7c423
parent2568bddda8ab65f82780e88b577840794ddf66bc
[Qt] Add a configure step to the Qt build system

This allows building the Qt port using just 'qmake WebKit.pro'. Using
the build-webkit script is still supported, and will add slightly more
logic to the build, such as detecting the need for clean or incremental
builds.

Internally, the build system now uses a new variable, WEBKIT_CONFIG, for
all things related to configuring the build, such as use/have/enable flags,
and these are translated to defines in default_post. Project files should
no longer check contains(DEFINES,...) to detect features, but use the new
enable?(), use?(), and have?() functions. The no_webkit1 and no_webkit2
options have been translated into WEBKIT_CONFIG options as well, and can
be checked using build?().

Reviewed by Simon Hausmann.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@128174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
47 files changed:
ChangeLog
Source/QtWebKit.pro
Source/WTF/ChangeLog
Source/WTF/WTF.pri
Source/WTF/wtf/Platform.h
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.pri
Source/WebCore/Target.pri
Source/WebCore/WebCore.pri
Source/WebKit/ChangeLog
Source/WebKit/WebKit1.pri
Source/WebKit/WebKit1.pro
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/declarative/declarative.pro
Source/WebKit/qt/declarative/public.pri
Source/WebKit/qt/tests/qgraphicswebview/qgraphicswebview.pro
Source/WebKit2/ChangeLog
Source/WebKit2/Target.pri
Source/WebKit2/UIProcess/API/qt/tests/tests.pri
Source/WebKit2/WebKit2.pri
Source/WebKit2/config.h
Source/api.pri
Source/tests.pri
Tools/ChangeLog
Tools/DumpRenderTree/qt/DumpRenderTree.pro
Tools/MiniBrowser/qt/MiniBrowser.pro
Tools/QtTestBrowser/QtTestBrowser.pro
Tools/Scripts/build-webkit
Tools/Scripts/webkitdirs.pm
Tools/Tools.pro
Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri
Tools/WebKitTestRunner/InjectedBundle/Target.pri
Tools/WebKitTestRunner/Target.pri
Tools/qmake/.qmake.cache [new file with mode: 0644]
Tools/qmake/configure.pri [deleted file]
Tools/qmake/configure.pro [deleted file]
Tools/qmake/dump-features.pl [new file with mode: 0644]
Tools/qmake/mkspecs/features/configure.prf [new file with mode: 0644]
Tools/qmake/mkspecs/features/default_post.prf
Tools/qmake/mkspecs/features/default_pre.prf
Tools/qmake/mkspecs/features/features.prf
Tools/qmake/mkspecs/features/features.pri
Tools/qmake/mkspecs/features/functions.prf
Tools/qmake/mkspecs/features/gprof.prf
Tools/qmake/mkspecs/features/mac/default_pre.prf
Tools/qmake/mkspecs/features/win32/default_pre.prf
WebKit.pro