2010-04-29 James Robinson <jamesr@chromium.org>
[WebKit-https.git] / WebKit.pro
1 TEMPLATE = subdirs
2 CONFIG += ordered
3
4 include(WebKit.pri)
5
6 SUBDIRS += \
7         JavaScriptCore \
8         WebCore
9
10 # If the source exists, built it
11 exists($$PWD/WebKitTools/QtLauncher): SUBDIRS += WebKitTools/QtLauncher
12 exists($$PWD/JavaScriptCore/jsc.pro): SUBDIRS += JavaScriptCore/jsc.pro
13 exists($$PWD/WebKit/qt/tests): SUBDIRS += WebKit/qt/tests
14 exists($$PWD/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro
15
16 !win32:!symbian {
17     exists($$PWD/WebKitTools/DumpRenderTree/qt/ImageDiff.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/ImageDiff.pro
18     exists($$PWD/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
19 }
20
21 build-qtscript {
22     SUBDIRS += \
23         JavaScriptCore/qt/api/QtScript.pro \
24         JavaScriptCore/qt/tests
25 }
26
27 symbian {
28     # Forward the install target to WebCore. A workaround since INSTALLS is not implemented for symbian
29     install.commands = $(MAKE) -C WebCore install
30     QMAKE_EXTRA_TARGETS += install
31 }
32
33 include(WebKit/qt/docs/docs.pri)