This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
WebKit.pro
53 lines (42 loc) · 1.59 KB
/
WebKit.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
TEMPLATE = subdirs
CONFIG += ordered
include(WebKit.pri)
!v8 {
exists($$PWD/JavaScriptCore/JavaScriptCore.pro): SUBDIRS += JavaScriptCore/JavaScriptCore.pro
exists($$PWD/JavaScriptCore/jsc.pro): SUBDIRS += JavaScriptCore/jsc.pro
}
webkit2 {
lessThan(QT_MAJOR_VERSION, 5) {
message("Building WebKit2 with Qt versions older than 5.0 is no longer supported.")
message("Read http://www.mail-archive.com/webkit-qt@lists.webkit.org/msg01674.html for more information.")
error("Aborting build.")
}
exists($$PWD/WebKit2/WebKit2.pro): SUBDIRS += WebKit2/WebKit2.pro
}
SUBDIRS += WebCore
SUBDIRS += WebKit/qt/QtWebKit.pro
webkit2 {
exists($$PWD/WebKit2/WebProcess.pro): SUBDIRS += WebKit2/WebProcess.pro
exists($$PWD/WebKit2/UIProcess/API/qt/tests): SUBDIRS += WebKit2/UIProcess/API/qt/tests
}
exists($$PWD/WebKit/qt/declarative) {
lessThan(QT_MAJOR_VERSION, 5) {
contains(QT_CONFIG, declarative): SUBDIRS += WebKit/qt/declarative
} else {
contains(QT_CONFIG, qtquick1): SUBDIRS += WebKit/qt/declarative
}
}
exists($$PWD/WebKit/qt/tests): SUBDIRS += WebKit/qt/tests
build-qtscript {
SUBDIRS += \
JavaScriptCore/qt/api/QtScript.pro \
JavaScriptCore/qt/tests \
JavaScriptCore/qt/benchmarks
}
symbian {
exists($$PWD/WebKit/qt/symbian/platformplugin): SUBDIRS += WebKit/qt/symbian/platformplugin
# 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(WebKit/qt/docs/docs.pri)