2010-12-30 Konstantin Tokarev <annulen@yandex.ru>
[WebKit-https.git] / Tools / DumpRenderTree / qt / DumpRenderTree.pro
1 TARGET = DumpRenderTree
2 CONFIG  -= app_bundle
3 CONFIG += uitools
4
5 BASEDIR = $$PWD/../
6 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
7
8 include(../../../WebKit.pri)
9 INCLUDEPATH += ../../..
10 INCLUDEPATH += ../../../JavaScriptCore
11 INCLUDEPATH += ../../../JavaScriptCore/ForwardingHeaders
12 INCLUDEPATH += $$BASEDIR
13 DESTDIR = ../../../bin
14
15 unix:!mac:!symbian {
16     CONFIG += link_pkgconfig
17     PKGCONFIG += fontconfig
18 }
19
20 QT = core gui network testlib
21 macx: QT += xml
22
23 HEADERS = $$BASEDIR/WorkQueue.h \
24     DumpRenderTreeQt.h \
25     EventSenderQt.h \
26     TextInputControllerQt.h \
27     WorkQueueItemQt.h \
28     LayoutTestControllerQt.h \
29     GCControllerQt.h \
30     PlainTextControllerQt.h \
31     testplugin.h
32 SOURCES = ../../../JavaScriptCore/wtf/Assertions.cpp \
33     $$BASEDIR/WorkQueue.cpp \
34     DumpRenderTreeQt.cpp \
35     EventSenderQt.cpp \
36     TextInputControllerQt.cpp \
37     PlainTextControllerQt.cpp \
38     WorkQueueItemQt.cpp \
39     LayoutTestControllerQt.cpp \
40     GCControllerQt.cpp \
41     testplugin.cpp \
42     main.cpp
43
44 unix:!mac {
45     QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
46 }
47
48 wince*: {
49     INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat $$WCECOMPAT/include
50     LIBS += $$WCECOMPAT/lib/wcecompat.lib
51 }
52
53 DEFINES += USE_SYSTEM_MALLOC=1