diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-30 12:48:17 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-30 12:48:17 +0200 |
commit | 881da28418d380042aa95a97f0cbd42560a64f7c (patch) | |
tree | a794dff3274695e99c651902dde93d934ea7a5af /WebKit.pro | |
parent | 7e104c57a70fdf551bb3d22a5d637cdcbc69dbea (diff) | |
parent | 0fcedcd17cc00d3dd44c718b3cb36c1033319671 (diff) |
Merge 'wip/next' into dev
Change-Id: Iff9ee5e23bb326c4371ec8ed81d56f2f05d680e9
Diffstat (limited to 'WebKit.pro')
-rw-r--r-- | WebKit.pro | 72 |
1 files changed, 13 insertions, 59 deletions
diff --git a/WebKit.pro b/WebKit.pro index 11b59e58b..375d4d77b 100644 --- a/WebKit.pro +++ b/WebKit.pro @@ -1,66 +1,20 @@ -# ------------------------------------------------------------------- -# Root project file, used to load WebKit in Qt Creator and for -# building QtWebKit. -# -# See 'Tools/qmake/README' for an overview of the build system -# ------------------------------------------------------------------- +load(functions) TEMPLATE = subdirs CONFIG += ordered +PROJECTS_DIR = Tools/qmake/projects -!equals(QT_MAJOR_VERSION, 5): error("Building WebKit with Qt versions older than 5.0 is not supported.") +isPlatformSupported() { + QT_FOR_CONFIG += gui-private + !qtConfig(system-png):qtConfig(png):exists($$QTBASE_DIR): \ + SUBDIRS += $$PROJECTS_DIR/qtpng -WTF.file = Source/WTF/WTF.pro -WTF.makefile = Makefile.WTF -SUBDIRS += WTF + !qtConfig(system-jpeg):exists($$QTBASE_DIR): \ + SUBDIRS += $$PROJECTS_DIR/qtjpeg -JavaScriptCore.file = Source/JavaScriptCore/JavaScriptCore.pro -JavaScriptCore.makefile = Makefile.JavaScriptCore -SUBDIRS += JavaScriptCore - -use?(3D_GRAPHICS) { - ANGLE.file = Source/ThirdParty/ANGLE/ANGLE.pro - ANGLE.makefile = Makefile.ANGLE - SUBDIRS += ANGLE -} - -use?(leveldb):!use?(system_leveldb) { - leveldb.file = Source/ThirdParty/leveldb/leveldb.pro - leveldb.makefile = Makefile.leveldb - SUBDIRS += leveldb + SUBDIRS += \ + $$PROJECTS_DIR/generate_cmake_toolchain_file.pro \ + $$PROJECTS_DIR/run_cmake.pro +} else { + !build_pass: log("$${EOL}The WebKit build was disabled for the following reasons: $$skipBuildReason $${EOL}$${EOL}") } - -WebCore.file = Source/WebCore/WebCore.pro -WebCore.makefile = Makefile.WebCore -SUBDIRS += WebCore - -build?(webkit1) { - webkit1.file = Source/WebKit/WebKit1.pro - webkit1.makefile = Makefile.WebKit1 - SUBDIRS += webkit1 -} - -build?(webkit2) { - webkit2.file = Source/WebKit2/WebKit2.pro - webkit2.makefile = Makefile.WebKit2 - SUBDIRS += webkit2 -} - -QtWebKit.file = Source/QtWebKit.pro -QtWebKit.makefile = Makefile.QtWebKit -SUBDIRS += QtWebKit - -!production_build { - # Only tested on Linux so far. - linux* { - gtest.file = Source/ThirdParty/gtest/gtest.pro - gtest.makefile = Makefile.gtest - SUBDIRS += gtest - } -} - -Tools.file = Tools/Tools.pro -Tools.makefile = Makefile.Tools -SUBDIRS += Tools - -# Number of times incremental builds have failed: 1 |