Add test expectation for one more test having color space issues after r156793.
[WebKit-https.git] / Source / WebKit2 / WebKit2.pri
1 # -------------------------------------------------------------------
2 # This file contains shared rules used both when building WebKit2
3 # itself, and by targets that use WebKit2.
4 #
5 # See 'Tools/qmake/README' for an overview of the build system
6 # -------------------------------------------------------------------
7
8 SOURCE_DIR = $${ROOT_WEBKIT_DIR}/Source/WebKit2
9
10 WEBKIT2_GENERATED_SOURCES_DIR = $${ROOT_BUILD_DIR}/Source/WebKit2/$${GENERATED_SOURCES_DESTDIR}
11
12 INCLUDEPATH += \
13     $$SOURCE_DIR \
14     $$SOURCE_DIR/Platform \
15     $$SOURCE_DIR/Platform/CoreIPC \
16     $$SOURCE_DIR/Platform/qt \
17     $$SOURCE_DIR/Shared \
18     $$SOURCE_DIR/Shared/linux/SandboxProcess \
19     $$SOURCE_DIR/Shared/API/c \
20     $$SOURCE_DIR/Shared/Authentication \
21     $$SOURCE_DIR/Shared/CoordinatedGraphics \
22     $$SOURCE_DIR/Shared/CoreIPCSupport \
23     $$SOURCE_DIR/Shared/Downloads \
24     $$SOURCE_DIR/Shared/Downloads/qt \
25     $$SOURCE_DIR/Shared/Network \
26     $$SOURCE_DIR/Shared/Plugins \
27     $$SOURCE_DIR/Shared/Plugins/Netscape \
28     $$SOURCE_DIR/Shared/qt \
29     $$SOURCE_DIR/UIProcess \
30     $$SOURCE_DIR/UIProcess/API/C \
31     $$SOURCE_DIR/UIProcess/API/C/qt \
32     $$SOURCE_DIR/UIProcess/API/cpp \
33     $$SOURCE_DIR/UIProcess/API/cpp/qt \
34     $$SOURCE_DIR/UIProcess/API/qt \
35     $$SOURCE_DIR/UIProcess/Authentication \
36     $$SOURCE_DIR/UIProcess/CoordinatedGraphics \
37     $$SOURCE_DIR/UIProcess/Downloads \
38     $$SOURCE_DIR/UIProcess/InspectorServer \
39     $$SOURCE_DIR/UIProcess/InspectorServer/qt \
40     $$SOURCE_DIR/UIProcess/Launcher \
41     $$SOURCE_DIR/UIProcess/Notifications \
42     $$SOURCE_DIR/UIProcess/Plugins \
43     $$SOURCE_DIR/UIProcess/Storage \
44     $$SOURCE_DIR/UIProcess/qt \
45     $$SOURCE_DIR/UIProcess/texmap \
46     $$SOURCE_DIR/WebProcess \
47     $$SOURCE_DIR/WebProcess/ApplicationCache \
48     $$SOURCE_DIR/WebProcess/Battery \
49     $$SOURCE_DIR/WebProcess/Cookies \
50     $$SOURCE_DIR/WebProcess/Cookies/qt \
51     $$SOURCE_DIR/WebProcess/FullScreen \
52     $$SOURCE_DIR/WebProcess/Geolocation \
53     $$SOURCE_DIR/WebProcess/IconDatabase \
54     $$SOURCE_DIR/WebProcess/InjectedBundle \
55     $$SOURCE_DIR/WebProcess/InjectedBundle/DOM \
56     $$SOURCE_DIR/WebProcess/InjectedBundle/API/c \
57     $$SOURCE_DIR/WebProcess/MediaCache \
58     $$SOURCE_DIR/WebProcess/NetworkInfo \
59     $$SOURCE_DIR/WebProcess/Notifications \
60     $$SOURCE_DIR/WebProcess/Plugins \
61     $$SOURCE_DIR/WebProcess/Plugins/Netscape \
62     $$SOURCE_DIR/WebProcess/ResourceCache \
63     $$SOURCE_DIR/WebProcess/Storage \
64     $$SOURCE_DIR/WebProcess/WebCoreSupport \
65     $$SOURCE_DIR/WebProcess/WebCoreSupport/qt \
66     $$SOURCE_DIR/WebProcess/WebPage \
67     $$SOURCE_DIR/WebProcess/WebPage/CoordinatedGraphics \
68     $$SOURCE_DIR/WebProcess/qt \
69     $$SOURCE_DIR/PluginProcess \
70
71 # The WebKit2 Qt APIs depend on qwebkitglobal.h, which lives in WebKit
72 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WebKit/qt/Api
73
74 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WTF/wtf/qt
75
76 INCLUDEPATH += $$WEBKIT2_GENERATED_SOURCES_DIR
77
78 linux-*: {
79     # -lrt is required for shm_open and shm_unlink.
80     LIBS += -lrt
81 }
82
83 have?(QTQUICK): QT += qml quick
84
85 have?(qtpositioning):enable?(GEOLOCATION): QT += positioning
86
87 enable?(SECCOMP_FILTERS): PKGCONFIG += libseccomp
88