summaryrefslogtreecommitdiffstats
path: root/Tools/TestWebKitAPI/InjectedBundle.pri
blob: 171a200f0db74c2986636b951ee0f2213545f1ca (plain)
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
54
55
56
# -------------------------------------------------------------------
# Project file for TestWebKitAPI's InjectedBundle
#
# See 'Tools/qmake/README' for an overview of the build system
# -------------------------------------------------------------------

TEMPLATE = lib
TARGET = TestWebKitAPIInjectedBundle

INCLUDEPATH += $$PWD
INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/ThirdParty/gtest/include

SOURCES += \
    $$PWD/InjectedBundleController.cpp \
    $$PWD/InjectedBundleController.h \
    $$PWD/InjectedBundleMain.cpp \
    $$PWD/InjectedBundleTest.h \
    $$PWD/PlatformUtilities.cpp \
    $$PWD/PlatformUtilities.h \
    $$PWD/qt/InjectedBundleControllerQt.cpp \
    $$PWD/qt/PlatformUtilitiesQt.cpp \
    $$PWD/Tests/WebKit2/CanHandleRequest_Bundle.cpp \
    $$PWD/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp \
    $$PWD/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp \
    $$PWD/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp \
    $$PWD/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp \
    $$PWD/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp \
    $$PWD/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp \
    $$PWD/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp \
    $$PWD/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp \
    $$PWD/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp \
    $$PWD/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp \
    $$PWD/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp \
    $$PWD/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp \
    $$PWD/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp \
    $$PWD/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp \
    $$PWD/Tests/WebKit2/ParentFrame_Bundle.cpp \
    $$PWD/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp \
    $$PWD/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp \
    $$PWD/Tests/WebKit2/UserMessage_Bundle.cpp \
    $$PWD/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp \
    $$PWD/Tests/WebKit2/WKConnection_Bundle.cpp


DESTDIR = $${ROOT_BUILD_DIR}/lib

QT += core webkit

WEBKIT += wtf javascriptcore webcore webkit2

CONFIG += plugin rpath compiling_thirdparty_code

LIBS += -L$${ROOT_BUILD_DIR}/Source/ThirdParty/gtest/$$targetSubDir() -lgtest

DEFINES += APITEST_SOURCE_DIR=\\\"$$PWD\\\" \
           ROOT_BUILD_DIR=\\\"$${ROOT_BUILD_DIR}\\\"