[BlackBerry] Allow plugins to be disabled by shared library filename
[WebKit-https.git] / Source / QtWebKit.pro
1 # -------------------------------------------------------------------
2 # Root project file for QtWebKit
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = subdirs
8 CONFIG += ordered
9
10 api.file = api.pri
11 SUBDIRS += api
12
13 build?(webkit1) {
14     webkitwidgets.file = widgetsapi.pri
15     SUBDIRS += webkitwidgets
16 }
17
18 build?(webkit2) {
19     webprocess.file = WebKit2/WebProcess.pro
20     SUBDIRS += webprocess
21     enable?(PLUGIN_PROCESS) {
22         pluginprocess.file = WebKit2/PluginProcess.pro
23         SUBDIRS += pluginprocess
24     }
25 }
26
27 declarative.file = WebKit/qt/declarative/declarative.pro
28 declarative.makefile = Makefile.declarative
29 have?(QTQUICK): SUBDIRS += declarative
30
31 build?(webkit1) {
32     build?(tests) {
33         tests.file = tests.pri
34         SUBDIRS += tests
35     }
36
37     examples.file = WebKit/qt/examples/examples.pro
38     examples.CONFIG += no_default_target
39     examples.makefile = Makefile
40     SUBDIRS += examples
41 }