021356d4d477611500e764dd4fc6590a30a31e02
[WebKit-https.git] / WebKit2 / WebKit2.pro
1 # WebKit2 - Qt4 build info
2
3 CONFIG += building-libs
4 CONFIG += depend_includepath
5
6 include($$PWD/../WebKit.pri)
7 include($$PWD/../common.pri)
8 include($$PWD/../WebCore/features.pri)
9 include(WebKit2.pri)
10
11 TEMPLATE = lib
12 CONFIG += staticlib
13 TARGET = $$WEBKIT2_TARGET
14 DESTDIR = $$WEBKIT2_DESTDIR
15 QT += network
16
17 !CONFIG(release, debug|release) {
18     OBJECTS_DIR = obj/debug
19 } else { # Release
20     OBJECTS_DIR = obj/release
21     DEFINES += NDEBUG
22 }
23
24 INCLUDEPATH = \
25     $$PWD/.. \
26     $$PWD/../JavaScriptCore \
27     $$PWD/../JavaScriptCore/assembler \
28     $$PWD/../JavaScriptCore/bytecode \
29     $$PWD/../JavaScriptCore/bytecompiler \
30     $$PWD/../JavaScriptCore/debugger \
31     $$PWD/../JavaScriptCore/interpreter \
32     $$PWD/../JavaScriptCore/jit \
33     $$PWD/../JavaScriptCore/parser \
34     $$PWD/../JavaScriptCore/pcre \
35     $$PWD/../JavaScriptCore/profiler \
36     $$PWD/../JavaScriptCore/runtime \
37     $$PWD/../JavaScriptCore/wtf \
38     $$PWD/../JavaScriptCore/wtf/symbian \
39     $$PWD/../JavaScriptCore/wtf/unicode \
40     $$PWD/../JavaScriptCore/yarr \
41     $$PWD/../JavaScriptCore/API \
42     $$PWD/../JavaScriptCore/ForwardingHeaders \
43     $$INCLUDEPATH
44
45 INCLUDEPATH = \
46     $$PWD/../WebCore \
47     $$PWD/../WebCore/accessibility \
48     $$PWD/../WebCore/bindings \
49     $$PWD/../WebCore/bindings/generic \
50     $$PWD/../WebCore/bindings/js \
51     $$PWD/../WebCore/bridge \
52     $$PWD/../WebCore/bridge/c \
53     $$PWD/../WebCore/bridge/jsc \
54     $$PWD/../WebCore/css \
55     $$PWD/../WebCore/dom \
56     $$PWD/../WebCore/dom/default \
57     $$PWD/../WebCore/editing \
58     $$PWD/../WebCore/history \
59     $$PWD/../WebCore/html \
60     $$PWD/../WebCore/html/canvas \
61     $$PWD/../WebCore/inspector \
62     $$PWD/../WebCore/loader \
63     $$PWD/../WebCore/loader/appcache \
64     $$PWD/../WebCore/loader/archive \
65     $$PWD/../WebCore/loader/icon \
66     $$PWD/../WebCore/mathml \
67     $$PWD/../WebCore/notifications \
68     $$PWD/../WebCore/page \
69     $$PWD/../WebCore/page/animation \
70     $$PWD/../WebCore/platform \
71     $$PWD/../WebCore/platform/animation \
72     $$PWD/../WebCore/platform/graphics \
73     $$PWD/../WebCore/platform/graphics/filters \
74     $$PWD/../WebCore/platform/graphics/transforms \
75     $$PWD/../WebCore/platform/image-decoders \
76     $$PWD/../WebCore/platform/mock \
77     $$PWD/../WebCore/platform/network \
78     $$PWD/../WebCore/platform/sql \
79     $$PWD/../WebCore/platform/text \
80     $$PWD/../WebCore/platform/text/transcoder \
81     $$PWD/../WebCore/plugins \
82     $$PWD/../WebCore/rendering \
83     $$PWD/../WebCore/rendering/style \
84     $$PWD/../WebCore/storage \
85     $$PWD/../WebCore/svg \
86     $$PWD/../WebCore/svg/animation \
87     $$PWD/../WebCore/svg/graphics \
88     $$PWD/../WebCore/svg/graphics/filters \
89     $$PWD/../WebCore/websockets \
90     $$PWD/../WebCore/wml \
91     $$PWD/../WebCore/workers \
92     $$PWD/../WebCore/xml \
93     $$INCLUDEPATH
94
95 INCLUDEPATH = \
96     $$PWD/../WebCore/bridge/qt \
97     $$PWD/../WebCore/page/qt \
98     $$PWD/../WebCore/platform/graphics/qt \
99     $$PWD/../WebCore/platform/network/qt \
100     $$PWD/../WebCore/platform/qt \
101     $$PWD/../WebKit/qt/Api \
102     $$PWD/../WebKit/qt/WebCoreSupport \
103     $$INCLUDEPATH
104
105 INCLUDEPATH = \
106     Platform \
107     Platform/CoreIPC \
108     Shared \
109     Shared/API/c \
110     Shared/CoreIPCSupport \
111     Shared/qt \
112     UIProcess \
113     UIProcess/API/C \
114     UIProcess/API/cpp \
115     UIProcess/API/cpp/qt \
116     UIProcess/API/qt \
117     UIProcess/Launcher \
118     UIProcess/Plugins \
119     UIProcess/qt \
120     WebProcess \
121     WebProcess/InjectedBundle \
122     WebProcess/InjectedBundle/DOM \
123     WebProcess/InjectedBundle/API/c \
124     WebProcess/Plugins \
125     WebProcess/Plugins/Netscape \
126     WebProcess/WebCoreSupport \
127     WebProcess/WebCoreSupport/qt \
128     WebProcess/WebPage \
129     $$INCLUDEPATH
130
131 INCLUDEPATH += \
132     $$OUTPUT_DIR/include \
133     $$OUTPUT_DIR/WebCore/generated \
134     $$OUTPUT_DIR/WebKit2/generated
135
136
137 PREFIX_HEADER = $$PWD/../WebKit2/WebKit2Prefix.h
138 QMAKE_CXXFLAGS += "-include $$PREFIX_HEADER"
139
140 DEFINES += BUILDING_QT__
141
142 WEBKIT2_GENERATED_HEADERS = \
143     $$OUTPUT_DIR/WebKit2/generated/WebPageMessages.h \
144     $$OUTPUT_DIR/WebKit2/generated/WebProcessMessages.h
145
146 WEBKIT2_GENERATED_SOURCES = \
147     $$OUTPUT_DIR/WebKit2/generated/WebPageMessageReceiver.cpp \
148     $$OUTPUT_DIR/WebKit2/generated/WebProcessMessageReceiver.cpp
149
150 HEADERS += \
151     Platform/CoreIPC/ArgumentDecoder.h \
152     Platform/CoreIPC/ArgumentEncoder.h \
153     Platform/CoreIPC/Arguments.h \
154     Platform/CoreIPC/Attachment.h \
155     Platform/CoreIPC/Connection.h \
156     Platform/CoreIPC/CoreIPCMessageKinds.h \
157     Platform/CoreIPC/DataReference.h \
158     Platform/CoreIPC/HandleMessage.h \
159     Platform/CoreIPC/MessageID.h \
160     Platform/Module.h \
161     Platform/PlatformProcessIdentifier.h \
162     Platform/RunLoop.h \
163     Platform/SharedMemory.h \
164     Platform/WorkItem.h \
165     Platform/WorkQueue.h \
166     Shared/API/c/WKBase.h \
167     Shared/API/c/WKCertificateInfo.h \
168     Shared/API/c/WKNumber.h \
169     Shared/API/c/WKSerializedScriptValue.h \
170     Shared/API/c/WKSharedAPICast.h \
171     Shared/API/c/WKString.h \
172     Shared/API/c/WKStringPrivate.h \
173     Shared/API/c/WKType.h \
174     Shared/API/c/WKURL.h \
175     Shared/API/c/WKURLRequest.h \
176     Shared/API/c/WKURLResponse.h \
177     Shared/CoreIPCSupport/DrawingAreaMessageKinds.h \
178     Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h \
179     Shared/CoreIPCSupport/WebPageProxyMessageKinds.h \
180     Shared/CacheModel.h \
181     Shared/DrawingAreaBase.h \
182     Shared/ImmutableArray.h \
183     Shared/ImmutableDictionary.h \
184     Shared/MutableArray.h \
185     Shared/MutableDictionary.h \
186     Shared/NativeWebKeyboardEvent.h \
187     Shared/NotImplemented.h \
188     Shared/qt/MappedMemory.h \
189     Shared/qt/PlatformCertificateInfo.h \
190     Shared/qt/UpdateChunk.h \
191     Shared/qt/WebEventFactoryQt.h \
192     Shared/UserMessageCoders.h \
193     Shared/VisitedLinkTable.h \
194     Shared/WebCertificateInfo.h \
195     Shared/WebEvent.h \
196     Shared/WebEventConversion.h \
197     Shared/WebNavigationDataStore.h \
198     Shared/WebNumber.h \
199     Shared/WebPageCreationParameters.h \
200     Shared/WebProcessCreationParameters.h \
201     Shared/WebPreferencesStore.h \
202     Shared/WebURLRequest.h \
203     Shared/WebURLResponse.h \
204     UIProcess/API/C/WebKit2.h \
205     UIProcess/API/C/WKAPICast.h \
206     UIProcess/API/C/WKContext.h \
207     UIProcess/API/C/WKContextPrivate.h \
208     UIProcess/API/C/WKFrame.h \
209     UIProcess/API/C/WKFramePolicyListener.h \
210     UIProcess/API/C/WKNavigationData.h \
211     UIProcess/API/C/WKPage.h \
212     UIProcess/API/C/WKPageNamespace.h \
213     UIProcess/API/C/WKPagePrivate.h \
214     UIProcess/API/C/WKPreferences.h \
215     UIProcess/API/C/WKPreferencesPrivate.h \
216     UIProcess/API/C/qt/WKNativeEvent.h \
217     UIProcess/API/cpp/qt/WKStringQt.h \
218     UIProcess/API/cpp/qt/WKURLQt.h \
219     UIProcess/API/cpp/WKRetainPtr.h \
220     UIProcess/API/qt/qgraphicswkview.h \
221     UIProcess/API/qt/qwkpage.h \
222     UIProcess/API/qt/qwkpage_p.h \
223     UIProcess/API/qt/qwkpreferences.h \
224     UIProcess/ChunkedUpdateDrawingAreaProxy.h \
225     UIProcess/DrawingAreaProxy.h \
226     UIProcess/GenericCallback.h \
227     UIProcess/Launcher/ProcessLauncher.h \
228     UIProcess/Launcher/ThreadLauncher.h \
229     UIProcess/Plugins/PluginInfoStore.h \
230     UIProcess/PageClient.h \
231     UIProcess/ProcessModel.h \
232     UIProcess/API/qt/ClientImpl.h \
233     UIProcess/ResponsivenessTimer.h \
234     UIProcess/VisitedLinkProvider.h \
235     UIProcess/WebContext.h \
236     UIProcess/WebContextInjectedBundleClient.h \
237     UIProcess/WebContextUserMessageCoders.h \
238     UIProcess/WebEditCommandProxy.h \
239     UIProcess/WebFormClient.h \
240     UIProcess/WebFormSubmissionListenerProxy.h \
241     UIProcess/WebFrameListenerProxy.h \
242     UIProcess/WebFramePolicyListenerProxy.h \
243     UIProcess/WebFrameProxy.h \
244     UIProcess/WebHistoryClient.h \
245     UIProcess/WebLoaderClient.h \
246     UIProcess/WebNavigationData.h \
247     UIProcess/WebPageNamespace.h \
248     UIProcess/WebPageProxy.h \
249     UIProcess/WebPolicyClient.h \
250     UIProcess/WebPreferences.h \
251     UIProcess/WebProcessManager.h \
252     UIProcess/WebProcessProxy.h \
253     UIProcess/WebUIClient.h \
254     WebProcess/InjectedBundle/API/c/WKBundlePage.h \
255     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h \
256     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h \
257     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h \
258     WebProcess/InjectedBundle/InjectedBundle.h \
259     WebProcess/InjectedBundle/InjectedBundleHitTestResult.h \
260     WebProcess/InjectedBundle/InjectedBundlePageFormClient.h \
261     WebProcess/InjectedBundle/InjectedBundlePageUIClient.h \
262     WebProcess/InjectedBundle/InjectedBundleScriptWorld.h \
263     WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h \
264     WebProcess/Plugins/JSNPObject.h \
265     WebProcess/Plugins/JSNPMethod.h \
266     WebProcess/Plugins/NPJSObject.h \
267     WebProcess/Plugins/NPRuntimeObjectMap.h \
268     WebProcess/Plugins/NPRuntimeUtilities.h \
269     WebProcess/Plugins/Plugin.h \
270     WebProcess/Plugins/PluginController.h \
271     WebProcess/Plugins/PluginView.h \
272     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp \
273     WebProcess/Plugins/Netscape/NetscapePlugin.h \
274     WebProcess/Plugins/Netscape/NetscapePluginModule.h \
275     WebProcess/Plugins/Netscape/NetscapePluginStream.h \
276     WebProcess/WebCoreSupport/WebChromeClient.h \
277     WebProcess/WebCoreSupport/WebContextMenuClient.h \
278     WebProcess/WebCoreSupport/WebDragClient.h \
279     WebProcess/WebCoreSupport/WebEditorClient.h \
280     WebProcess/WebCoreSupport/WebErrors.h \
281     WebProcess/WebCoreSupport/WebFrameLoaderClient.h \
282     WebProcess/WebCoreSupport/WebInspectorClient.h \
283     WebProcess/WebCoreSupport/WebPopupMenu.h \
284     WebProcess/WebCoreSupport/WebSearchPopupMenu.h \
285     WebProcess/WebCoreSupport/WebPlatformStrategies.h \
286     WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h \
287     WebProcess/WebPage/ChunkedUpdateDrawingArea.h \
288     WebProcess/WebPage/DrawingArea.h \
289     WebProcess/WebPage/WebEditCommand.h \
290     WebProcess/WebPage/WebFrame.h \
291     WebProcess/WebPage/WebPage.h \
292     WebProcess/WebProcess.h \
293     $$WEBKIT2_GENERATED_HEADERS
294
295 SOURCES += \
296     Platform/CoreIPC/ArgumentDecoder.cpp \
297     Platform/CoreIPC/ArgumentEncoder.cpp \
298     Platform/CoreIPC/Attachment.cpp \
299     Platform/CoreIPC/Connection.cpp \
300     Platform/CoreIPC/DataReference.cpp \
301     Platform/CoreIPC/qt/ConnectionQt.cpp \
302     Platform/Module.cpp \
303     Platform/RunLoop.cpp \
304     Platform/WorkQueue.cpp \
305     Platform/qt/ModuleQt.cpp \
306     Platform/qt/RunLoopQt.cpp \
307     Platform/qt/SharedMemoryQt.cpp \
308     Platform/qt/WorkQueueQt.cpp \
309     Shared/API/c/WKCertificateInfo.cpp \
310     Shared/API/c/WKNumber.cpp \
311     Shared/API/c/WKSerializedScriptValue.cpp \
312     Shared/API/c/WKString.cpp \
313     Shared/API/c/WKType.cpp \
314     Shared/API/c/WKURL.cpp \
315     Shared/API/c/WKURLRequest.cpp \
316     Shared/API/c/WKURLResponse.cpp \
317     Shared/ImmutableArray.cpp \
318     Shared/ImmutableDictionary.cpp \
319     Shared/MutableArray.cpp \
320     Shared/MutableDictionary.cpp \
321     Shared/qt/MappedMemoryPool.cpp \
322     Shared/qt/NativeWebKeyboardEventQt.cpp \
323     Shared/qt/UpdateChunk.cpp \
324     Shared/qt/WebCoreArgumentCodersQt.cpp \
325     Shared/qt/WebEventFactoryQt.cpp \
326     Shared/qt/WebURLRequestQt.cpp \
327     Shared/qt/WebURLResponseQt.cpp \
328     Shared/VisitedLinkTable.cpp \
329     Shared/WebEventConversion.cpp \
330     Shared/WebPageCreationParameters.cpp \
331     Shared/WebProcessCreationParameters.cpp \
332     Shared/WebPreferencesStore.cpp \
333     Shared/WebURLRequest.cpp \
334     Shared/WebURLResponse.cpp \
335     UIProcess/API/C/WKContext.cpp \
336     UIProcess/API/C/WKFrame.cpp \
337     UIProcess/API/C/WKFramePolicyListener.cpp \
338     UIProcess/API/C/WKNavigationData.cpp \
339     UIProcess/API/C/WKPage.cpp \
340     UIProcess/API/C/WKPageNamespace.cpp \
341     UIProcess/API/C/WKPreferences.cpp \
342     UIProcess/API/C/WKPreferencesPrivate.cpp \
343     UIProcess/API/qt/ClientImpl.cpp \
344     UIProcess/API/qt/qgraphicswkview.cpp \
345     UIProcess/API/qt/qwkpage.cpp \
346     UIProcess/API/qt/qwkpreferences.cpp \
347     UIProcess/API/cpp/qt/WKStringQt.cpp \
348     UIProcess/API/cpp/qt/WKURLQt.cpp \
349     UIProcess/ChunkedUpdateDrawingAreaProxy.cpp \
350     UIProcess/DrawingAreaProxy.cpp \
351     UIProcess/Plugins/PluginInfoStore.cpp \
352     UIProcess/Plugins/qt/PluginInfoStoreQt.cpp \
353     UIProcess/Launcher/ProcessLauncher.cpp \
354     UIProcess/Launcher/ThreadLauncher.cpp \
355     UIProcess/Launcher/qt/ProcessLauncherQt.cpp \
356     UIProcess/Launcher/qt/ThreadLauncherQt.cpp \
357     UIProcess/ResponsivenessTimer.cpp \
358     UIProcess/VisitedLinkProvider.cpp \
359     UIProcess/WebBackForwardList.cpp \
360     UIProcess/WebBackForwardListItem.cpp \
361     UIProcess/WebContext.cpp \
362     UIProcess/WebContextInjectedBundleClient.cpp \
363     UIProcess/WebEditCommandProxy.cpp \
364     UIProcess/WebFormClient.cpp \
365     UIProcess/WebFormSubmissionListenerProxy.cpp \
366     UIProcess/WebFrameListenerProxy.cpp \
367     UIProcess/WebFramePolicyListenerProxy.cpp \
368     UIProcess/WebFrameProxy.cpp \
369     UIProcess/WebHistoryClient.cpp \
370     UIProcess/WebLoaderClient.cpp \
371     UIProcess/WebNavigationData.cpp \
372     UIProcess/WebPageNamespace.cpp \
373     UIProcess/WebPageProxy.cpp \
374     UIProcess/WebPolicyClient.cpp \
375     UIProcess/WebPreferences.cpp \
376     UIProcess/WebProcessManager.cpp \
377     UIProcess/WebProcessProxy.cpp \
378     UIProcess/WebUIClient.cpp \
379     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp \
380     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp \
381     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp \
382     WebProcess/InjectedBundle/InjectedBundle.cpp \
383     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp \
384     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp \
385     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp \
386     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp \
387     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp \
388     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp \
389     WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp \
390     WebProcess/Plugins/JSNPObject.cpp \
391     WebProcess/Plugins/JSNPMethod.cpp \
392     WebProcess/Plugins/NPJSObject.cpp \
393     WebProcess/Plugins/NPRuntimeObjectMap.cpp \
394     WebProcess/Plugins/NPRuntimeUtilities.cpp \
395     WebProcess/Plugins/Plugin.cpp \
396     WebProcess/Plugins/PluginView.cpp \
397     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp \
398     WebProcess/Plugins/Netscape/NetscapePlugin.cpp \
399     WebProcess/Plugins/Netscape/NetscapePluginModule.cpp \
400     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp \
401     WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp \
402     WebProcess/WebCoreSupport/WebChromeClient.cpp \
403     WebProcess/WebCoreSupport/WebContextMenuClient.cpp \
404     WebProcess/WebCoreSupport/WebDragClient.cpp \
405     WebProcess/WebCoreSupport/WebEditorClient.cpp \
406     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp \
407     WebProcess/WebCoreSupport/WebInspectorClient.cpp \
408     WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp \
409     WebProcess/WebCoreSupport/WebPopupMenu.cpp \
410     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp \
411     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp \
412     WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp \
413     WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp \
414     WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp \
415     WebProcess/WebPage/DrawingArea.cpp \
416     WebProcess/WebPage/WebEditCommand.cpp \
417     WebProcess/WebPage/WebFrame.cpp \
418     WebProcess/WebPage/WebPage.cpp \
419     WebProcess/WebPage/WebBackForwardListProxy.cpp \
420     WebProcess/WebPage/qt/ChunkedUpdateDrawingAreaQt.cpp \
421     WebProcess/WebPage/qt/WebPageQt.cpp \
422     WebProcess/WebProcess.cpp \
423     UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp \
424     UIProcess/qt/WebContextQt.cpp \
425     WebProcess/qt/WebProcessMainQt.cpp \
426     WebProcess/qt/WebProcessQt.cpp \
427     $$WEBKIT2_GENERATED_SOURCES