Merge "Adopt secure log for Network error log" into tizen_2.1
[framework/web/webkit-efl.git] / Source / WebKit / WebKit1.pro
1 # -------------------------------------------------------------------
2 # Target file for the WebKit1 static library
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = lib
8 TARGET = WebKit1
9
10 include(WebKit1.pri)
11
12 WEBKIT += wtf javascriptcore webcore
13 QT += gui
14
15 CONFIG += staticlib
16
17 SOURCES += \
18     $$PWD/qt/Api/qwebframe.cpp \
19     $$PWD/qt/Api/qgraphicswebview.cpp \
20     $$PWD/qt/Api/qwebpage.cpp \
21     $$PWD/qt/Api/qwebview.cpp \
22     $$PWD/qt/Api/qwebelement.cpp \
23     $$PWD/qt/Api/qwebhistory.cpp \
24     $$PWD/qt/Api/qwebsettings.cpp \
25     $$PWD/qt/Api/qwebhistoryinterface.cpp \
26     $$PWD/qt/Api/qwebplugindatabase.cpp \
27     $$PWD/qt/Api/qwebpluginfactory.cpp \
28     $$PWD/qt/Api/qwebsecurityorigin.cpp \
29     $$PWD/qt/Api/qwebscriptworld.cpp \
30     $$PWD/qt/Api/qwebdatabase.cpp \
31     $$PWD/qt/Api/qwebinspector.cpp \
32     $$PWD/qt/Api/qwebkitversion.cpp \
33     $$PWD/qt/Api/qhttpheader.cpp \
34     $$PWD/qt/WebCoreSupport/QtFallbackWebPopup.cpp \
35     $$PWD/qt/WebCoreSupport/QtWebComboBox.cpp \
36     $$PWD/qt/WebCoreSupport/ChromeClientQt.cpp \
37     $$PWD/qt/WebCoreSupport/ContextMenuClientQt.cpp \
38     $$PWD/qt/WebCoreSupport/DragClientQt.cpp \
39     $$PWD/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp \
40     $$PWD/qt/WebCoreSupport/EditorClientQt.cpp \
41     $$PWD/qt/WebCoreSupport/UndoStepQt.cpp \
42     $$PWD/qt/WebCoreSupport/FrameLoaderClientQt.cpp \
43     $$PWD/qt/WebCoreSupport/FrameNetworkingContextQt.cpp \
44     $$PWD/qt/WebCoreSupport/GeolocationPermissionClientQt.cpp \
45     $$PWD/qt/WebCoreSupport/InitWebCoreQt.cpp \
46     $$PWD/qt/WebCoreSupport/InspectorClientQt.cpp \
47     $$PWD/qt/WebCoreSupport/InspectorServerQt.cpp \
48     $$PWD/qt/WebCoreSupport/NotificationPresenterClientQt.cpp \
49     $$PWD/qt/WebCoreSupport/PageClientQt.cpp \
50     $$PWD/qt/WebCoreSupport/PopupMenuQt.cpp \
51     $$PWD/qt/WebCoreSupport/QtPlatformPlugin.cpp \
52     $$PWD/qt/WebCoreSupport/RenderThemeQStyle.cpp \
53     $$PWD/qt/WebCoreSupport/ScrollbarThemeQStyle.cpp \
54     $$PWD/qt/WebCoreSupport/SearchPopupMenuQt.cpp \
55     $$PWD/qt/WebCoreSupport/TextCheckerClientQt.cpp \
56     $$PWD/qt/WebCoreSupport/PlatformStrategiesQt.cpp \
57     $$PWD/qt/WebCoreSupport/WebEventConversion.cpp
58
59 HEADERS += \
60     $$PWD/qt/Api/qwebframe.h \
61     $$PWD/qt/Api/qwebframe_p.h \
62     $$PWD/qt/Api/qgraphicswebview.h \
63     $$PWD/qt/Api/qwebkitglobal.h \
64     $$PWD/qt/Api/qwebkitplatformplugin.h \
65     $$PWD/qt/Api/qwebpage.h \
66     $$PWD/qt/Api/qwebview.h \
67     $$PWD/qt/Api/qwebsettings.h \
68     $$PWD/qt/Api/qwebhistoryinterface.h \
69     $$PWD/qt/Api/qwebdatabase.h \
70     $$PWD/qt/Api/qwebsecurityorigin.h \
71     $$PWD/qt/Api/qwebelement.h \
72     $$PWD/qt/Api/qwebelement_p.h \
73     $$PWD/qt/Api/qwebpluginfactory.h \
74     $$PWD/qt/Api/qwebhistory.h \
75     $$PWD/qt/Api/qwebinspector.h \
76     $$PWD/qt/Api/qwebkitversion.h \
77     $$PWD/qt/Api/qwebplugindatabase_p.h \
78     $$PWD/qt/Api/qhttpheader_p.h \
79     $$PWD/qt/WebCoreSupport/InitWebCoreQt.h \
80     $$PWD/qt/WebCoreSupport/InspectorServerQt.h \
81     $$PWD/qt/WebCoreSupport/QtFallbackWebPopup.h \
82     $$PWD/qt/WebCoreSupport/QtWebComboBox.h \
83     $$PWD/qt/WebCoreSupport/FrameLoaderClientQt.h \
84     $$PWD/qt/WebCoreSupport/FrameNetworkingContextQt.h \
85     $$PWD/qt/WebCoreSupport/GeolocationPermissionClientQt.h \
86     $$PWD/qt/WebCoreSupport/NotificationPresenterClientQt.h \
87     $$PWD/qt/WebCoreSupport/PageClientQt.h \
88     $$PWD/qt/WebCoreSupport/PopupMenuQt.h \
89     $$PWD/qt/WebCoreSupport/QtPlatformPlugin.h \
90     $$PWD/qt/WebCoreSupport/RenderThemeQStyle.h \
91     $$PWD/qt/WebCoreSupport/ScrollbarThemeQStyle.h \
92     $$PWD/qt/WebCoreSupport/SearchPopupMenuQt.h \
93     $$PWD/qt/WebCoreSupport/TextCheckerClientQt.h \
94     $$PWD/qt/WebCoreSupport/PlatformStrategiesQt.h \
95     $$PWD/qt/WebCoreSupport/WebEventConversion.h
96
97 haveQt(5): contains(QT_CONFIG,accessibility) {
98     SOURCES += $$PWD/qt/Api/qwebviewaccessible.cpp
99     HEADERS += $$PWD/qt/Api/qwebviewaccessible_p.h 
100 }
101
102 INCLUDEPATH += \
103     $$PWD/qt/Api \
104     $$PWD/qt/WebCoreSupport
105
106 contains(DEFINES, ENABLE_VIDEO=1) {
107     !contains(DEFINES, WTF_USE_QTKIT=1):!contains(DEFINES, WTF_USE_GSTREAMER=1):contains(DEFINES, WTF_USE_QT_MULTIMEDIA=1) {
108         HEADERS += $$PWD/qt/WebCoreSupport/FullScreenVideoWidget.h
109         SOURCES += $$PWD/qt/WebCoreSupport/FullScreenVideoWidget.cpp
110     }
111
112     contains(DEFINES, WTF_USE_QTKIT=1) | contains(DEFINES, WTF_USE_GSTREAMER=1) | contains(DEFINES, WTF_USE_QT_MULTIMEDIA=1) {
113         HEADERS += $$PWD/qt/WebCoreSupport/FullScreenVideoQt.h
114         SOURCES += $$PWD/qt/WebCoreSupport/FullScreenVideoQt.cpp
115     }
116
117     contains(DEFINES, WTF_USE_QTKIT=1) {
118         INCLUDEPATH += \
119             $$PWD/../WebCore/platform/qt/ \
120             $$PWD/../WebCore/platform/mac/ \
121             $$PWD/../../WebKitLibraries/
122
123         DEFINES += NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
124
125         contains(CONFIG, "x86") {
126             DEFINES+=NS_BUILD_32_LIKE_64
127         }
128
129         HEADERS += \
130             $$PWD/qt/WebCoreSupport/WebSystemInterface.h \
131             $$PWD/qt/WebCoreSupport/QTKitFullScreenVideoHandler.h
132
133         OBJECTIVE_SOURCES += \
134             $$PWD/qt/WebCoreSupport/WebSystemInterface.mm \
135             $$PWD/qt/WebCoreSupport/QTKitFullScreenVideoHandler.mm
136     }
137 }
138
139 contains(DEFINES, ENABLE_ICONDATABASE=1) {
140     HEADERS += \
141         $$PWD/../WebCore/loader/icon/IconDatabaseClient.h \
142         $$PWD/qt/WebCoreSupport/IconDatabaseClientQt.h
143
144     SOURCES += \
145         $$PWD/qt/WebCoreSupport/IconDatabaseClientQt.cpp
146 }
147
148 contains(DEFINES, ENABLE_GEOLOCATION=1) {
149      HEADERS += \
150         $$PWD/qt/WebCoreSupport/GeolocationClientQt.h
151      SOURCES += \
152         $$PWD/qt/WebCoreSupport/GeolocationClientQt.cpp
153 }
154
155