[Qt] Compile WTF tests of TestWebKitAPI
[WebKit-https.git] / Tools / Tools.pro
1 # -------------------------------------------------------------------
2 # Root project file for tools
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = subdirs
8 CONFIG += ordered
9
10 build?(webkit1) {
11     build?(testbrowser): SUBDIRS += QtTestBrowser/QtTestBrowser.pro
12     build?(drt): SUBDIRS += DumpRenderTree/qt/DumpRenderTree.pro
13 }
14
15 build?(webkit2) {
16     # WTR's InjectedBundle depends currently on WK1's DumpRenderTreeSupport
17     build?(webkit1):build?(wtr):have?(QTQUICK): SUBDIRS += WebKitTestRunner/WebKitTestRunner.pro
18
19     build?(minibrowser) {
20         have?(QTQUICK): SUBDIRS += MiniBrowser/qt/MiniBrowser.pro
21         SUBDIRS += MiniBrowser/qt/raw/MiniBrowserRaw.pro
22     }
23
24     !production_build {
25         # Only tested on Linux so far.
26         linux* {
27             SUBDIRS += TestWebKitAPI
28         }
29     }
30 }
31
32 build?(imagediff): SUBDIRS += ImageDiff/ImageDiff.pro
33
34 build?(test_npapi): SUBDIRS += DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
35
36 OTHER_FILES = \
37     Scripts/* \
38     $$files(Scripts/webkitpy/*.py, true) \
39     $$files(Scripts/webkitperl/*.p[l|m], true) \
40     qmake/README \
41     qmake/dump-features.pl \
42     qmake/config.tests/README \
43     qmake/config.tests/fontconfig/* \
44     qmake/config.tests/gccdepends/* \
45     qmake/config.tests/libexecdir/* \
46     qmake/mkspecs/modules/* \
47     qmake/mkspecs/features/*.prf \
48     qmake/mkspecs/features/*.pri \
49     qmake/mkspecs/features/mac/*.prf \
50     qmake/mkspecs/features/unix/*.prf \
51     qmake/mkspecs/features/win32/*.prf