blob: 2c79ef895a393fb6450c0cca708c4e14f3a38b30 [file] [log] [blame]
TEMPLATE = subdirs
CONFIG += ordered
include(WebKit.pri)
!v8: SUBDIRS += Source/JavaScriptCore
webkit2 {
SUBDIRS += Source/WebKit2
}
SUBDIRS += Source/WebCore
# If the source exists, built it
exists($$PWD/Tools/QtTestBrowser): SUBDIRS += Tools/QtTestBrowser
contains(QT_CONFIG, declarative) {
exists($$PWD/Source/WebKit/qt/declarative): SUBDIRS += Source/WebKit/qt/declarative
}
!v8:exists($$PWD/Source/JavaScriptCore/jsc.pro): SUBDIRS += Source/JavaScriptCore/jsc.pro
exists($$PWD/Source/WebKit/qt/tests): SUBDIRS += Source/WebKit/qt/tests
exists($$PWD/Tools/DumpRenderTree/qt/DumpRenderTree.pro): SUBDIRS += Tools/DumpRenderTree/qt/DumpRenderTree.pro
exists($$PWD/Tools/DumpRenderTree/qt/ImageDiff.pro): SUBDIRS += Tools/DumpRenderTree/qt/ImageDiff.pro
!win32:!symbian {
exists($$PWD/Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro): SUBDIRS += Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
}
build-qtscript {
SUBDIRS += \
Source/JavaScriptCore/qt/api/QtScript.pro \
Source/JavaScriptCore/qt/tests \
Source/JavaScriptCore/qt/benchmarks
}
webkit2 {
exists($$PWD/Source/WebKit2/WebProcess.pro): SUBDIRS += Source/WebKit2/WebProcess.pro
exists($$PWD/Tools/MiniBrowser/qt/MiniBrowser.pro): SUBDIRS += Tools/MiniBrowser/qt/MiniBrowser.pro
exists($$PWD/Tools/WebKitTestRunner/WebKitTestRunner.pro): SUBDIRS += Tools/WebKitTestRunner/WebKitTestRunner.pro
}
symbian {
# Forward the install target to WebCore. A workaround since INSTALLS is not implemented for symbian
install.commands = $(MAKE) -C WebCore install
QMAKE_EXTRA_TARGETS += install
}
include(Source/WebKit/qt/docs/docs.pri)