Fixed copy & paste context menu disappear quickly.
[framework/web/webkit-efl.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/CoordinatedGraphics \
20     $$SOURCE_DIR/Shared/CoreIPCSupport \
21     $$SOURCE_DIR/Shared/Plugins \
22     $$SOURCE_DIR/Shared/Plugins/Netscape \
23     $$SOURCE_DIR/Shared/qt \
24     $$SOURCE_DIR/UIProcess \
25     $$SOURCE_DIR/UIProcess/API/C \
26     $$SOURCE_DIR/UIProcess/API/cpp \
27     $$SOURCE_DIR/UIProcess/API/cpp/qt \
28     $$SOURCE_DIR/UIProcess/API/qt \
29     $$SOURCE_DIR/UIProcess/Authentication \
30     $$SOURCE_DIR/UIProcess/Downloads \
31     $$SOURCE_DIR/UIProcess/InspectorServer \
32     $$SOURCE_DIR/UIProcess/InspectorServer/qt \
33     $$SOURCE_DIR/UIProcess/Launcher \
34     $$SOURCE_DIR/UIProcess/Notifications \
35     $$SOURCE_DIR/UIProcess/Plugins \
36     $$SOURCE_DIR/UIProcess/qt \
37     $$SOURCE_DIR/UIProcess/texmap \
38     $$SOURCE_DIR/WebProcess \
39     $$SOURCE_DIR/WebProcess/ApplicationCache \
40     $$SOURCE_DIR/WebProcess/Authentication \
41     $$SOURCE_DIR/WebProcess/Battery \
42     $$SOURCE_DIR/WebProcess/Cookies \
43     $$SOURCE_DIR/WebProcess/Cookies/qt \
44     $$SOURCE_DIR/WebProcess/Downloads \
45     $$SOURCE_DIR/WebProcess/Downloads/qt \
46     $$SOURCE_DIR/WebProcess/FullScreen \
47     $$SOURCE_DIR/WebProcess/Geolocation \
48     $$SOURCE_DIR/WebProcess/IconDatabase \
49     $$SOURCE_DIR/WebProcess/InjectedBundle \
50     $$SOURCE_DIR/WebProcess/InjectedBundle/DOM \
51     $$SOURCE_DIR/WebProcess/InjectedBundle/API/c \
52     $$SOURCE_DIR/WebProcess/KeyValueStorage \
53     $$SOURCE_DIR/WebProcess/MediaCache \
54     $$SOURCE_DIR/WebProcess/NetworkInfo \
55     $$SOURCE_DIR/WebProcess/Notifications \
56     $$SOURCE_DIR/WebProcess/Plugins \
57     $$SOURCE_DIR/WebProcess/Plugins/Netscape \
58     $$SOURCE_DIR/WebProcess/ResourceCache \
59     $$SOURCE_DIR/WebProcess/WebCoreSupport \
60     $$SOURCE_DIR/WebProcess/WebCoreSupport/qt \
61     $$SOURCE_DIR/WebProcess/WebPage \
62     $$SOURCE_DIR/WebProcess/WebPage/LayerTreeCoordinator \
63     $$SOURCE_DIR/WebProcess/qt \
64     $$SOURCE_DIR/PluginProcess
65
66 # The WebKit2 Qt APIs depend on qwebkitglobal.h, which lives in WebKit
67 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WebKit/qt/Api
68
69 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WTF/wtf/qt
70
71 INCLUDEPATH += $$WEBKIT2_GENERATED_SOURCES_DIR
72
73 linux-*: {
74     # -lrt is required for shm_open and shm_unlink.
75     LIBS += -lrt
76 }
77
78 QT += qml quick
79
80 contains(DEFINES, ENABLE_GEOLOCATION=1):haveQt(5): QT += location