[chromium] Add WebPluginScrollbar and WebPluginScrollbarClient stub implementations
[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/API/c \
19     $$SOURCE_DIR/Shared/CoreIPCSupport \
20     $$SOURCE_DIR/Shared/Plugins \
21     $$SOURCE_DIR/Shared/Plugins/Netscape \
22     $$SOURCE_DIR/Shared/qt \
23     $$SOURCE_DIR/UIProcess \
24     $$SOURCE_DIR/UIProcess/API/C \
25     $$SOURCE_DIR/UIProcess/API/cpp \
26     $$SOURCE_DIR/UIProcess/API/cpp/qt \
27     $$SOURCE_DIR/UIProcess/API/qt \
28     $$SOURCE_DIR/UIProcess/Authentication \
29     $$SOURCE_DIR/UIProcess/Downloads \
30     $$SOURCE_DIR/UIProcess/InspectorServer \
31     $$SOURCE_DIR/UIProcess/InspectorServer/qt \
32     $$SOURCE_DIR/UIProcess/Launcher \
33     $$SOURCE_DIR/UIProcess/Notifications \
34     $$SOURCE_DIR/UIProcess/Plugins \
35     $$SOURCE_DIR/UIProcess/qt \
36     $$SOURCE_DIR/UIProcess/texmap \
37     $$SOURCE_DIR/WebProcess \
38     $$SOURCE_DIR/WebProcess/ApplicationCache \
39     $$SOURCE_DIR/WebProcess/Authentication \
40     $$SOURCE_DIR/WebProcess/Cookies \
41     $$SOURCE_DIR/WebProcess/Cookies/qt \
42     $$SOURCE_DIR/WebProcess/Downloads \
43     $$SOURCE_DIR/WebProcess/Downloads/qt \
44     $$SOURCE_DIR/WebProcess/FullScreen \
45     $$SOURCE_DIR/WebProcess/Geolocation \
46     $$SOURCE_DIR/WebProcess/IconDatabase \
47     $$SOURCE_DIR/WebProcess/InjectedBundle \
48     $$SOURCE_DIR/WebProcess/InjectedBundle/DOM \
49     $$SOURCE_DIR/WebProcess/InjectedBundle/API/c \
50     $$SOURCE_DIR/WebProcess/KeyValueStorage \
51     $$SOURCE_DIR/WebProcess/MediaCache \
52     $$SOURCE_DIR/WebProcess/Notifications \
53     $$SOURCE_DIR/WebProcess/Plugins \
54     $$SOURCE_DIR/WebProcess/Plugins/Netscape \
55     $$SOURCE_DIR/WebProcess/ResourceCache \
56     $$SOURCE_DIR/WebProcess/WebCoreSupport \
57     $$SOURCE_DIR/WebProcess/WebCoreSupport/qt \
58     $$SOURCE_DIR/WebProcess/WebPage \
59     $$SOURCE_DIR/WebProcess/WebPage/LayerTreeCoordinator \
60     $$SOURCE_DIR/WebProcess/qt \
61     $$SOURCE_DIR/PluginProcess
62
63 # The WebKit2 Qt APIs depend on qwebkitglobal.h, which lives in WebKit
64 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WebKit/qt/Api
65
66 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WTF/wtf/qt
67
68 INCLUDEPATH += $$WEBKIT2_GENERATED_SOURCES_DIR
69
70 linux-*: {
71     # -lrt is required for shm_open and shm_unlink.
72     LIBS += -lrt
73 }